7#include <aws/polly/Polly_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
63 template<
typename ContentTypeT = Aws::String>
64 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
65 template<
typename ContentTypeT = Aws::String>
74 inline void SetRequestCharacters(
int value) { m_requestCharactersHasBeenSet =
true; m_requestCharacters = value; }
81 template<
typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
83 template<
typename RequestIdT = Aws::String>
89 bool m_audioStreamHasBeenSet =
false;
92 bool m_contentTypeHasBeenSet =
false;
94 int m_requestCharacters{0};
95 bool m_requestCharactersHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
AWS_POLLY_API SynthesizeSpeechResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_POLLY_API SynthesizeSpeechResult(SynthesizeSpeechResult &&)=default
SynthesizeSpeechResult & WithRequestId(RequestIdT &&value)
SynthesizeSpeechResult & WithContentType(ContentTypeT &&value)
const Aws::String & GetContentType() const
SynthesizeSpeechResult(const SynthesizeSpeechResult &)=delete
Aws::IOStream & GetAudioStream() const
const Aws::String & GetRequestId() const
void ReplaceBody(Aws::IOStream *body)
AWS_POLLY_API SynthesizeSpeechResult()=default
void SetContentType(ContentTypeT &&value)
SynthesizeSpeechResult & WithRequestCharacters(int value)
SynthesizeSpeechResult & operator=(const SynthesizeSpeechResult &)=delete
void SetRequestId(RequestIdT &&value)
int GetRequestCharacters() const
void SetRequestCharacters(int value)
AWS_POLLY_API SynthesizeSpeechResult & operator=(SynthesizeSpeechResult &&)=default
AWS_POLLY_API SynthesizeSpeechResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String