AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/DomainVersion.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 CreateDomainResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 CreateDomainResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 CreateDomainResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
67 inline const Aws::String& GetDomainExecutionRole() const { return m_domainExecutionRole; }
68 template<typename DomainExecutionRoleT = Aws::String>
69 void SetDomainExecutionRole(DomainExecutionRoleT&& value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole = std::forward<DomainExecutionRoleT>(value); }
70 template<typename DomainExecutionRoleT = Aws::String>
71 CreateDomainResult& WithDomainExecutionRole(DomainExecutionRoleT&& value) { SetDomainExecutionRole(std::forward<DomainExecutionRoleT>(value)); return *this;}
73
75
78 inline DomainVersion GetDomainVersion() const { return m_domainVersion; }
79 inline void SetDomainVersion(DomainVersion value) { m_domainVersionHasBeenSet = true; m_domainVersion = value; }
82
84
87 inline const Aws::String& GetId() const { return m_id; }
88 template<typename IdT = Aws::String>
89 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
90 template<typename IdT = Aws::String>
91 CreateDomainResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
93
95
100 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
101 template<typename KmsKeyIdentifierT = Aws::String>
102 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
103 template<typename KmsKeyIdentifierT = Aws::String>
104 CreateDomainResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
106
108
111 inline const Aws::String& GetName() const { return m_name; }
112 template<typename NameT = Aws::String>
113 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
114 template<typename NameT = Aws::String>
115 CreateDomainResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
117
119
122 inline const Aws::String& GetPortalUrl() const { return m_portalUrl; }
123 template<typename PortalUrlT = Aws::String>
124 void SetPortalUrl(PortalUrlT&& value) { m_portalUrlHasBeenSet = true; m_portalUrl = std::forward<PortalUrlT>(value); }
125 template<typename PortalUrlT = Aws::String>
126 CreateDomainResult& WithPortalUrl(PortalUrlT&& value) { SetPortalUrl(std::forward<PortalUrlT>(value)); return *this;}
128
130
133 inline const Aws::String& GetRootDomainUnitId() const { return m_rootDomainUnitId; }
134 template<typename RootDomainUnitIdT = Aws::String>
135 void SetRootDomainUnitId(RootDomainUnitIdT&& value) { m_rootDomainUnitIdHasBeenSet = true; m_rootDomainUnitId = std::forward<RootDomainUnitIdT>(value); }
136 template<typename RootDomainUnitIdT = Aws::String>
137 CreateDomainResult& WithRootDomainUnitId(RootDomainUnitIdT&& value) { SetRootDomainUnitId(std::forward<RootDomainUnitIdT>(value)); return *this;}
139
141
144 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
145 template<typename ServiceRoleT = Aws::String>
146 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
147 template<typename ServiceRoleT = Aws::String>
148 CreateDomainResult& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
150
152
155 inline const SingleSignOn& GetSingleSignOn() const { return m_singleSignOn; }
156 template<typename SingleSignOnT = SingleSignOn>
157 void SetSingleSignOn(SingleSignOnT&& value) { m_singleSignOnHasBeenSet = true; m_singleSignOn = std::forward<SingleSignOnT>(value); }
158 template<typename SingleSignOnT = SingleSignOn>
159 CreateDomainResult& WithSingleSignOn(SingleSignOnT&& value) { SetSingleSignOn(std::forward<SingleSignOnT>(value)); return *this;}
161
163
166 inline DomainStatus GetStatus() const { return m_status; }
167 inline void SetStatus(DomainStatus value) { m_statusHasBeenSet = true; m_status = value; }
168 inline CreateDomainResult& WithStatus(DomainStatus value) { SetStatus(value); return *this;}
170
172
175 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
176 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
178 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 CreateDomainResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
180 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
181 CreateDomainResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
182 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
183 }
185
187
188 inline const Aws::String& GetRequestId() const { return m_requestId; }
189 template<typename RequestIdT = Aws::String>
190 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
191 template<typename RequestIdT = Aws::String>
192 CreateDomainResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
194 private:
195
196 Aws::String m_arn;
197 bool m_arnHasBeenSet = false;
198
199 Aws::String m_description;
200 bool m_descriptionHasBeenSet = false;
201
202 Aws::String m_domainExecutionRole;
203 bool m_domainExecutionRoleHasBeenSet = false;
204
205 DomainVersion m_domainVersion{DomainVersion::NOT_SET};
206 bool m_domainVersionHasBeenSet = false;
207
208 Aws::String m_id;
209 bool m_idHasBeenSet = false;
210
211 Aws::String m_kmsKeyIdentifier;
212 bool m_kmsKeyIdentifierHasBeenSet = false;
213
214 Aws::String m_name;
215 bool m_nameHasBeenSet = false;
216
217 Aws::String m_portalUrl;
218 bool m_portalUrlHasBeenSet = false;
219
220 Aws::String m_rootDomainUnitId;
221 bool m_rootDomainUnitIdHasBeenSet = false;
222
223 Aws::String m_serviceRole;
224 bool m_serviceRoleHasBeenSet = false;
225
226 SingleSignOn m_singleSignOn;
227 bool m_singleSignOnHasBeenSet = false;
228
230 bool m_statusHasBeenSet = false;
231
233 bool m_tagsHasBeenSet = false;
234
235 Aws::String m_requestId;
236 bool m_requestIdHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace DataZone
241} // namespace Aws
CreateDomainResult & WithName(NameT &&value)
AWS_DATAZONE_API CreateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const SingleSignOn & GetSingleSignOn() const
const Aws::String & GetRootDomainUnitId() const
CreateDomainResult & WithPortalUrl(PortalUrlT &&value)
CreateDomainResult & WithArn(ArnT &&value)
void SetDomainExecutionRole(DomainExecutionRoleT &&value)
CreateDomainResult & WithId(IdT &&value)
CreateDomainResult & WithServiceRole(ServiceRoleT &&value)
CreateDomainResult & WithDomainExecutionRole(DomainExecutionRoleT &&value)
void SetRootDomainUnitId(RootDomainUnitIdT &&value)
const Aws::String & GetDomainExecutionRole() const
void SetSingleSignOn(SingleSignOnT &&value)
CreateDomainResult & WithDomainVersion(DomainVersion value)
CreateDomainResult & WithRootDomainUnitId(RootDomainUnitIdT &&value)
AWS_DATAZONE_API CreateDomainResult()=default
CreateDomainResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
AWS_DATAZONE_API CreateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainResult & WithStatus(DomainStatus value)
CreateDomainResult & WithSingleSignOn(SingleSignOnT &&value)
const Aws::String & GetDescription() const
CreateDomainResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainResult & WithDescription(DescriptionT &&value)
const Aws::String & GetKmsKeyIdentifier() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CreateDomainResult & WithRequestId(RequestIdT &&value)
CreateDomainResult & WithTags(TagsT &&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