7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/polly/PollyRequest.h>
11#include <aws/polly/Polly_EXPORTS.h>
12#include <aws/polly/model/CustomVoiceLanguageCode.h>
13#include <aws/polly/model/CustomerManagedEncryption.h>
14#include <aws/polly/model/VoiceCreationData.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
65 m_languageCodeHasBeenSet =
true;
66 m_languageCode = value;
96 m_termsAcceptedHasBeenSet =
true;
97 m_termsAccepted = value;
111 template <
typename VoiceCreationDataT = VoiceCreationData>
113 m_voiceCreationDataHasBeenSet =
true;
114 m_voiceCreationData = std::forward<VoiceCreationDataT>(value);
116 template <
typename VoiceCreationDataT = VoiceCreationData>
131 template <
typename CustomerManagedEncryptionT = CustomerManagedEncryption>
133 m_customerManagedEncryptionHasBeenSet =
true;
134 m_customerManagedEncryption = std::forward<CustomerManagedEncryptionT>(value);
136 template <
typename CustomerManagedEncryptionT = CustomerManagedEncryption>
150 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 m_tagsHasBeenSet =
true;
153 m_tags = std::forward<TagsT>(value);
155 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 SetTags(std::forward<TagsT>(value));
160 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
162 m_tagsHasBeenSet =
true;
163 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
178 template <
typename ClientTokenT = Aws::String>
180 m_clientTokenHasBeenSet =
true;
181 m_clientToken = std::forward<ClientTokenT>(value);
183 template <
typename ClientTokenT = Aws::String>
194 bool m_termsAccepted{
false};
196 VoiceCreationData m_voiceCreationData;
198 CustomerManagedEncryption m_customerManagedEncryption;
203 bool m_nameHasBeenSet =
false;
204 bool m_languageCodeHasBeenSet =
false;
205 bool m_termsAcceptedHasBeenSet =
false;
206 bool m_voiceCreationDataHasBeenSet =
false;
207 bool m_customerManagedEncryptionHasBeenSet =
false;
208 bool m_tagsHasBeenSet =
false;
209 bool m_clientTokenHasBeenSet =
true;
CreateVoiceRequest & WithLanguageCode(CustomVoiceLanguageCode value)
void SetLanguageCode(CustomVoiceLanguageCode value)
AWS_POLLY_API CreateVoiceRequest()=default
void SetClientToken(ClientTokenT &&value)
CreateVoiceRequest & WithVoiceCreationData(VoiceCreationDataT &&value)
bool VoiceCreationDataHasBeenSet() const
void SetTags(TagsT &&value)
bool LanguageCodeHasBeenSet() const
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
const VoiceCreationData & GetVoiceCreationData() const
CustomVoiceLanguageCode GetLanguageCode() const
CreateVoiceRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
void SetCustomerManagedEncryption(CustomerManagedEncryptionT &&value)
bool CustomerManagedEncryptionHasBeenSet() const
bool GetTermsAccepted() const
CreateVoiceRequest & WithName(NameT &&value)
CreateVoiceRequest & WithTermsAccepted(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVoiceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TermsAcceptedHasBeenSet() const
AWS_POLLY_API Aws::String SerializePayload() const override
void SetTermsAccepted(bool value)
void SetVoiceCreationData(VoiceCreationDataT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
CreateVoiceRequest & WithClientToken(ClientTokenT &&value)
const CustomerManagedEncryption & GetCustomerManagedEncryption() const
const Aws::String & GetName() const
CreateVoiceRequest & WithCustomerManagedEncryption(CustomerManagedEncryptionT &&value)
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