/* * 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 transcribe-2017-10-26.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.TranscribeService.Model { /// /// Provides information about a custom vocabulary, including the language of the custom /// vocabulary, when it was last modified, its name, and the processing state. /// public partial class VocabularyInfo { private LanguageCode _languageCode; private DateTime? _lastModifiedTime; private string _vocabularyName; private VocabularyState _vocabularyState; /// /// Gets and sets the property LanguageCode. /// /// The language code used to create your custom vocabulary. Each custom vocabulary must /// contain terms in only one language. /// /// /// /// A custom vocabulary can only be used to transcribe files in the same language as the /// custom vocabulary. For example, if you create a custom vocabulary using US English /// (en-US), you can only apply this custom vocabulary to files that contain /// English audio. /// /// 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 LastModifiedTime. /// /// The date and time the specified custom vocabulary was last modified. /// /// /// /// Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, /// 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, /// 2022. /// /// public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// /// Gets and sets the property VocabularyName. /// /// A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, /// cannot contain spaces, and must be unique within an Amazon Web Services account. /// /// [AWSProperty(Min=1, Max=200)] public string VocabularyName { get { return this._vocabularyName; } set { this._vocabularyName = value; } } // Check to see if VocabularyName property is set internal bool IsSetVocabularyName() { return this._vocabularyName != null; } /// /// Gets and sets the property VocabularyState. /// /// The processing state of your custom vocabulary. If the state is READY, /// you can use the custom vocabulary in a StartTranscriptionJob request. /// /// public VocabularyState VocabularyState { get { return this._vocabularyState; } set { this._vocabularyState = value; } } // Check to see if VocabularyState property is set internal bool IsSetVocabularyState() { return this._vocabularyState != null; } } }