/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the polly-2016-06-10.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Polly.Model
{
///
/// Description of the voice.
///
public partial class Voice
{
private List _additionalLanguageCodes = new List();
private Gender _gender;
private VoiceId _id;
private LanguageCode _languageCode;
private string _languageName;
private string _name;
private List _supportedEngines = new List();
///
/// Gets and sets the property 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
.
///
///
public List AdditionalLanguageCodes
{
get { return this._additionalLanguageCodes; }
set { this._additionalLanguageCodes = value; }
}
// Check to see if AdditionalLanguageCodes property is set
internal bool IsSetAdditionalLanguageCodes()
{
return this._additionalLanguageCodes != null && this._additionalLanguageCodes.Count > 0;
}
///
/// Gets and sets the property Gender.
///
/// Gender of the voice.
///
///
public Gender Gender
{
get { return this._gender; }
set { this._gender = value; }
}
// Check to see if Gender property is set
internal bool IsSetGender()
{
return this._gender != null;
}
///
/// Gets and sets the property Id.
///
/// Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech
/// operation.
///
///
public VoiceId Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property LanguageCode.
///
/// Language code of the voice.
///
///
public LanguageCode LanguageCode
{
get { return this._languageCode; }
set { this._languageCode = value; }
}
// Check to see if LanguageCode property is set
internal bool IsSetLanguageCode()
{
return this._languageCode != null;
}
///
/// Gets and sets the property LanguageName.
///
/// Human readable name of the language in English.
///
///
public string LanguageName
{
get { return this._languageName; }
set { this._languageName = value; }
}
// Check to see if LanguageName property is set
internal bool IsSetLanguageName()
{
return this._languageName != null;
}
///
/// Gets and sets the property Name.
///
/// Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable
/// voice name that you might display in your application.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property SupportedEngines.
///
/// Specifies which engines (standard
or neural
) that are supported
/// by a given voice.
///
///
public List SupportedEngines
{
get { return this._supportedEngines; }
set { this._supportedEngines = value; }
}
// Check to see if SupportedEngines property is set
internal bool IsSetSupportedEngines()
{
return this._supportedEngines != null && this._supportedEngines.Count > 0;
}
}
}