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>
62 inline void SetEngine(
Engine value) { m_engineHasBeenSet =
true; m_engine = value; }
94 template<
typename LexiconNamesT = Aws::Vector<Aws::String>>
95 void SetLexiconNames(LexiconNamesT&& value) { m_lexiconNamesHasBeenSet =
true; m_lexiconNames = std::forward<LexiconNamesT>(value); }
96 template<
typename LexiconNamesT = Aws::Vector<Aws::String>>
98 template<
typename LexiconNamesT = Aws::String>
126 template<
typename SampleRateT = Aws::String>
127 void SetSampleRate(SampleRateT&& value) { m_sampleRateHasBeenSet =
true; m_sampleRate = std::forward<SampleRateT>(value); }
128 template<
typename SampleRateT = Aws::String>
138 template<
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
139 void SetSpeechMarkTypes(SpeechMarkTypesT&& value) { m_speechMarkTypesHasBeenSet =
true; m_speechMarkTypes = std::forward<SpeechMarkTypesT>(value); }
140 template<
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
152 template<
typename TextT = Aws::String>
153 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
154 template<
typename TextT = Aws::String>
185 bool m_engineHasBeenSet =
false;
188 bool m_languageCodeHasBeenSet =
false;
191 bool m_lexiconNamesHasBeenSet =
false;
194 bool m_outputFormatHasBeenSet =
false;
197 bool m_sampleRateHasBeenSet =
false;
200 bool m_speechMarkTypesHasBeenSet =
false;
203 bool m_textHasBeenSet =
false;
206 bool m_textTypeHasBeenSet =
false;
209 bool m_voiceIdHasBeenSet =
false;
SynthesizeSpeechRequest & WithOutputFormat(OutputFormat value)
SynthesizeSpeechRequest & WithText(TextT &&value)
bool EngineHasBeenSet() const
void SetSpeechMarkTypes(SpeechMarkTypesT &&value)
SynthesizeSpeechRequest & WithEngine(Engine value)
SynthesizeSpeechRequest & AddLexiconNames(LexiconNamesT &&value)
bool LexiconNamesHasBeenSet() const
SynthesizeSpeechRequest & WithVoiceId(VoiceId value)
const Aws::String & GetSampleRate() const
void SetEngine(Engine value)
void SetTextType(TextType value)
void SetLanguageCode(LanguageCode value)
bool LanguageCodeHasBeenSet() const
AWS_POLLY_API SynthesizeSpeechRequest()=default
virtual const char * GetServiceRequestName() const override
VoiceId GetVoiceId() const
const Aws::String & GetText() const
void SetOutputFormat(OutputFormat value)
AWS_POLLY_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetText(TextT &&value)
void SetVoiceId(VoiceId value)
SynthesizeSpeechRequest & WithSampleRate(SampleRateT &&value)
void SetLexiconNames(LexiconNamesT &&value)
TextType GetTextType() const
bool VoiceIdHasBeenSet() const
SynthesizeSpeechRequest & AddSpeechMarkTypes(SpeechMarkType value)
bool SampleRateHasBeenSet() const
const Aws::Vector< SpeechMarkType > & GetSpeechMarkTypes() const
bool SpeechMarkTypesHasBeenSet() const
OutputFormat GetOutputFormat() const
SynthesizeSpeechRequest & WithTextType(TextType value)
SynthesizeSpeechRequest & WithSpeechMarkTypes(SpeechMarkTypesT &&value)
void SetSampleRate(SampleRateT &&value)
bool TextTypeHasBeenSet() const
SynthesizeSpeechRequest & WithLanguageCode(LanguageCode value)
bool TextHasBeenSet() const
AWS_POLLY_API Aws::String SerializePayload() const override
bool OutputFormatHasBeenSet() const
SynthesizeSpeechRequest & WithLexiconNames(LexiconNamesT &&value)
const Aws::Vector< Aws::String > & GetLexiconNames() const
LanguageCode GetLanguageCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector