AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/SingleSignOn.h>
11#include <aws/datazone/model/DomainStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DATAZONE_API GetDomainResult();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline GetDomainResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline GetDomainResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline GetDomainResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
57 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
58 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
59 inline GetDomainResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
60 inline GetDomainResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline void SetDescription(const Aws::String& value) { m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_description.assign(value); }
71 inline GetDomainResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline GetDomainResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline GetDomainResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
81 inline const Aws::String& GetDomainExecutionRole() const{ return m_domainExecutionRole; }
82 inline void SetDomainExecutionRole(const Aws::String& value) { m_domainExecutionRole = value; }
83 inline void SetDomainExecutionRole(Aws::String&& value) { m_domainExecutionRole = std::move(value); }
84 inline void SetDomainExecutionRole(const char* value) { m_domainExecutionRole.assign(value); }
85 inline GetDomainResult& WithDomainExecutionRole(const Aws::String& value) { SetDomainExecutionRole(value); return *this;}
86 inline GetDomainResult& WithDomainExecutionRole(Aws::String&& value) { SetDomainExecutionRole(std::move(value)); return *this;}
87 inline GetDomainResult& WithDomainExecutionRole(const char* value) { SetDomainExecutionRole(value); return *this;}
89
91
94 inline const Aws::String& GetId() const{ return m_id; }
95 inline void SetId(const Aws::String& value) { m_id = value; }
96 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
97 inline void SetId(const char* value) { m_id.assign(value); }
98 inline GetDomainResult& WithId(const Aws::String& value) { SetId(value); return *this;}
99 inline GetDomainResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
100 inline GetDomainResult& WithId(const char* value) { SetId(value); return *this;}
102
104
109 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
110 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
111 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
112 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
113 inline GetDomainResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
114 inline GetDomainResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
115 inline GetDomainResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
123 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
124 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
125 inline GetDomainResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
126 inline GetDomainResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
128
130
133 inline const Aws::String& GetName() const{ return m_name; }
134 inline void SetName(const Aws::String& value) { m_name = value; }
135 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
136 inline void SetName(const char* value) { m_name.assign(value); }
137 inline GetDomainResult& WithName(const Aws::String& value) { SetName(value); return *this;}
138 inline GetDomainResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
139 inline GetDomainResult& WithName(const char* value) { SetName(value); return *this;}
141
143
146 inline const Aws::String& GetPortalUrl() const{ return m_portalUrl; }
147 inline void SetPortalUrl(const Aws::String& value) { m_portalUrl = value; }
148 inline void SetPortalUrl(Aws::String&& value) { m_portalUrl = std::move(value); }
149 inline void SetPortalUrl(const char* value) { m_portalUrl.assign(value); }
150 inline GetDomainResult& WithPortalUrl(const Aws::String& value) { SetPortalUrl(value); return *this;}
151 inline GetDomainResult& WithPortalUrl(Aws::String&& value) { SetPortalUrl(std::move(value)); return *this;}
152 inline GetDomainResult& WithPortalUrl(const char* value) { SetPortalUrl(value); return *this;}
154
156
159 inline const Aws::String& GetRootDomainUnitId() const{ return m_rootDomainUnitId; }
160 inline void SetRootDomainUnitId(const Aws::String& value) { m_rootDomainUnitId = value; }
161 inline void SetRootDomainUnitId(Aws::String&& value) { m_rootDomainUnitId = std::move(value); }
162 inline void SetRootDomainUnitId(const char* value) { m_rootDomainUnitId.assign(value); }
163 inline GetDomainResult& WithRootDomainUnitId(const Aws::String& value) { SetRootDomainUnitId(value); return *this;}
164 inline GetDomainResult& WithRootDomainUnitId(Aws::String&& value) { SetRootDomainUnitId(std::move(value)); return *this;}
165 inline GetDomainResult& WithRootDomainUnitId(const char* value) { SetRootDomainUnitId(value); return *this;}
167
169
172 inline const SingleSignOn& GetSingleSignOn() const{ return m_singleSignOn; }
173 inline void SetSingleSignOn(const SingleSignOn& value) { m_singleSignOn = value; }
174 inline void SetSingleSignOn(SingleSignOn&& value) { m_singleSignOn = std::move(value); }
175 inline GetDomainResult& WithSingleSignOn(const SingleSignOn& value) { SetSingleSignOn(value); return *this;}
176 inline GetDomainResult& WithSingleSignOn(SingleSignOn&& value) { SetSingleSignOn(std::move(value)); return *this;}
178
180
183 inline const DomainStatus& GetStatus() const{ return m_status; }
184 inline void SetStatus(const DomainStatus& value) { m_status = value; }
185 inline void SetStatus(DomainStatus&& value) { m_status = std::move(value); }
186 inline GetDomainResult& WithStatus(const DomainStatus& value) { SetStatus(value); return *this;}
187 inline GetDomainResult& WithStatus(DomainStatus&& value) { SetStatus(std::move(value)); return *this;}
189
191
194 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
195 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
196 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
197 inline GetDomainResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
198 inline GetDomainResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
199 inline GetDomainResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
200 inline GetDomainResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
201 inline GetDomainResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
202 inline GetDomainResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
203 inline GetDomainResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
204 inline GetDomainResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
205 inline GetDomainResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
207
209
210 inline const Aws::String& GetRequestId() const{ return m_requestId; }
211 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
212 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
213 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
214 inline GetDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
215 inline GetDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
216 inline GetDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
218 private:
219
220 Aws::String m_arn;
221
222 Aws::Utils::DateTime m_createdAt;
223
224 Aws::String m_description;
225
226 Aws::String m_domainExecutionRole;
227
228 Aws::String m_id;
229
230 Aws::String m_kmsKeyIdentifier;
231
232 Aws::Utils::DateTime m_lastUpdatedAt;
233
234 Aws::String m_name;
235
236 Aws::String m_portalUrl;
237
238 Aws::String m_rootDomainUnitId;
239
240 SingleSignOn m_singleSignOn;
241
242 DomainStatus m_status;
243
245
246 Aws::String m_requestId;
247 };
248
249} // namespace Model
250} // namespace DataZone
251} // namespace Aws
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDomainResult & WithDescription(Aws::String &&value)
void SetSingleSignOn(SingleSignOn &&value)
AWS_DATAZONE_API GetDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainResult & WithKmsKeyIdentifier(const Aws::String &value)
void SetKmsKeyIdentifier(Aws::String &&value)
const Aws::String & GetDomainExecutionRole() const
GetDomainResult & WithRootDomainUnitId(const char *value)
GetDomainResult & WithDescription(const Aws::String &value)
GetDomainResult & WithSingleSignOn(const SingleSignOn &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetDomainResult & WithPortalUrl(const char *value)
GetDomainResult & AddTags(const char *key, const char *value)
GetDomainResult & WithArn(const Aws::String &value)
void SetSingleSignOn(const SingleSignOn &value)
void SetDescription(Aws::String &&value)
void SetRootDomainUnitId(const Aws::String &value)
GetDomainResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
GetDomainResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetDomainExecutionRole(const char *value)
GetDomainResult & WithPortalUrl(const Aws::String &value)
GetDomainResult & WithId(const char *value)
const Aws::String & GetName() const
GetDomainResult & AddTags(const Aws::String &key, const Aws::String &value)
GetDomainResult & WithPortalUrl(Aws::String &&value)
GetDomainResult & WithId(Aws::String &&value)
GetDomainResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRootDomainUnitId() const
void SetDescription(const char *value)
void SetRootDomainUnitId(const char *value)
GetDomainResult & WithRootDomainUnitId(Aws::String &&value)
GetDomainResult & AddTags(const char *key, Aws::String &&value)
void SetId(const Aws::String &value)
void SetRootDomainUnitId(Aws::String &&value)
GetDomainResult & WithName(Aws::String &&value)
const Aws::String & GetId() const
void SetKmsKeyIdentifier(const Aws::String &value)
GetDomainResult & WithKmsKeyIdentifier(Aws::String &&value)
GetDomainResult & WithStatus(DomainStatus &&value)
GetDomainResult & WithId(const Aws::String &value)
GetDomainResult & WithDomainExecutionRole(const Aws::String &value)
GetDomainResult & WithStatus(const DomainStatus &value)
void SetDomainExecutionRole(Aws::String &&value)
void SetStatus(const DomainStatus &value)
GetDomainResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetStatus(DomainStatus &&value)
const SingleSignOn & GetSingleSignOn() const
GetDomainResult & WithRequestId(const char *value)
GetDomainResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetDomainResult & WithDomainExecutionRole(Aws::String &&value)
void SetRequestId(Aws::String &&value)
GetDomainResult & WithSingleSignOn(SingleSignOn &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetDomainResult & WithRootDomainUnitId(const Aws::String &value)
GetDomainResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetDomainResult & WithArn(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
GetDomainResult & WithKmsKeyIdentifier(const char *value)
GetDomainResult & WithDescription(const char *value)
void SetPortalUrl(const Aws::String &value)
GetDomainResult & WithRequestId(const Aws::String &value)
void SetDomainExecutionRole(const Aws::String &value)
const Aws::String & GetArn() const
GetDomainResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetRequestId() const
void SetArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
GetDomainResult & AddTags(Aws::String &&key, const char *value)
AWS_DATAZONE_API GetDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetKmsKeyIdentifier() const
GetDomainResult & WithArn(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetPortalUrl(Aws::String &&value)
GetDomainResult & WithName(const char *value)
const Aws::String & GetPortalUrl() const
GetDomainResult & WithName(const Aws::String &value)
GetDomainResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetKmsKeyIdentifier(const char *value)
GetDomainResult & AddTags(Aws::String &&key, Aws::String &&value)
GetDomainResult & WithDomainExecutionRole(const char *value)
const DomainStatus & GetStatus() const
GetDomainResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const Aws::String &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