AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetDomainResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/datazone/model/DomainVersion.h>
11#include <aws/datazone/model/SingleSignOn.h>
12#include <aws/datazone/model/DomainStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DATAZONE_API GetDomainResult() = default;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 GetDomainResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
56 template<typename CreatedAtT = Aws::Utils::DateTime>
57 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
58 template<typename CreatedAtT = Aws::Utils::DateTime>
59 GetDomainResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 GetDomainResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
78 inline const Aws::String& GetDomainExecutionRole() const { return m_domainExecutionRole; }
79 template<typename DomainExecutionRoleT = Aws::String>
80 void SetDomainExecutionRole(DomainExecutionRoleT&& value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole = std::forward<DomainExecutionRoleT>(value); }
81 template<typename DomainExecutionRoleT = Aws::String>
82 GetDomainResult& WithDomainExecutionRole(DomainExecutionRoleT&& value) { SetDomainExecutionRole(std::forward<DomainExecutionRoleT>(value)); return *this;}
84
86
89 inline DomainVersion GetDomainVersion() const { return m_domainVersion; }
90 inline void SetDomainVersion(DomainVersion value) { m_domainVersionHasBeenSet = true; m_domainVersion = value; }
91 inline GetDomainResult& WithDomainVersion(DomainVersion value) { SetDomainVersion(value); return *this;}
93
95
98 inline const Aws::String& GetId() const { return m_id; }
99 template<typename IdT = Aws::String>
100 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
101 template<typename IdT = Aws::String>
102 GetDomainResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
104
106
111 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
112 template<typename KmsKeyIdentifierT = Aws::String>
113 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
114 template<typename KmsKeyIdentifierT = Aws::String>
115 GetDomainResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
123 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
124 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
125 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
126 GetDomainResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
128
130
133 inline const Aws::String& GetName() const { return m_name; }
134 template<typename NameT = Aws::String>
135 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
136 template<typename NameT = Aws::String>
137 GetDomainResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
139
141
144 inline const Aws::String& GetPortalUrl() const { return m_portalUrl; }
145 template<typename PortalUrlT = Aws::String>
146 void SetPortalUrl(PortalUrlT&& value) { m_portalUrlHasBeenSet = true; m_portalUrl = std::forward<PortalUrlT>(value); }
147 template<typename PortalUrlT = Aws::String>
148 GetDomainResult& WithPortalUrl(PortalUrlT&& value) { SetPortalUrl(std::forward<PortalUrlT>(value)); return *this;}
150
152
155 inline const Aws::String& GetRootDomainUnitId() const { return m_rootDomainUnitId; }
156 template<typename RootDomainUnitIdT = Aws::String>
157 void SetRootDomainUnitId(RootDomainUnitIdT&& value) { m_rootDomainUnitIdHasBeenSet = true; m_rootDomainUnitId = std::forward<RootDomainUnitIdT>(value); }
158 template<typename RootDomainUnitIdT = Aws::String>
159 GetDomainResult& WithRootDomainUnitId(RootDomainUnitIdT&& value) { SetRootDomainUnitId(std::forward<RootDomainUnitIdT>(value)); return *this;}
161
163
166 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
167 template<typename ServiceRoleT = Aws::String>
168 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
169 template<typename ServiceRoleT = Aws::String>
170 GetDomainResult& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
172
174
177 inline const SingleSignOn& GetSingleSignOn() const { return m_singleSignOn; }
178 template<typename SingleSignOnT = SingleSignOn>
179 void SetSingleSignOn(SingleSignOnT&& value) { m_singleSignOnHasBeenSet = true; m_singleSignOn = std::forward<SingleSignOnT>(value); }
180 template<typename SingleSignOnT = SingleSignOn>
181 GetDomainResult& WithSingleSignOn(SingleSignOnT&& value) { SetSingleSignOn(std::forward<SingleSignOnT>(value)); return *this;}
183
185
188 inline DomainStatus GetStatus() const { return m_status; }
189 inline void SetStatus(DomainStatus value) { m_statusHasBeenSet = true; m_status = value; }
190 inline GetDomainResult& WithStatus(DomainStatus value) { SetStatus(value); return *this;}
192
194
197 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
198 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
199 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
200 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
201 GetDomainResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
202 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
203 GetDomainResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
204 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
205 }
207
209
210 inline const Aws::String& GetRequestId() const { return m_requestId; }
211 template<typename RequestIdT = Aws::String>
212 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
213 template<typename RequestIdT = Aws::String>
214 GetDomainResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
216 private:
217
218 Aws::String m_arn;
219 bool m_arnHasBeenSet = false;
220
221 Aws::Utils::DateTime m_createdAt{};
222 bool m_createdAtHasBeenSet = false;
223
224 Aws::String m_description;
225 bool m_descriptionHasBeenSet = false;
226
227 Aws::String m_domainExecutionRole;
228 bool m_domainExecutionRoleHasBeenSet = false;
229
230 DomainVersion m_domainVersion{DomainVersion::NOT_SET};
231 bool m_domainVersionHasBeenSet = false;
232
233 Aws::String m_id;
234 bool m_idHasBeenSet = false;
235
236 Aws::String m_kmsKeyIdentifier;
237 bool m_kmsKeyIdentifierHasBeenSet = false;
238
239 Aws::Utils::DateTime m_lastUpdatedAt{};
240 bool m_lastUpdatedAtHasBeenSet = false;
241
242 Aws::String m_name;
243 bool m_nameHasBeenSet = false;
244
245 Aws::String m_portalUrl;
246 bool m_portalUrlHasBeenSet = false;
247
248 Aws::String m_rootDomainUnitId;
249 bool m_rootDomainUnitIdHasBeenSet = false;
250
251 Aws::String m_serviceRole;
252 bool m_serviceRoleHasBeenSet = false;
253
254 SingleSignOn m_singleSignOn;
255 bool m_singleSignOnHasBeenSet = false;
256
258 bool m_statusHasBeenSet = false;
259
261 bool m_tagsHasBeenSet = false;
262
263 Aws::String m_requestId;
264 bool m_requestIdHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace DataZone
269} // namespace Aws
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DATAZONE_API GetDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
AWS_DATAZONE_API GetDomainResult()=default
void SetRequestId(RequestIdT &&value)
const Aws::String & GetDomainExecutionRole() const
void SetCreatedAt(CreatedAtT &&value)
GetDomainResult & WithTags(TagsT &&value)
GetDomainResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetDomainResult & WithPortalUrl(PortalUrlT &&value)
GetDomainResult & WithRequestId(RequestIdT &&value)
GetDomainResult & WithDomainVersion(DomainVersion value)
void SetRootDomainUnitId(RootDomainUnitIdT &&value)
GetDomainResult & WithName(NameT &&value)
void SetDomainExecutionRole(DomainExecutionRoleT &&value)
void SetServiceRole(ServiceRoleT &&value)
const Aws::String & GetName() const
GetDomainResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetRootDomainUnitId() const
const Aws::String & GetId() const
void SetDomainVersion(DomainVersion value)
GetDomainResult & WithCreatedAt(CreatedAtT &&value)
void SetSingleSignOn(SingleSignOnT &&value)
void SetPortalUrl(PortalUrlT &&value)
GetDomainResult & WithDescription(DescriptionT &&value)
const SingleSignOn & GetSingleSignOn() const
GetDomainResult & WithSingleSignOn(SingleSignOnT &&value)
GetDomainResult & WithStatus(DomainStatus value)
GetDomainResult & WithRootDomainUnitId(RootDomainUnitIdT &&value)
const Aws::String & GetDescription() const
GetDomainResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetDomainResult & WithDomainExecutionRole(DomainExecutionRoleT &&value)
const Aws::String & GetArn() const
const Aws::String & GetRequestId() const
GetDomainResult & WithId(IdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetServiceRole() const
GetDomainResult & WithArn(ArnT &&value)
AWS_DATAZONE_API GetDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetKmsKeyIdentifier() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetPortalUrl() const
GetDomainResult & WithServiceRole(ServiceRoleT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue