/* * 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 { /// /// This is the response object from the CreateVocabulary operation. /// public partial class CreateVocabularyResponse : AmazonWebServiceResponse { private string _failureReason; private LanguageCode _languageCode; private DateTime? _lastModifiedTime; private string _vocabularyName; private VocabularyState _vocabularyState; /// /// Gets and sets the property FailureReason. /// /// If VocabularyState is FAILED, FailureReason /// contains information about why the custom vocabulary request failed. See also: Common /// Errors. /// /// public string FailureReason { get { return this._failureReason; } set { this._failureReason = value; } } // Check to see if FailureReason property is set internal bool IsSetFailureReason() { return this._failureReason != null; } /// /// Gets and sets the property LanguageCode. /// /// The language code you selected for your custom vocabulary. /// /// 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 you created your custom vocabulary. /// /// /// /// 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. /// /// The name you chose for your custom vocabulary. /// /// [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; } } }