/* * 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 detailed information about a medical transcription job. /// /// /// /// To view the status of the specified medical transcription job, check the TranscriptionJobStatus /// field. If the status is COMPLETED, the job is finished and you can find /// the results at the location specified in TranscriptFileUri. If the status /// is FAILED, FailureReason provides details on why your transcription /// job failed. /// /// public partial class MedicalTranscriptionJob { private DateTime? _completionTime; private MedicalContentIdentificationType _contentIdentificationType; private DateTime? _creationTime; private string _failureReason; private LanguageCode _languageCode; private Media _media; private MediaFormat _mediaFormat; private int? _mediaSampleRateHertz; private string _medicalTranscriptionJobName; private MedicalTranscriptionSetting _settings; private Specialty _specialty; private DateTime? _startTime; private List _tags = new List(); private MedicalTranscript _transcript; private TranscriptionJobStatus _transcriptionJobStatus; private Type _type; /// /// Gets and sets the property CompletionTime. /// /// The date and time the specified medical transcription job finished processing. /// /// /// /// Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, /// 2022-05-04T12:33:13.922000-07:00 represents a transcription job that /// started processing at 12:33 PM UTC-7 on May 4, 2022. /// /// public DateTime CompletionTime { get { return this._completionTime.GetValueOrDefault(); } set { this._completionTime = value; } } // Check to see if CompletionTime property is set internal bool IsSetCompletionTime() { return this._completionTime.HasValue; } /// /// Gets and sets the property ContentIdentificationType. /// /// Indicates whether content identification was enabled for your transcription request. /// /// public MedicalContentIdentificationType ContentIdentificationType { get { return this._contentIdentificationType; } set { this._contentIdentificationType = value; } } // Check to see if ContentIdentificationType property is set internal bool IsSetContentIdentificationType() { return this._contentIdentificationType != null; } /// /// Gets and sets the property CreationTime. /// /// The date and time the specified medical transcription job request was made. /// /// /// /// 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 a transcription job that /// started processing at 12:32 PM UTC-7 on May 4, 2022. /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property FailureReason. /// /// If TranscriptionJobStatus is FAILED, FailureReason /// contains information about why the transcription job request failed. /// /// /// /// The FailureReason field contains one of the following values: /// ///
  • /// /// Unsupported media format. /// /// /// /// The media format specified in MediaFormat isn't valid. Refer to MediaFormat /// for a list of supported formats. /// ///
  • /// /// The media format provided does not match the detected media format. /// /// /// /// The media format specified in MediaFormat doesn't match the format of /// the input file. Check the media format of your media file and correct the specified /// value. /// ///
  • /// /// Invalid sample rate for audio file. /// /// /// /// The sample rate specified in MediaSampleRateHertz isn't valid. The sample /// rate must be between 16,000 and 48,000 hertz. /// ///
  • /// /// The sample rate provided does not match the detected sample rate. /// /// /// /// The sample rate specified in MediaSampleRateHertz doesn't match the sample /// rate detected in your input media file. Check the sample rate of your media file and /// correct the specified value. /// ///
  • /// /// Invalid file size: file size too large. /// /// /// /// The size of your media file is larger than what Amazon Transcribe can process. For /// more information, refer to Guidelines /// and quotas. /// ///
  • /// /// Invalid number of channels: number of channels too large. /// /// /// /// Your audio contains more channels than Amazon Transcribe is able to process. For more /// information, refer to Guidelines /// and quotas. /// ///
///
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 used to create your medical transcription job. US English (en-US) /// is the only supported language for medical transcriptions. /// /// 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 Media. /// public Media Media { get { return this._media; } set { this._media = value; } } // Check to see if Media property is set internal bool IsSetMedia() { return this._media != null; } /// /// Gets and sets the property MediaFormat. /// /// The format of the input media file. /// /// public MediaFormat MediaFormat { get { return this._mediaFormat; } set { this._mediaFormat = value; } } // Check to see if MediaFormat property is set internal bool IsSetMediaFormat() { return this._mediaFormat != null; } /// /// Gets and sets the property MediaSampleRateHertz. /// /// The sample rate, in hertz, of the audio track in your input media file. /// /// [AWSProperty(Min=16000, Max=48000)] public int MediaSampleRateHertz { get { return this._mediaSampleRateHertz.GetValueOrDefault(); } set { this._mediaSampleRateHertz = value; } } // Check to see if MediaSampleRateHertz property is set internal bool IsSetMediaSampleRateHertz() { return this._mediaSampleRateHertz.HasValue; } /// /// Gets and sets the property MedicalTranscriptionJobName. /// /// The name of the medical transcription job. Job names are case sensitive and must be /// unique within an Amazon Web Services account. /// /// [AWSProperty(Min=1, Max=200)] public string MedicalTranscriptionJobName { get { return this._medicalTranscriptionJobName; } set { this._medicalTranscriptionJobName = value; } } // Check to see if MedicalTranscriptionJobName property is set internal bool IsSetMedicalTranscriptionJobName() { return this._medicalTranscriptionJobName != null; } /// /// Gets and sets the property Settings. /// /// Provides information on any additional settings that were included in your request. /// Additional settings include channel identification, alternative transcriptions, speaker /// partitioning, custom vocabularies, and custom vocabulary filters. /// /// public MedicalTranscriptionSetting Settings { get { return this._settings; } set { this._settings = value; } } // Check to see if Settings property is set internal bool IsSetSettings() { return this._settings != null; } /// /// Gets and sets the property Specialty. /// /// Describes the medical specialty represented in your media. /// /// public Specialty Specialty { get { return this._specialty; } set { this._specialty = value; } } // Check to see if Specialty property is set internal bool IsSetSpecialty() { return this._specialty != null; } /// /// Gets and sets the property StartTime. /// /// The date and time the specified medical transcription job began processing. /// /// /// /// Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, /// 2022-05-04T12:32:58.789000-07:00 represents a transcription job that /// started processing at 12:32 PM UTC-7 on May 4, 2022. /// /// public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } /// /// Gets and sets the property Tags. /// /// The tags, each in the form of a key:value pair, assigned to the specified medical /// transcription job. /// /// [AWSProperty(Min=1, Max=200)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property Transcript. /// /// Provides you with the Amazon S3 URI you can use to access your transcript. /// /// public MedicalTranscript Transcript { get { return this._transcript; } set { this._transcript = value; } } // Check to see if Transcript property is set internal bool IsSetTranscript() { return this._transcript != null; } /// /// Gets and sets the property TranscriptionJobStatus. /// /// Provides the status of the specified medical transcription job. /// /// /// /// If the status is COMPLETED, the job is finished and you can find the /// results at the location specified in TranscriptFileUri. If the status /// is FAILED, FailureReason provides details on why your transcription /// job failed. /// /// public TranscriptionJobStatus TranscriptionJobStatus { get { return this._transcriptionJobStatus; } set { this._transcriptionJobStatus = value; } } // Check to see if TranscriptionJobStatus property is set internal bool IsSetTranscriptionJobStatus() { return this._transcriptionJobStatus != null; } /// /// Gets and sets the property Type. /// /// Indicates whether the input media is a dictation or a conversation, as specified in /// the StartMedicalTranscriptionJob request. /// /// public Type Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }