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>
57 m_engineHasBeenSet =
true;
81 m_languageCodeHasBeenSet =
true;
82 m_languageCode = value;
100 template <
typename LexiconNamesT = Aws::Vector<Aws::String>>
102 m_lexiconNamesHasBeenSet =
true;
103 m_lexiconNames = std::forward<LexiconNamesT>(value);
105 template <
typename LexiconNamesT = Aws::Vector<Aws::String>>
110 template <
typename LexiconNamesT = Aws::String>
112 m_lexiconNamesHasBeenSet =
true;
113 m_lexiconNames.emplace_back(std::forward<LexiconNamesT>(value));
128 m_outputFormatHasBeenSet =
true;
129 m_outputFormat = value;
148 template <
typename SampleRateT = Aws::String>
150 m_sampleRateHasBeenSet =
true;
151 m_sampleRate = std::forward<SampleRateT>(value);
153 template <
typename SampleRateT = Aws::String>
166 template <
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
168 m_speechMarkTypesHasBeenSet =
true;
169 m_speechMarkTypes = std::forward<SpeechMarkTypesT>(value);
171 template <
typename SpeechMarkTypesT = Aws::Vector<SpeechMarkType>>
177 m_speechMarkTypesHasBeenSet =
true;
178 m_speechMarkTypes.push_back(value);
190 template <
typename TextT = Aws::String>
192 m_textHasBeenSet =
true;
193 m_text = std::forward<TextT>(value);
195 template <
typename TextT = Aws::String>
197 SetText(std::forward<TextT>(value));
211 m_textTypeHasBeenSet =
true;
230 m_voiceIdHasBeenSet =
true;
256 bool m_engineHasBeenSet =
false;
257 bool m_languageCodeHasBeenSet =
false;
258 bool m_lexiconNamesHasBeenSet =
false;
259 bool m_outputFormatHasBeenSet =
false;
260 bool m_sampleRateHasBeenSet =
false;
261 bool m_speechMarkTypesHasBeenSet =
false;
262 bool m_textHasBeenSet =
false;
263 bool m_textTypeHasBeenSet =
false;
264 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