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>
60 inline void SetEngine(
Engine value) { m_engineHasBeenSet =
true; m_engine = value; }
92 template<
typename LexiconNamesT = Aws::Vector<Aws::String>>
93 void SetLexiconNames(LexiconNamesT&& value) { m_lexiconNamesHasBeenSet =
true; m_lexiconNames = std::forward<LexiconNamesT>(value); }
94 template<
typename LexiconNamesT = Aws::Vector<Aws::String>>
96 template<
typename LexiconNamesT = Aws::String>
124 template<
typename SampleRateT = Aws::String>
125 void SetSampleRate(SampleRateT&& value) { m_sampleRateHasBeenSet =
true; m_sampleRate = std::forward<SampleRateT>(value); }
126 template<
typename SampleRateT = Aws::String>
136 template<
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
137 void SetSpeechMarkTypes(SpeechMarkTypesT&& value) { m_speechMarkTypesHasBeenSet =
true; m_speechMarkTypes = std::forward<SpeechMarkTypesT>(value); }
138 template<
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
150 template<
typename TextT = Aws::String>
151 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
152 template<
typename TextT = Aws::String>
183 bool m_engineHasBeenSet =
false;
186 bool m_languageCodeHasBeenSet =
false;
189 bool m_lexiconNamesHasBeenSet =
false;
192 bool m_outputFormatHasBeenSet =
false;
195 bool m_sampleRateHasBeenSet =
false;
198 bool m_speechMarkTypesHasBeenSet =
false;
201 bool m_textHasBeenSet =
false;
204 bool m_textTypeHasBeenSet =
false;
207 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