7#include <aws/core/utils/event/EventStreamDecoder.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/polly/PollyRequest.h>
11#include <aws/polly/Polly_EXPORTS.h>
12#include <aws/polly/model/Engine.h>
13#include <aws/polly/model/LanguageCode.h>
14#include <aws/polly/model/OutputFormat.h>
15#include <aws/polly/model/StartSpeechSynthesisStreamActionStream.h>
16#include <aws/polly/model/StartSpeechSynthesisStreamHandler.h>
17#include <aws/polly/model/VoiceId.h>
43 AWS_POLLY_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
82 m_engineHasBeenSet =
true;
101 m_languageCodeHasBeenSet =
true;
102 m_languageCode = value;
118 template <
typename LexiconNamesT = Aws::Vector<Aws::String>>
120 m_lexiconNamesHasBeenSet =
true;
121 m_lexiconNames = std::forward<LexiconNamesT>(value);
123 template <
typename LexiconNamesT = Aws::Vector<Aws::String>>
128 template <
typename LexiconNamesT = Aws::String>
130 m_lexiconNamesHasBeenSet =
true;
131 m_lexiconNames.emplace_back(std::forward<LexiconNamesT>(value));
144 m_outputFormatHasBeenSet =
true;
145 m_outputFormat = value;
159 template <
typename SampleRateT = Aws::String>
161 m_sampleRateHasBeenSet =
true;
162 m_sampleRate = std::forward<SampleRateT>(value);
164 template <
typename SampleRateT = Aws::String>
181 m_voiceIdHasBeenSet =
true;
195 AWS_POLLY_API std::shared_ptr<StartSpeechSynthesisStreamActionStream>
GetActionStream()
const {
return m_actionStream; }
196 AWS_POLLY_API
void SetActionStream(
const std::shared_ptr<StartSpeechSynthesisStreamActionStream>& value) {
197 m_actionStreamHasBeenSet =
true;
198 m_actionStream = value;
219 std::shared_ptr<StartSpeechSynthesisStreamActionStream> m_actionStream;
220 StartSpeechSynthesisStreamHandler m_handler;
223 bool m_engineHasBeenSet =
false;
224 bool m_languageCodeHasBeenSet =
false;
225 bool m_lexiconNamesHasBeenSet =
false;
226 bool m_outputFormatHasBeenSet =
false;
227 bool m_sampleRateHasBeenSet =
false;
228 bool m_voiceIdHasBeenSet =
false;
229 bool m_actionStreamHasBeenSet =
false;
AWS_POLLY_API std::shared_ptr< Aws::IOStream > GetBody() const override
void SetLanguageCode(LanguageCode value)
StartSpeechSynthesisStreamRequest & WithEngine(Engine value)
OutputFormat GetOutputFormat() const
virtual const char * GetServiceRequestName() const override
virtual bool IsEventStreamRequest() const override
bool OutputFormatHasBeenSet() const
StartSpeechSynthesisStreamRequest & WithVoiceId(VoiceId value)
StartSpeechSynthesisStreamHandler & GetEventStreamHandler()
StartSpeechSynthesisStreamRequest & WithOutputFormat(OutputFormat value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
bool EngineHasBeenSet() const
void SetVoiceId(VoiceId value)
void SetSampleRate(SampleRateT &&value)
StartSpeechSynthesisStreamRequest & WithSampleRate(SampleRateT &&value)
AWS_POLLY_API void SetActionStream(const std::shared_ptr< StartSpeechSynthesisStreamActionStream > &value)
bool LanguageCodeHasBeenSet() const
AWS_POLLY_API StartSpeechSynthesisStreamRequest()=default
StartSpeechSynthesisStreamRequest & WithLanguageCode(LanguageCode value)
StartSpeechSynthesisStreamRequest & WithLexiconNames(LexiconNamesT &&value)
virtual bool HasEventStreamResponse() const override
void SetEventStreamHandler(const StartSpeechSynthesisStreamHandler &value)
bool LexiconNamesHasBeenSet() const
StartSpeechSynthesisStreamRequest & WithEventStreamHandler(const StartSpeechSynthesisStreamHandler &value)
LanguageCode GetLanguageCode() const
VoiceId GetVoiceId() const
bool VoiceIdHasBeenSet() const
AWS_POLLY_API StartSpeechSynthesisStreamRequest & WithActionStream(const std::shared_ptr< StartSpeechSynthesisStreamActionStream > &value)
void SetEngine(Engine value)
bool SampleRateHasBeenSet() const
const Aws::String & GetSampleRate() const
AWS_POLLY_API std::shared_ptr< StartSpeechSynthesisStreamActionStream > GetActionStream() const
void SetLexiconNames(LexiconNamesT &&value)
AWS_POLLY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_POLLY_API Aws::String SerializePayload() const override
StartSpeechSynthesisStreamRequest & AddLexiconNames(LexiconNamesT &&value)
void SetOutputFormat(OutputFormat value)
const Aws::Vector< Aws::String > & GetLexiconNames() const
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector