/* * 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 { /// /// Contains metadata describing the lexicon such as the number of lexemes, language code, /// and so on. For more information, see Managing /// Lexicons. /// public partial class LexiconAttributes { private string _alphabet; private LanguageCode _languageCode; private DateTime? _lastModified; private int? _lexemesCount; private string _lexiconArn; private int? _size; /// /// Gets and sets the property Alphabet. /// /// Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa. /// /// public string Alphabet { get { return this._alphabet; } set { this._alphabet = value; } } // Check to see if Alphabet property is set internal bool IsSetAlphabet() { return this._alphabet != null; } /// /// Gets and sets the property LanguageCode. /// /// Language code that the lexicon applies to. A lexicon with a language code such as /// "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and /// so on. /// /// 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 LastModified. /// /// Date lexicon was last modified (a timestamp value). /// /// public DateTime LastModified { get { return this._lastModified.GetValueOrDefault(); } set { this._lastModified = value; } } // Check to see if LastModified property is set internal bool IsSetLastModified() { return this._lastModified.HasValue; } /// /// Gets and sets the property LexemesCount. /// /// Number of lexemes in the lexicon. /// /// public int LexemesCount { get { return this._lexemesCount.GetValueOrDefault(); } set { this._lexemesCount = value; } } // Check to see if LexemesCount property is set internal bool IsSetLexemesCount() { return this._lexemesCount.HasValue; } /// /// Gets and sets the property LexiconArn. /// /// Amazon Resource Name (ARN) of the lexicon. /// /// public string LexiconArn { get { return this._lexiconArn; } set { this._lexiconArn = value; } } // Check to see if LexiconArn property is set internal bool IsSetLexiconArn() { return this._lexiconArn != null; } /// /// Gets and sets the property Size. /// /// Total size of the lexicon, in characters. /// /// public int Size { get { return this._size.GetValueOrDefault(); } set { this._size = value; } } // Check to see if Size property is set internal bool IsSetSize() { return this._size.HasValue; } } }