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;
58 template <
typename ContentTypeT = Aws::String>
60 m_contentTypeHasBeenSet =
true;
61 m_contentType = std::forward<ContentTypeT>(value);
63 template <
typename ContentTypeT = Aws::String>
76 m_requestCharactersHasBeenSet =
true;
77 m_requestCharacters = value;
88 template <
typename RequestIdT = Aws::String>
90 m_requestIdHasBeenSet =
true;
91 m_requestId = std::forward<RequestIdT>(value);
93 template <
typename RequestIdT = Aws::String>
106 int m_requestCharacters{0};
110 bool m_audioStreamHasBeenSet =
false;
111 bool m_contentTypeHasBeenSet =
false;
112 bool m_requestCharactersHasBeenSet =
false;
113 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