AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/SingleSignOn.h>
10#include <aws/datazone/model/DomainStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API CreateDomainResult();
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline CreateDomainResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline CreateDomainResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline CreateDomainResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline void SetDescription(const Aws::String& value) { m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_description.assign(value); }
59 inline CreateDomainResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline CreateDomainResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline CreateDomainResult& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
70 inline const Aws::String& GetDomainExecutionRole() const{ return m_domainExecutionRole; }
71 inline void SetDomainExecutionRole(const Aws::String& value) { m_domainExecutionRole = value; }
72 inline void SetDomainExecutionRole(Aws::String&& value) { m_domainExecutionRole = std::move(value); }
73 inline void SetDomainExecutionRole(const char* value) { m_domainExecutionRole.assign(value); }
75 inline CreateDomainResult& WithDomainExecutionRole(Aws::String&& value) { SetDomainExecutionRole(std::move(value)); return *this;}
76 inline CreateDomainResult& WithDomainExecutionRole(const char* value) { SetDomainExecutionRole(value); return *this;}
78
80
83 inline const Aws::String& GetId() const{ return m_id; }
84 inline void SetId(const Aws::String& value) { m_id = value; }
85 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
86 inline void SetId(const char* value) { m_id.assign(value); }
87 inline CreateDomainResult& WithId(const Aws::String& value) { SetId(value); return *this;}
88 inline CreateDomainResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
89 inline CreateDomainResult& WithId(const char* value) { SetId(value); return *this;}
91
93
98 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
99 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
100 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
101 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
102 inline CreateDomainResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
103 inline CreateDomainResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
104 inline CreateDomainResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
106
108
111 inline const Aws::String& GetName() const{ return m_name; }
112 inline void SetName(const Aws::String& value) { m_name = value; }
113 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
114 inline void SetName(const char* value) { m_name.assign(value); }
115 inline CreateDomainResult& WithName(const Aws::String& value) { SetName(value); return *this;}
116 inline CreateDomainResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
117 inline CreateDomainResult& WithName(const char* value) { SetName(value); return *this;}
119
121
124 inline const Aws::String& GetPortalUrl() const{ return m_portalUrl; }
125 inline void SetPortalUrl(const Aws::String& value) { m_portalUrl = value; }
126 inline void SetPortalUrl(Aws::String&& value) { m_portalUrl = std::move(value); }
127 inline void SetPortalUrl(const char* value) { m_portalUrl.assign(value); }
128 inline CreateDomainResult& WithPortalUrl(const Aws::String& value) { SetPortalUrl(value); return *this;}
129 inline CreateDomainResult& WithPortalUrl(Aws::String&& value) { SetPortalUrl(std::move(value)); return *this;}
130 inline CreateDomainResult& WithPortalUrl(const char* value) { SetPortalUrl(value); return *this;}
132
134
137 inline const Aws::String& GetRootDomainUnitId() const{ return m_rootDomainUnitId; }
138 inline void SetRootDomainUnitId(const Aws::String& value) { m_rootDomainUnitId = value; }
139 inline void SetRootDomainUnitId(Aws::String&& value) { m_rootDomainUnitId = std::move(value); }
140 inline void SetRootDomainUnitId(const char* value) { m_rootDomainUnitId.assign(value); }
141 inline CreateDomainResult& WithRootDomainUnitId(const Aws::String& value) { SetRootDomainUnitId(value); return *this;}
142 inline CreateDomainResult& WithRootDomainUnitId(Aws::String&& value) { SetRootDomainUnitId(std::move(value)); return *this;}
143 inline CreateDomainResult& WithRootDomainUnitId(const char* value) { SetRootDomainUnitId(value); return *this;}
145
147
150 inline const SingleSignOn& GetSingleSignOn() const{ return m_singleSignOn; }
151 inline void SetSingleSignOn(const SingleSignOn& value) { m_singleSignOn = value; }
152 inline void SetSingleSignOn(SingleSignOn&& value) { m_singleSignOn = std::move(value); }
153 inline CreateDomainResult& WithSingleSignOn(const SingleSignOn& value) { SetSingleSignOn(value); return *this;}
154 inline CreateDomainResult& WithSingleSignOn(SingleSignOn&& value) { SetSingleSignOn(std::move(value)); return *this;}
156
158
161 inline const DomainStatus& GetStatus() const{ return m_status; }
162 inline void SetStatus(const DomainStatus& value) { m_status = value; }
163 inline void SetStatus(DomainStatus&& value) { m_status = std::move(value); }
164 inline CreateDomainResult& WithStatus(const DomainStatus& value) { SetStatus(value); return *this;}
165 inline CreateDomainResult& WithStatus(DomainStatus&& value) { SetStatus(std::move(value)); return *this;}
167
169
172 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
173 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
174 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
175 inline CreateDomainResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
176 inline CreateDomainResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
177 inline CreateDomainResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
178 inline CreateDomainResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
179 inline CreateDomainResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
180 inline CreateDomainResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
181 inline CreateDomainResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
182 inline CreateDomainResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
183 inline CreateDomainResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
190 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
191 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
192 inline CreateDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
193 inline CreateDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
194 inline CreateDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 private:
197
198 Aws::String m_arn;
199
200 Aws::String m_description;
201
202 Aws::String m_domainExecutionRole;
203
204 Aws::String m_id;
205
206 Aws::String m_kmsKeyIdentifier;
207
208 Aws::String m_name;
209
210 Aws::String m_portalUrl;
211
212 Aws::String m_rootDomainUnitId;
213
214 SingleSignOn m_singleSignOn;
215
216 DomainStatus m_status;
217
219
220 Aws::String m_requestId;
221 };
222
223} // namespace Model
224} // namespace DataZone
225} // namespace Aws
void SetPortalUrl(const Aws::String &value)
CreateDomainResult & WithArn(Aws::String &&value)
CreateDomainResult & WithName(Aws::String &&value)
CreateDomainResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateDomainResult & WithRootDomainUnitId(Aws::String &&value)
AWS_DATAZONE_API CreateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const DomainStatus &value)
const SingleSignOn & GetSingleSignOn() const
CreateDomainResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateDomainResult & AddTags(const char *key, const char *value)
CreateDomainResult & WithRootDomainUnitId(const Aws::String &value)
const Aws::String & GetRootDomainUnitId() const
void SetKmsKeyIdentifier(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDomainResult & WithRequestId(const Aws::String &value)
CreateDomainResult & WithName(const char *value)
void SetRequestId(const Aws::String &value)
void SetDomainExecutionRole(const Aws::String &value)
CreateDomainResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDomainResult & WithPortalUrl(Aws::String &&value)
CreateDomainResult & WithDomainExecutionRole(Aws::String &&value)
CreateDomainResult & WithDescription(const Aws::String &value)
CreateDomainResult & WithSingleSignOn(const SingleSignOn &value)
CreateDomainResult & WithDescription(const char *value)
CreateDomainResult & WithName(const Aws::String &value)
CreateDomainResult & WithArn(const Aws::String &value)
const Aws::String & GetDomainExecutionRole() const
CreateDomainResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateDomainResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDomainResult & WithDomainExecutionRole(const char *value)
void SetDescription(const Aws::String &value)
CreateDomainResult & WithDomainExecutionRole(const Aws::String &value)
CreateDomainResult & WithPortalUrl(const char *value)
CreateDomainResult & WithKmsKeyIdentifier(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_DATAZONE_API CreateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainResult & WithId(const char *value)
CreateDomainResult & WithRootDomainUnitId(const char *value)
CreateDomainResult & WithPortalUrl(const Aws::String &value)
CreateDomainResult & AddTags(const char *key, Aws::String &&value)
CreateDomainResult & WithRequestId(const char *value)
CreateDomainResult & WithKmsKeyIdentifier(const char *value)
CreateDomainResult & WithId(Aws::String &&value)
void SetSingleSignOn(const SingleSignOn &value)
CreateDomainResult & WithId(const Aws::String &value)
CreateDomainResult & WithDescription(Aws::String &&value)
CreateDomainResult & WithStatus(const DomainStatus &value)
CreateDomainResult & WithSingleSignOn(SingleSignOn &&value)
const Aws::String & GetDescription() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateDomainResult & WithArn(const char *value)
CreateDomainResult & WithStatus(DomainStatus &&value)
void SetDomainExecutionRole(Aws::String &&value)
CreateDomainResult & AddTags(Aws::String &&key, const char *value)
CreateDomainResult & WithRequestId(Aws::String &&value)
void SetId(const Aws::String &value)
const Aws::String & GetKmsKeyIdentifier() const
void SetRootDomainUnitId(const Aws::String &value)
CreateDomainResult & WithKmsKeyIdentifier(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