AWS SDK for C++  1.9.132
AWS SDK for C++
Public Member Functions | List of all members
Aws::Polly::Model::SynthesizeSpeechResult Class Reference

#include <SynthesizeSpeechResult.h>

Public Member Functions

 SynthesizeSpeechResult ()
 
 SynthesizeSpeechResult (SynthesizeSpeechResult &&)
 
SynthesizeSpeechResultoperator= (SynthesizeSpeechResult &&)
 
 SynthesizeSpeechResult (const SynthesizeSpeechResult &)=delete
 
SynthesizeSpeechResultoperator= (const SynthesizeSpeechResult &)=delete
 
 SynthesizeSpeechResult (Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
 
SynthesizeSpeechResultoperator= (Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
 
Aws::IOStreamGetAudioStream ()
 
void ReplaceBody (Aws::IOStream *body)
 
const Aws::StringGetContentType () const
 
void SetContentType (const Aws::String &value)
 
void SetContentType (Aws::String &&value)
 
void SetContentType (const char *value)
 
SynthesizeSpeechResultWithContentType (const Aws::String &value)
 
SynthesizeSpeechResultWithContentType (Aws::String &&value)
 
SynthesizeSpeechResultWithContentType (const char *value)
 
int GetRequestCharacters () const
 
void SetRequestCharacters (int value)
 
SynthesizeSpeechResultWithRequestCharacters (int value)
 

Detailed Description

Definition at line 22 of file SynthesizeSpeechResult.h.

Constructor & Destructor Documentation

◆ SynthesizeSpeechResult() [1/4]

Aws::Polly::Model::SynthesizeSpeechResult::SynthesizeSpeechResult ( )

◆ SynthesizeSpeechResult() [2/4]

Aws::Polly::Model::SynthesizeSpeechResult::SynthesizeSpeechResult ( SynthesizeSpeechResult &&  )

◆ SynthesizeSpeechResult() [3/4]

Aws::Polly::Model::SynthesizeSpeechResult::SynthesizeSpeechResult ( const SynthesizeSpeechResult )
delete

◆ SynthesizeSpeechResult() [4/4]

Aws::Polly::Model::SynthesizeSpeechResult::SynthesizeSpeechResult ( Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&  result)

Member Function Documentation

◆ GetAudioStream()

Aws::IOStream& Aws::Polly::Model::SynthesizeSpeechResult::GetAudioStream ( )
inline

Stream containing the synthesized speech.

Definition at line 43 of file SynthesizeSpeechResult.h.

◆ GetContentType()

const Aws::String& Aws::Polly::Model::SynthesizeSpeechResult::GetContentType ( ) const
inline

Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

  • If you request json as the OutputFormat, the ContentType returned is audio/json.

Definition at line 64 of file SynthesizeSpeechResult.h.

◆ GetRequestCharacters()

int Aws::Polly::Model::SynthesizeSpeechResult::GetRequestCharacters ( ) const
inline

Number of characters synthesized.

Definition at line 160 of file SynthesizeSpeechResult.h.

◆ operator=() [1/3]

SynthesizeSpeechResult& Aws::Polly::Model::SynthesizeSpeechResult::operator= ( Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&  result)

◆ operator=() [2/3]

SynthesizeSpeechResult& Aws::Polly::Model::SynthesizeSpeechResult::operator= ( const SynthesizeSpeechResult )
delete

◆ operator=() [3/3]

SynthesizeSpeechResult& Aws::Polly::Model::SynthesizeSpeechResult::operator= ( SynthesizeSpeechResult &&  )

◆ ReplaceBody()

void Aws::Polly::Model::SynthesizeSpeechResult::ReplaceBody ( Aws::IOStream body)
inline

Stream containing the synthesized speech.

Definition at line 48 of file SynthesizeSpeechResult.h.

◆ SetContentType() [1/3]

void Aws::Polly::Model::SynthesizeSpeechResult::SetContentType ( Aws::String &&  value)
inline

Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

  • If you request json as the OutputFormat, the ContentType returned is audio/json.

Definition at line 94 of file SynthesizeSpeechResult.h.

◆ SetContentType() [2/3]

void Aws::Polly::Model::SynthesizeSpeechResult::SetContentType ( const Aws::String value)
inline

Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

  • If you request json as the OutputFormat, the ContentType returned is audio/json.

Definition at line 79 of file SynthesizeSpeechResult.h.

◆ SetContentType() [3/3]

void Aws::Polly::Model::SynthesizeSpeechResult::SetContentType ( const char *  value)
inline

Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

  • If you request json as the OutputFormat, the ContentType returned is audio/json.

Definition at line 109 of file SynthesizeSpeechResult.h.

◆ SetRequestCharacters()

void Aws::Polly::Model::SynthesizeSpeechResult::SetRequestCharacters ( int  value)
inline

Number of characters synthesized.

Definition at line 165 of file SynthesizeSpeechResult.h.

◆ WithContentType() [1/3]

SynthesizeSpeechResult& Aws::Polly::Model::SynthesizeSpeechResult::WithContentType ( Aws::String &&  value)
inline

Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

  • If you request json as the OutputFormat, the ContentType returned is audio/json.

Definition at line 139 of file SynthesizeSpeechResult.h.

◆ WithContentType() [2/3]

SynthesizeSpeechResult& Aws::Polly::Model::SynthesizeSpeechResult::WithContentType ( const Aws::String value)
inline

Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

  • If you request json as the OutputFormat, the ContentType returned is audio/json.

Definition at line 124 of file SynthesizeSpeechResult.h.

◆ WithContentType() [3/3]

SynthesizeSpeechResult& Aws::Polly::Model::SynthesizeSpeechResult::WithContentType ( const char *  value)
inline

Specifies the type audio stream. This should reflect the OutputFormat parameter in your request.

  • If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg.

  • If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg.

  • If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.

  • If you request json as the OutputFormat, the ContentType returned is audio/json.

Definition at line 154 of file SynthesizeSpeechResult.h.

◆ WithRequestCharacters()

SynthesizeSpeechResult& Aws::Polly::Model::SynthesizeSpeechResult::WithRequestCharacters ( int  value)
inline

Number of characters synthesized.

Definition at line 170 of file SynthesizeSpeechResult.h.


The documentation for this class was generated from the following file: