AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ServiceNowServiceDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/ServiceNowServiceAuthorizationConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API ServiceNowServiceDetails() = default;
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetInstanceUrl() const { return m_instanceUrl; }
41 inline bool InstanceUrlHasBeenSet() const { return m_instanceUrlHasBeenSet; }
42 template <typename InstanceUrlT = Aws::String>
43 void SetInstanceUrl(InstanceUrlT&& value) {
44 m_instanceUrlHasBeenSet = true;
45 m_instanceUrl = std::forward<InstanceUrlT>(value);
46 }
47 template <typename InstanceUrlT = Aws::String>
49 SetInstanceUrl(std::forward<InstanceUrlT>(value));
50 return *this;
51 }
53
55
59 inline const ServiceNowServiceAuthorizationConfig& GetAuthorizationConfig() const { return m_authorizationConfig; }
60 inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
61 template <typename AuthorizationConfigT = ServiceNowServiceAuthorizationConfig>
62 void SetAuthorizationConfig(AuthorizationConfigT&& value) {
63 m_authorizationConfigHasBeenSet = true;
64 m_authorizationConfig = std::forward<AuthorizationConfigT>(value);
65 }
66 template <typename AuthorizationConfigT = ServiceNowServiceAuthorizationConfig>
67 ServiceNowServiceDetails& WithAuthorizationConfig(AuthorizationConfigT&& value) {
68 SetAuthorizationConfig(std::forward<AuthorizationConfigT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_instanceUrl;
74
75 ServiceNowServiceAuthorizationConfig m_authorizationConfig;
76 bool m_instanceUrlHasBeenSet = false;
77 bool m_authorizationConfigHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace DevOpsAgent
82} // namespace Aws
const ServiceNowServiceAuthorizationConfig & GetAuthorizationConfig() const
ServiceNowServiceDetails & WithInstanceUrl(InstanceUrlT &&value)
AWS_DEVOPSAGENT_API ServiceNowServiceDetails()=default
AWS_DEVOPSAGENT_API ServiceNowServiceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNowServiceDetails & WithAuthorizationConfig(AuthorizationConfigT &&value)
AWS_DEVOPSAGENT_API ServiceNowServiceDetails(Aws::Utils::Json::JsonView jsonValue)
void SetAuthorizationConfig(AuthorizationConfigT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue