Skip to content

/AWS1/CL_PLYVOICE

Description of the voice.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_gender TYPE /AWS1/PLYGENDER /AWS1/PLYGENDER

Gender of the voice.

iv_id TYPE /AWS1/PLYVOICEID /AWS1/PLYVOICEID

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

iv_languagecode TYPE /AWS1/PLYLANGUAGECODE /AWS1/PLYLANGUAGECODE

Language code of the voice.

iv_languagename TYPE /AWS1/PLYLANGUAGENAME /AWS1/PLYLANGUAGENAME

Human readable name of the language in English.

iv_name TYPE /AWS1/PLYVOICENAME /AWS1/PLYVOICENAME

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

it_additionallanguagecodes TYPE /AWS1/CL_PLYLANGUAGECODELIST_W=>TT_LANGUAGECODELIST TT_LANGUAGECODELIST

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.

it_supportedengines TYPE /AWS1/CL_PLYENGINELIST_W=>TT_ENGINELIST TT_ENGINELIST

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


Queryable Attributes

Gender

Gender of the voice.

Accessible with the following methods

Method Description
GET_GENDER() Getter for GENDER, with configurable default
ASK_GENDER() Getter for GENDER w/ exceptions if field has no value
HAS_GENDER() Determine if GENDER has a value

Id

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

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

LanguageCode

Language code of the voice.

Accessible with the following methods

Method Description
GET_LANGUAGECODE() Getter for LANGUAGECODE, with configurable default
ASK_LANGUAGECODE() Getter for LANGUAGECODE w/ exceptions if field has no value
HAS_LANGUAGECODE() Determine if LANGUAGECODE has a value

LanguageName

Human readable name of the language in English.

Accessible with the following methods

Method Description
GET_LANGUAGENAME() Getter for LANGUAGENAME, with configurable default
ASK_LANGUAGENAME() Getter for LANGUAGENAME w/ exceptions if field has no value
HAS_LANGUAGENAME() Determine if LANGUAGENAME has a value

Name

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

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

AdditionalLanguageCodes

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.

Accessible with the following methods

Method Description
GET_ADDITIONALLANGUAGECODES() Getter for ADDITIONALLANGUAGECODES, with configurable defaul
ASK_ADDITIONALLANGUAGECODES() Getter for ADDITIONALLANGUAGECODES w/ exceptions if field ha
HAS_ADDITIONALLANGUAGECODES() Determine if ADDITIONALLANGUAGECODES has a value

SupportedEngines

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

Accessible with the following methods

Method Description
GET_SUPPORTEDENGINES() Getter for SUPPORTEDENGINES, with configurable default
ASK_SUPPORTEDENGINES() Getter for SUPPORTEDENGINES w/ exceptions if field has no va
HAS_SUPPORTEDENGINES() Determine if SUPPORTEDENGINES has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_VOICELIST

TYPES TT_VOICELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PLYVOICE WITH DEFAULT KEY
.