/* * 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 GetMedicalVocabulary operation. /// public partial class GetMedicalVocabularyResponse : AmazonWebServiceResponse { private string _downloadUri; private string _failureReason; private LanguageCode _languageCode; private DateTime? _lastModifiedTime; private string _vocabularyName; private VocabularyState _vocabularyState; /// /// Gets and sets the property DownloadUri. /// /// The S3 location where the specified custom medical vocabulary is stored; use this /// URI to view or download the custom vocabulary. /// /// [AWSProperty(Min=1, Max=2000)] public string DownloadUri { get { return this._downloadUri; } set { this._downloadUri = value; } } // Check to see if DownloadUri property is set internal bool IsSetDownloadUri() { return this._downloadUri != null; } /// /// Gets and sets the property FailureReason. /// /// If VocabularyState is FAILED, FailureReason /// contains information about why the custom medical 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 medical vocabulary. US English (en-US) /// is the only language supported with Amazon Transcribe Medical. /// /// 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 medical 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. /// /// The name of the custom medical vocabulary you requested information about. /// /// [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 medical vocabulary. If the state is READY, /// you can use the custom vocabulary in a StartMedicalTranscriptionJob 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; } } }