7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/polly/PollyRequest.h>
10#include <aws/polly/Polly_EXPORTS.h>
11#include <aws/polly/model/Engine.h>
12#include <aws/polly/model/LanguageCode.h>
13#include <aws/polly/model/OutputFormat.h>
14#include <aws/polly/model/SpeechMarkType.h>
15#include <aws/polly/model/TextType.h>
16#include <aws/polly/model/VoiceId.h>
48 m_engineHasBeenSet =
true;
72 m_languageCodeHasBeenSet =
true;
73 m_languageCode = value;
89 template <
typename LexiconNamesT = Aws::Vector<Aws::String>>
91 m_lexiconNamesHasBeenSet =
true;
92 m_lexiconNames = std::forward<LexiconNamesT>(value);
94 template <
typename LexiconNamesT = Aws::Vector<Aws::String>>
99 template <
typename LexiconNamesT = Aws::String>
101 m_lexiconNamesHasBeenSet =
true;
102 m_lexiconNames.emplace_back(std::forward<LexiconNamesT>(value));
115 m_outputFormatHasBeenSet =
true;
116 m_outputFormat = value;
130 template <
typename OutputS3BucketNameT = Aws::String>
132 m_outputS3BucketNameHasBeenSet =
true;
133 m_outputS3BucketName = std::forward<OutputS3BucketNameT>(value);
135 template <
typename OutputS3BucketNameT = Aws::String>
148 template <
typename OutputS3KeyPrefixT = Aws::String>
150 m_outputS3KeyPrefixHasBeenSet =
true;
151 m_outputS3KeyPrefix = std::forward<OutputS3KeyPrefixT>(value);
153 template <
typename OutputS3KeyPrefixT = Aws::String>
171 template <
typename SampleRateT = Aws::String>
173 m_sampleRateHasBeenSet =
true;
174 m_sampleRate = std::forward<SampleRateT>(value);
176 template <
typename SampleRateT = Aws::String>
190 template <
typename SnsTopicArnT = Aws::String>
192 m_snsTopicArnHasBeenSet =
true;
193 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
195 template <
typename SnsTopicArnT = Aws::String>
208 template <
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
210 m_speechMarkTypesHasBeenSet =
true;
211 m_speechMarkTypes = std::forward<SpeechMarkTypesT>(value);
213 template <
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
219 m_speechMarkTypesHasBeenSet =
true;
220 m_speechMarkTypes.push_back(value);
232 template <
typename TextT = Aws::String>
234 m_textHasBeenSet =
true;
235 m_text = std::forward<TextT>(value);
237 template <
typename TextT = Aws::String>
239 SetText(std::forward<TextT>(value));
252 m_textTypeHasBeenSet =
true;
268 m_voiceIdHasBeenSet =
true;
300 bool m_engineHasBeenSet =
false;
301 bool m_languageCodeHasBeenSet =
false;
302 bool m_lexiconNamesHasBeenSet =
false;
303 bool m_outputFormatHasBeenSet =
false;
304 bool m_outputS3BucketNameHasBeenSet =
false;
305 bool m_outputS3KeyPrefixHasBeenSet =
false;
306 bool m_sampleRateHasBeenSet =
false;
307 bool m_snsTopicArnHasBeenSet =
false;
308 bool m_speechMarkTypesHasBeenSet =
false;
309 bool m_textHasBeenSet =
false;
310 bool m_textTypeHasBeenSet =
false;
311 bool m_voiceIdHasBeenSet =
false;
StartSpeechSynthesisTaskRequest & WithSampleRate(SampleRateT &&value)
StartSpeechSynthesisTaskRequest & WithSnsTopicArn(SnsTopicArnT &&value)
AWS_POLLY_API StartSpeechSynthesisTaskRequest()=default
StartSpeechSynthesisTaskRequest & WithEngine(Engine value)
StartSpeechSynthesisTaskRequest & WithLanguageCode(LanguageCode value)
bool LanguageCodeHasBeenSet() const
void SetSampleRate(SampleRateT &&value)
TextType GetTextType() const
const Aws::Vector< SpeechMarkType > & GetSpeechMarkTypes() const
OutputFormat GetOutputFormat() const
void SetEngine(Engine value)
bool VoiceIdHasBeenSet() const
LanguageCode GetLanguageCode() const
bool OutputFormatHasBeenSet() const
bool TextHasBeenSet() const
void SetOutputFormat(OutputFormat value)
StartSpeechSynthesisTaskRequest & WithTextType(TextType value)
void SetOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
VoiceId GetVoiceId() const
StartSpeechSynthesisTaskRequest & WithLexiconNames(LexiconNamesT &&value)
const Aws::String & GetText() const
const Aws::String & GetOutputS3KeyPrefix() const
StartSpeechSynthesisTaskRequest & AddSpeechMarkTypes(SpeechMarkType value)
const Aws::Vector< Aws::String > & GetLexiconNames() const
void SetVoiceId(VoiceId value)
void SetOutputS3BucketName(OutputS3BucketNameT &&value)
bool EngineHasBeenSet() const
StartSpeechSynthesisTaskRequest & WithOutputFormat(OutputFormat value)
bool OutputS3KeyPrefixHasBeenSet() const
virtual const char * GetServiceRequestName() const override
StartSpeechSynthesisTaskRequest & WithSpeechMarkTypes(SpeechMarkTypesT &&value)
void SetTextType(TextType value)
StartSpeechSynthesisTaskRequest & WithText(TextT &&value)
StartSpeechSynthesisTaskRequest & WithOutputS3BucketName(OutputS3BucketNameT &&value)
bool SpeechMarkTypesHasBeenSet() const
const Aws::String & GetSampleRate() const
bool LexiconNamesHasBeenSet() const
const Aws::String & GetSnsTopicArn() const
bool OutputS3BucketNameHasBeenSet() const
StartSpeechSynthesisTaskRequest & WithOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
void SetLanguageCode(LanguageCode value)
StartSpeechSynthesisTaskRequest & WithVoiceId(VoiceId value)
void SetSnsTopicArn(SnsTopicArnT &&value)
StartSpeechSynthesisTaskRequest & AddLexiconNames(LexiconNamesT &&value)
void SetText(TextT &&value)
void SetLexiconNames(LexiconNamesT &&value)
bool SnsTopicArnHasBeenSet() const
void SetSpeechMarkTypes(SpeechMarkTypesT &&value)
AWS_POLLY_API Aws::String SerializePayload() const override
bool SampleRateHasBeenSet() const
bool TextTypeHasBeenSet() const
const Aws::String & GetOutputS3BucketName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector