7#include <aws/polly/Polly_EXPORTS.h>
8#include <aws/polly/PollyRequest.h>
9#include <aws/polly/model/Engine.h>
10#include <aws/polly/model/LanguageCode.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/polly/model/OutputFormat.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/polly/model/TextType.h>
15#include <aws/polly/model/VoiceId.h>
16#include <aws/polly/model/SpeechMarkType.h>
51 inline void SetEngine(
Engine value) { m_engineHasBeenSet =
true; m_engine = value; }
81 template<
typename LexiconNamesT = Aws::Vector<Aws::String>>
82 void SetLexiconNames(LexiconNamesT&& value) { m_lexiconNamesHasBeenSet =
true; m_lexiconNames = std::forward<LexiconNamesT>(value); }
83 template<
typename LexiconNamesT = Aws::Vector<Aws::String>>
85 template<
typename LexiconNamesT = Aws::String>
106 template<
typename OutputS3BucketNameT = Aws::String>
107 void SetOutputS3BucketName(OutputS3BucketNameT&& value) { m_outputS3BucketNameHasBeenSet =
true; m_outputS3BucketName = std::forward<OutputS3BucketNameT>(value); }
108 template<
typename OutputS3BucketNameT = Aws::String>
118 template<
typename OutputS3KeyPrefixT = Aws::String>
119 void SetOutputS3KeyPrefix(OutputS3KeyPrefixT&& value) { m_outputS3KeyPrefixHasBeenSet =
true; m_outputS3KeyPrefix = std::forward<OutputS3KeyPrefixT>(value); }
120 template<
typename OutputS3KeyPrefixT = Aws::String>
135 template<
typename SampleRateT = Aws::String>
136 void SetSampleRate(SampleRateT&& value) { m_sampleRateHasBeenSet =
true; m_sampleRate = std::forward<SampleRateT>(value); }
137 template<
typename SampleRateT = Aws::String>
148 template<
typename SnsTopicArnT = Aws::String>
149 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
150 template<
typename SnsTopicArnT = Aws::String>
160 template<
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
161 void SetSpeechMarkTypes(SpeechMarkTypesT&& value) { m_speechMarkTypesHasBeenSet =
true; m_speechMarkTypes = std::forward<SpeechMarkTypesT>(value); }
162 template<
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
174 template<
typename TextT = Aws::String>
175 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
176 template<
typename TextT = Aws::String>
203 bool m_engineHasBeenSet =
false;
206 bool m_languageCodeHasBeenSet =
false;
209 bool m_lexiconNamesHasBeenSet =
false;
212 bool m_outputFormatHasBeenSet =
false;
215 bool m_outputS3BucketNameHasBeenSet =
false;
218 bool m_outputS3KeyPrefixHasBeenSet =
false;
221 bool m_sampleRateHasBeenSet =
false;
224 bool m_snsTopicArnHasBeenSet =
false;
227 bool m_speechMarkTypesHasBeenSet =
false;
230 bool m_textHasBeenSet =
false;
233 bool m_textTypeHasBeenSet =
false;
236 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