7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/repostspace/RepostspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/repostspace/model/TierLevel.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/repostspace/model/SupportedEmailDomainsParameters.h>
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
59 template<
typename SubdomainT = Aws::String>
60 void SetSubdomain(SubdomainT&& value) { m_subdomainHasBeenSet =
true; m_subdomain = std::forward<SubdomainT>(value); }
61 template<
typename SubdomainT = Aws::String>
82 template<
typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
84 template<
typename DescriptionT = Aws::String>
96 template<
typename UserKMSKeyT = Aws::String>
97 void SetUserKMSKey(UserKMSKeyT&& value) { m_userKMSKeyHasBeenSet =
true; m_userKMSKey = std::forward<UserKMSKeyT>(value); }
98 template<
typename UserKMSKeyT = Aws::String>
108 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
114 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
125 template<
typename RoleArnT = Aws::String>
126 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
127 template<
typename RoleArnT = Aws::String>
137 template<
typename SupportedEmailDomainsT = SupportedEmailDomainsParameters>
138 void SetSupportedEmailDomains(SupportedEmailDomainsT&& value) { m_supportedEmailDomainsHasBeenSet =
true; m_supportedEmailDomains = std::forward<SupportedEmailDomainsT>(value); }
139 template<
typename SupportedEmailDomainsT = SupportedEmailDomainsParameters>
145 bool m_nameHasBeenSet =
false;
148 bool m_subdomainHasBeenSet =
false;
151 bool m_tierHasBeenSet =
false;
154 bool m_descriptionHasBeenSet =
false;
157 bool m_userKMSKeyHasBeenSet =
false;
160 bool m_tagsHasBeenSet =
false;
163 bool m_roleArnHasBeenSet =
false;
165 SupportedEmailDomainsParameters m_supportedEmailDomains;
166 bool m_supportedEmailDomainsHasBeenSet =
false;
AWS_REPOSTSPACE_API Aws::String SerializePayload() const override
bool UserKMSKeyHasBeenSet() const
bool NameHasBeenSet() const
void SetSubdomain(SubdomainT &&value)
AWS_REPOSTSPACE_API CreateSpaceRequest()=default
void SetName(NameT &&value)
void SetTags(TagsT &&value)
CreateSpaceRequest & WithTier(TierLevel value)
bool SupportedEmailDomainsHasBeenSet() const
CreateSpaceRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
CreateSpaceRequest & WithSupportedEmailDomains(SupportedEmailDomainsT &&value)
const Aws::String & GetName() const
bool RoleArnHasBeenSet() const
bool SubdomainHasBeenSet() const
const Aws::String & GetDescription() const
const SupportedEmailDomainsParameters & GetSupportedEmailDomains() const
const Aws::String & GetRoleArn() const
void SetTier(TierLevel value)
CreateSpaceRequest & WithUserKMSKey(UserKMSKeyT &&value)
CreateSpaceRequest & WithRoleArn(RoleArnT &&value)
TierLevel GetTier() const
CreateSpaceRequest & WithTags(TagsT &&value)
CreateSpaceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSpaceRequest & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TierHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetSubdomain() const
void SetUserKMSKey(UserKMSKeyT &&value)
CreateSpaceRequest & WithSubdomain(SubdomainT &&value)
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetUserKMSKey() const
void SetSupportedEmailDomains(SupportedEmailDomainsT &&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