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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
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>
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>
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>
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>
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>
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>
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>
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>
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>
156 template<
typename SingleSignOnT = SingleSignOn>
157 void SetSingleSignOn(SingleSignOnT&& value) { m_singleSignOnHasBeenSet =
true; m_singleSignOn = std::forward<SingleSignOnT>(value); }
158 template<
typename SingleSignOnT = SingleSignOn>
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>>
180 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
182 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
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>
197 bool m_arnHasBeenSet =
false;
200 bool m_descriptionHasBeenSet =
false;
203 bool m_domainExecutionRoleHasBeenSet =
false;
206 bool m_domainVersionHasBeenSet =
false;
209 bool m_idHasBeenSet =
false;
212 bool m_kmsKeyIdentifierHasBeenSet =
false;
215 bool m_nameHasBeenSet =
false;
218 bool m_portalUrlHasBeenSet =
false;
221 bool m_rootDomainUnitIdHasBeenSet =
false;
224 bool m_serviceRoleHasBeenSet =
false;
226 SingleSignOn m_singleSignOn;
227 bool m_singleSignOnHasBeenSet =
false;
230 bool m_statusHasBeenSet =
false;
233 bool m_tagsHasBeenSet =
false;
236 bool m_requestIdHasBeenSet =
false;
CreateDomainResult & WithName(NameT &&value)
void SetRequestId(RequestIdT &&value)
AWS_DATAZONE_API CreateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const SingleSignOn & GetSingleSignOn() const
const Aws::String & GetRequestId() const
const Aws::String & GetRootDomainUnitId() const
void SetPortalUrl(PortalUrlT &&value)
DomainStatus GetStatus() const
void SetDomainVersion(DomainVersion value)
CreateDomainResult & WithPortalUrl(PortalUrlT &&value)
CreateDomainResult & WithArn(ArnT &&value)
void SetDomainExecutionRole(DomainExecutionRoleT &&value)
CreateDomainResult & WithId(IdT &&value)
void SetName(NameT &&value)
const Aws::String & GetId() const
void SetStatus(DomainStatus value)
CreateDomainResult & WithServiceRole(ServiceRoleT &&value)
const Aws::String & GetPortalUrl() const
CreateDomainResult & WithDomainExecutionRole(DomainExecutionRoleT &&value)
void SetRootDomainUnitId(RootDomainUnitIdT &&value)
const Aws::String & GetDomainExecutionRole() const
void SetServiceRole(ServiceRoleT &&value)
void SetSingleSignOn(SingleSignOnT &&value)
void SetTags(TagsT &&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 & GetArn() const
const Aws::String & GetServiceRole() const
const Aws::String & GetDescription() const
CreateDomainResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetArn(ArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainResult & WithDescription(DescriptionT &&value)
DomainVersion GetDomainVersion() const
const Aws::String & GetKmsKeyIdentifier() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
void SetDescription(DescriptionT &&value)
CreateDomainResult & WithRequestId(RequestIdT &&value)
CreateDomainResult & WithTags(TagsT &&value)
const Aws::String & GetName() const
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