AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Polly::Model::Voice Class Reference

#include <Voice.h>

Public Member Functions

AWS_POLLY_API Voice ()=default
 
AWS_POLLY_API Voice (Aws::Utils::Json::JsonView jsonValue)
 
AWS_POLLY_API Voiceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize () const
 
Gender GetGender () const
 
bool GenderHasBeenSet () const
 
void SetGender (Gender value)
 
 
VoiceId GetId () const
 
bool IdHasBeenSet () const
 
void SetId (VoiceId value)
 
VoiceWithId (VoiceId value)
 
 
bool LanguageCodeHasBeenSet () const
 
 
 
const Aws::StringGetLanguageName () const
 
bool LanguageNameHasBeenSet () const
 
template<typename LanguageNameT = Aws::String>
void SetLanguageName (LanguageNameT &&value)
 
template<typename LanguageNameT = Aws::String>
VoiceWithLanguageName (LanguageNameT &&value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
template<typename NameT = Aws::String>
void SetName (NameT &&value)
 
template<typename NameT = Aws::String>
VoiceWithName (NameT &&value)
 
 
 
template<typename AdditionalLanguageCodesT = Aws::Vector<LanguageCode>>
void SetAdditionalLanguageCodes (AdditionalLanguageCodesT &&value)
 
template<typename AdditionalLanguageCodesT = Aws::Vector<LanguageCode>>
VoiceWithAdditionalLanguageCodes (AdditionalLanguageCodesT &&value)
 
 
 
 
template<typename SupportedEnginesT = Aws::Vector<Engine>>
void SetSupportedEngines (SupportedEnginesT &&value)
 
template<typename SupportedEnginesT = Aws::Vector<Engine>>
VoiceWithSupportedEngines (SupportedEnginesT &&value)
 
 

Detailed Description

Description of the voice.

See Also:

AWS API Reference

Definition at line 36 of file Voice.h.

Constructor & Destructor Documentation

◆ Voice() [1/2]

AWS_POLLY_API Aws::Polly::Model::Voice::Voice ( )
default

◆ Voice() [2/2]

AWS_POLLY_API Aws::Polly::Model::Voice::Voice ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddAdditionalLanguageCodes()

Voice & Aws::Polly::Model::Voice::AddAdditionalLanguageCodes ( LanguageCode  value)
inline

Additional codes for languages available for the specified voice in addition to its default language.

For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN.

Definition at line 115 of file Voice.h.

◆ AdditionalLanguageCodesHasBeenSet()

bool Aws::Polly::Model::Voice::AdditionalLanguageCodesHasBeenSet ( ) const
inline

Additional codes for languages available for the specified voice in addition to its default language.

For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN.

Definition at line 110 of file Voice.h.

◆ AddSupportedEngines()

Voice & Aws::Polly::Model::Voice::AddSupportedEngines ( Engine  value)
inline

Specifies which engines (standard, neural, long-form or generative) are supported by a given voice.

Definition at line 130 of file Voice.h.

◆ GenderHasBeenSet()

bool Aws::Polly::Model::Voice::GenderHasBeenSet ( ) const
inline

Gender of the voice.

Definition at line 50 of file Voice.h.

◆ GetAdditionalLanguageCodes()

const Aws::Vector< LanguageCode > & Aws::Polly::Model::Voice::GetAdditionalLanguageCodes ( ) const
inline

Additional codes for languages available for the specified voice in addition to its default language.

For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN.

Definition at line 109 of file Voice.h.

◆ GetGender()

Gender Aws::Polly::Model::Voice::GetGender ( ) const
inline

Gender of the voice.

Definition at line 49 of file Voice.h.

◆ GetId()

VoiceId Aws::Polly::Model::Voice::GetId ( ) const
inline

Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech operation.

Definition at line 60 of file Voice.h.

◆ GetLanguageCode()

LanguageCode Aws::Polly::Model::Voice::GetLanguageCode ( ) const
inline

Language code of the voice.

Definition at line 70 of file Voice.h.

◆ GetLanguageName()

const Aws::String & Aws::Polly::Model::Voice::GetLanguageName ( ) const
inline

Human readable name of the language in English.

Definition at line 80 of file Voice.h.

◆ GetName()

const Aws::String & Aws::Polly::Model::Voice::GetName ( ) const
inline

Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.

Definition at line 93 of file Voice.h.

◆ GetSupportedEngines()

const Aws::Vector< Engine > & Aws::Polly::Model::Voice::GetSupportedEngines ( ) const
inline

Specifies which engines (standard, neural, long-form or generative) are supported by a given voice.

Definition at line 124 of file Voice.h.

◆ IdHasBeenSet()

bool Aws::Polly::Model::Voice::IdHasBeenSet ( ) const
inline

Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech operation.

Definition at line 61 of file Voice.h.

◆ Jsonize()

AWS_POLLY_API Aws::Utils::Json::JsonValue Aws::Polly::Model::Voice::Jsonize ( ) const

◆ LanguageCodeHasBeenSet()

bool Aws::Polly::Model::Voice::LanguageCodeHasBeenSet ( ) const
inline

Language code of the voice.

Definition at line 71 of file Voice.h.

◆ LanguageNameHasBeenSet()

bool Aws::Polly::Model::Voice::LanguageNameHasBeenSet ( ) const
inline

Human readable name of the language in English.

Definition at line 81 of file Voice.h.

◆ NameHasBeenSet()

bool Aws::Polly::Model::Voice::NameHasBeenSet ( ) const
inline

Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.

Definition at line 94 of file Voice.h.

◆ operator=()

AWS_POLLY_API Voice & Aws::Polly::Model::Voice::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAdditionalLanguageCodes()

template<typename AdditionalLanguageCodesT = Aws::Vector<LanguageCode>>
void Aws::Polly::Model::Voice::SetAdditionalLanguageCodes ( AdditionalLanguageCodesT &&  value)
inline

Additional codes for languages available for the specified voice in addition to its default language.

For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN.

Definition at line 112 of file Voice.h.

◆ SetGender()

void Aws::Polly::Model::Voice::SetGender ( Gender  value)
inline

Gender of the voice.

Definition at line 51 of file Voice.h.

◆ SetId()

void Aws::Polly::Model::Voice::SetId ( VoiceId  value)
inline

Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech operation.

Definition at line 62 of file Voice.h.

◆ SetLanguageCode()

void Aws::Polly::Model::Voice::SetLanguageCode ( LanguageCode  value)
inline

Language code of the voice.

Definition at line 72 of file Voice.h.

◆ SetLanguageName()

template<typename LanguageNameT = Aws::String>
void Aws::Polly::Model::Voice::SetLanguageName ( LanguageNameT &&  value)
inline

Human readable name of the language in English.

Definition at line 83 of file Voice.h.

◆ SetName()

template<typename NameT = Aws::String>
void Aws::Polly::Model::Voice::SetName ( NameT &&  value)
inline

Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.

Definition at line 96 of file Voice.h.

◆ SetSupportedEngines()

template<typename SupportedEnginesT = Aws::Vector<Engine>>
void Aws::Polly::Model::Voice::SetSupportedEngines ( SupportedEnginesT &&  value)
inline

Specifies which engines (standard, neural, long-form or generative) are supported by a given voice.

Definition at line 127 of file Voice.h.

◆ SupportedEnginesHasBeenSet()

bool Aws::Polly::Model::Voice::SupportedEnginesHasBeenSet ( ) const
inline

Specifies which engines (standard, neural, long-form or generative) are supported by a given voice.

Definition at line 125 of file Voice.h.

◆ WithAdditionalLanguageCodes()

template<typename AdditionalLanguageCodesT = Aws::Vector<LanguageCode>>
Voice & Aws::Polly::Model::Voice::WithAdditionalLanguageCodes ( AdditionalLanguageCodesT &&  value)
inline

Additional codes for languages available for the specified voice in addition to its default language.

For example, the default language for Aditi is Indian English (en-IN) because it was first used for that language. Since Aditi is bilingual and fluent in both Indian English and Hindi, this parameter would show the code hi-IN.

Definition at line 114 of file Voice.h.

◆ WithGender()

Voice & Aws::Polly::Model::Voice::WithGender ( Gender  value)
inline

Gender of the voice.

Definition at line 52 of file Voice.h.

◆ WithId()

Voice & Aws::Polly::Model::Voice::WithId ( VoiceId  value)
inline

Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech operation.

Definition at line 63 of file Voice.h.

◆ WithLanguageCode()

Voice & Aws::Polly::Model::Voice::WithLanguageCode ( LanguageCode  value)
inline

Language code of the voice.

Definition at line 73 of file Voice.h.

◆ WithLanguageName()

template<typename LanguageNameT = Aws::String>
Voice & Aws::Polly::Model::Voice::WithLanguageName ( LanguageNameT &&  value)
inline

Human readable name of the language in English.

Definition at line 85 of file Voice.h.

◆ WithName()

template<typename NameT = Aws::String>
Voice & Aws::Polly::Model::Voice::WithName ( NameT &&  value)
inline

Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.

Definition at line 98 of file Voice.h.

◆ WithSupportedEngines()

template<typename SupportedEnginesT = Aws::Vector<Engine>>
Voice & Aws::Polly::Model::Voice::WithSupportedEngines ( SupportedEnginesT &&  value)
inline

Specifies which engines (standard, neural, long-form or generative) are supported by a given voice.

Definition at line 129 of file Voice.h.


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