7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/DomainVersion.h>
11#include <aws/datazone/model/SingleSignOn.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
46 template<
typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
48 template<
typename ClientTokenT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
72 template<
typename DomainExecutionRoleT = Aws::String>
73 void SetDomainExecutionRole(DomainExecutionRoleT&& value) { m_domainExecutionRoleHasBeenSet =
true; m_domainExecutionRole = std::forward<DomainExecutionRoleT>(value); }
74 template<
typename DomainExecutionRoleT = Aws::String>
96 template<
typename KmsKeyIdentifierT = Aws::String>
97 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet =
true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
98 template<
typename KmsKeyIdentifierT = Aws::String>
108 template<
typename NameT = Aws::String>
109 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
110 template<
typename NameT = Aws::String>
120 template<
typename ServiceRoleT = Aws::String>
121 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
122 template<
typename ServiceRoleT = Aws::String>
132 template<
typename SingleSignOnT = SingleSignOn>
133 void SetSingleSignOn(SingleSignOnT&& value) { m_singleSignOnHasBeenSet =
true; m_singleSignOn = std::forward<SingleSignOnT>(value); }
134 template<
typename SingleSignOnT = SingleSignOn>
144 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
146 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
150 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
156 bool m_clientTokenHasBeenSet =
true;
159 bool m_descriptionHasBeenSet =
false;
162 bool m_domainExecutionRoleHasBeenSet =
false;
165 bool m_domainVersionHasBeenSet =
false;
168 bool m_kmsKeyIdentifierHasBeenSet =
false;
171 bool m_nameHasBeenSet =
false;
174 bool m_serviceRoleHasBeenSet =
false;
176 SingleSignOn m_singleSignOn;
177 bool m_singleSignOnHasBeenSet =
false;
180 bool m_tagsHasBeenSet =
false;
CreateDomainRequest & WithTags(TagsT &&value)
CreateDomainRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
void SetServiceRole(ServiceRoleT &&value)
void SetTags(TagsT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetSingleSignOn(SingleSignOnT &&value)
CreateDomainRequest & WithDomainExecutionRole(DomainExecutionRoleT &&value)
CreateDomainRequest & WithDomainVersion(DomainVersion value)
bool NameHasBeenSet() const
bool DomainVersionHasBeenSet() const
bool DomainExecutionRoleHasBeenSet() const
bool ServiceRoleHasBeenSet() const
const Aws::String & GetDomainExecutionRole() const
bool DescriptionHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetClientToken() const
CreateDomainRequest & WithName(NameT &&value)
const SingleSignOn & GetSingleSignOn() const
bool ClientTokenHasBeenSet() const
CreateDomainRequest & WithSingleSignOn(SingleSignOnT &&value)
CreateDomainRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
void SetDomainVersion(DomainVersion value)
const Aws::String & GetServiceRole() const
bool SingleSignOnHasBeenSet() const
const Aws::String & GetKmsKeyIdentifier() const
const Aws::String & GetDescription() const
CreateDomainRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDomainRequest & WithServiceRole(ServiceRoleT &&value)
AWS_DATAZONE_API CreateDomainRequest()=default
bool KmsKeyIdentifierHasBeenSet() const
DomainVersion GetDomainVersion() const
void SetDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
void SetName(NameT &&value)
void SetClientToken(ClientTokenT &&value)
CreateDomainRequest & WithDescription(DescriptionT &&value)
void SetDomainExecutionRole(DomainExecutionRoleT &&value)
bool TagsHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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