7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/stream/ResponseStream.h>
11#include <aws/polly/Polly_EXPORTS.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
65 template <
typename ContentTypeT = Aws::String>
67 m_contentTypeHasBeenSet =
true;
68 m_contentType = std::forward<ContentTypeT>(value);
70 template <
typename ContentTypeT = Aws::String>
83 m_requestCharactersHasBeenSet =
true;
84 m_requestCharacters = value;
95 template <
typename RequestIdT = Aws::String>
97 m_requestIdHasBeenSet =
true;
98 m_requestId = std::forward<RequestIdT>(value);
100 template <
typename RequestIdT = Aws::String>
113 int m_requestCharacters{0};
117 bool m_audioStreamHasBeenSet =
false;
118 bool m_contentTypeHasBeenSet =
false;
119 bool m_requestCharactersHasBeenSet =
false;
120 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::Http::HttpResponseCode GetHttpResponseCode() const
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