AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateDomainRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/SingleSignOn.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace DataZone {
20namespace Model {
21
25 public:
26 AWS_DATAZONE_API UpdateDomainRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
42 inline const Aws::String& GetIdentifier() const { return m_identifier; }
43 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
44 template <typename IdentifierT = Aws::String>
45 void SetIdentifier(IdentifierT&& value) {
46 m_identifierHasBeenSet = true;
47 m_identifier = std::forward<IdentifierT>(value);
48 }
49 template <typename IdentifierT = Aws::String>
50 UpdateDomainRequest& WithIdentifier(IdentifierT&& value) {
51 SetIdentifier(std::forward<IdentifierT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetDescription() const { return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 template <typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) {
65 m_descriptionHasBeenSet = true;
66 m_description = std::forward<DescriptionT>(value);
67 }
68 template <typename DescriptionT = Aws::String>
69 UpdateDomainRequest& WithDescription(DescriptionT&& value) {
70 SetDescription(std::forward<DescriptionT>(value));
71 return *this;
72 }
74
76
80 inline const SingleSignOn& GetSingleSignOn() const { return m_singleSignOn; }
81 inline bool SingleSignOnHasBeenSet() const { return m_singleSignOnHasBeenSet; }
82 template <typename SingleSignOnT = SingleSignOn>
83 void SetSingleSignOn(SingleSignOnT&& value) {
84 m_singleSignOnHasBeenSet = true;
85 m_singleSignOn = std::forward<SingleSignOnT>(value);
86 }
87 template <typename SingleSignOnT = SingleSignOn>
88 UpdateDomainRequest& WithSingleSignOn(SingleSignOnT&& value) {
89 SetSingleSignOn(std::forward<SingleSignOnT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetDomainExecutionRole() const { return m_domainExecutionRole; }
100 inline bool DomainExecutionRoleHasBeenSet() const { return m_domainExecutionRoleHasBeenSet; }
101 template <typename DomainExecutionRoleT = Aws::String>
102 void SetDomainExecutionRole(DomainExecutionRoleT&& value) {
103 m_domainExecutionRoleHasBeenSet = true;
104 m_domainExecutionRole = std::forward<DomainExecutionRoleT>(value);
105 }
106 template <typename DomainExecutionRoleT = Aws::String>
107 UpdateDomainRequest& WithDomainExecutionRole(DomainExecutionRoleT&& value) {
108 SetDomainExecutionRole(std::forward<DomainExecutionRoleT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
118 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
119 template <typename ServiceRoleT = Aws::String>
120 void SetServiceRole(ServiceRoleT&& value) {
121 m_serviceRoleHasBeenSet = true;
122 m_serviceRole = std::forward<ServiceRoleT>(value);
123 }
124 template <typename ServiceRoleT = Aws::String>
125 UpdateDomainRequest& WithServiceRole(ServiceRoleT&& value) {
126 SetServiceRole(std::forward<ServiceRoleT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetName() const { return m_name; }
136 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
137 template <typename NameT = Aws::String>
138 void SetName(NameT&& value) {
139 m_nameHasBeenSet = true;
140 m_name = std::forward<NameT>(value);
141 }
142 template <typename NameT = Aws::String>
144 SetName(std::forward<NameT>(value));
145 return *this;
146 }
148
150
154 inline const Aws::String& GetClientToken() const { return m_clientToken; }
155 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
156 template <typename ClientTokenT = Aws::String>
157 void SetClientToken(ClientTokenT&& value) {
158 m_clientTokenHasBeenSet = true;
159 m_clientToken = std::forward<ClientTokenT>(value);
160 }
161 template <typename ClientTokenT = Aws::String>
162 UpdateDomainRequest& WithClientToken(ClientTokenT&& value) {
163 SetClientToken(std::forward<ClientTokenT>(value));
164 return *this;
165 }
167 private:
168 Aws::String m_identifier;
169
170 Aws::String m_description;
171
172 SingleSignOn m_singleSignOn;
173
174 Aws::String m_domainExecutionRole;
175
176 Aws::String m_serviceRole;
177
178 Aws::String m_name;
179
181 bool m_identifierHasBeenSet = false;
182 bool m_descriptionHasBeenSet = false;
183 bool m_singleSignOnHasBeenSet = false;
184 bool m_domainExecutionRoleHasBeenSet = false;
185 bool m_serviceRoleHasBeenSet = false;
186 bool m_nameHasBeenSet = false;
187 bool m_clientTokenHasBeenSet = true;
188};
189
190} // namespace Model
191} // namespace DataZone
192} // namespace Aws
UpdateDomainRequest & WithDomainExecutionRole(DomainExecutionRoleT &&value)
void SetDomainExecutionRole(DomainExecutionRoleT &&value)
UpdateDomainRequest & WithDescription(DescriptionT &&value)
UpdateDomainRequest & WithServiceRole(ServiceRoleT &&value)
UpdateDomainRequest & WithSingleSignOn(SingleSignOnT &&value)
UpdateDomainRequest & WithName(NameT &&value)
AWS_DATAZONE_API UpdateDomainRequest()=default
const Aws::String & GetDomainExecutionRole() const
const SingleSignOn & GetSingleSignOn() const
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateDomainRequest & WithClientToken(ClientTokenT &&value)
UpdateDomainRequest & WithIdentifier(IdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String