/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace TranscribeService { namespace 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.

See Also:

AWS * API Reference

*/ class MedicalTranscriptionJob { public: AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob(); AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob(Aws::Utils::Json::JsonView jsonValue); AWS_TRANSCRIBESERVICE_API MedicalTranscriptionJob& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the medical transcription job. Job names are case sensitive and * must be unique within an Amazon Web Services account.

*/ inline const Aws::String& GetMedicalTranscriptionJobName() const{ return m_medicalTranscriptionJobName; } /** *

The name of the medical transcription job. Job names are case sensitive and * must be unique within an Amazon Web Services account.

*/ inline bool MedicalTranscriptionJobNameHasBeenSet() const { return m_medicalTranscriptionJobNameHasBeenSet; } /** *

The name of the medical transcription job. Job names are case sensitive and * must be unique within an Amazon Web Services account.

*/ inline void SetMedicalTranscriptionJobName(const Aws::String& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = value; } /** *

The name of the medical transcription job. Job names are case sensitive and * must be unique within an Amazon Web Services account.

*/ inline void SetMedicalTranscriptionJobName(Aws::String&& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = std::move(value); } /** *

The name of the medical transcription job. Job names are case sensitive and * must be unique within an Amazon Web Services account.

*/ inline void SetMedicalTranscriptionJobName(const char* value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName.assign(value); } /** *

The name of the medical transcription job. Job names are case sensitive and * must be unique within an Amazon Web Services account.

*/ inline MedicalTranscriptionJob& WithMedicalTranscriptionJobName(const Aws::String& value) { SetMedicalTranscriptionJobName(value); return *this;} /** *

The name of the medical transcription job. Job names are case sensitive and * must be unique within an Amazon Web Services account.

*/ inline MedicalTranscriptionJob& WithMedicalTranscriptionJobName(Aws::String&& value) { SetMedicalTranscriptionJobName(std::move(value)); return *this;} /** *

The name of the medical transcription job. Job names are case sensitive and * must be unique within an Amazon Web Services account.

*/ inline MedicalTranscriptionJob& WithMedicalTranscriptionJobName(const char* value) { SetMedicalTranscriptionJobName(value); return *this;} /** *

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.

*/ inline const TranscriptionJobStatus& GetTranscriptionJobStatus() const{ return m_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.

*/ inline bool TranscriptionJobStatusHasBeenSet() const { return m_transcriptionJobStatusHasBeenSet; } /** *

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.

*/ inline void SetTranscriptionJobStatus(const TranscriptionJobStatus& value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = value; } /** *

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.

*/ inline void SetTranscriptionJobStatus(TranscriptionJobStatus&& value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = std::move(value); } /** *

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.

*/ inline MedicalTranscriptionJob& WithTranscriptionJobStatus(const TranscriptionJobStatus& value) { SetTranscriptionJobStatus(value); return *this;} /** *

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.

*/ inline MedicalTranscriptionJob& WithTranscriptionJobStatus(TranscriptionJobStatus&& value) { SetTranscriptionJobStatus(std::move(value)); return *this;} /** *

The language code used to create your medical transcription job. US English * (en-US) is the only supported language for medical * transcriptions.

*/ inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; } /** *

The language code used to create your medical transcription job. US English * (en-US) is the only supported language for medical * transcriptions.

*/ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** *

The language code used to create your medical transcription job. US English * (en-US) is the only supported language for medical * transcriptions.

*/ inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** *

The language code used to create your medical transcription job. US English * (en-US) is the only supported language for medical * transcriptions.

*/ inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** *

The language code used to create your medical transcription job. US English * (en-US) is the only supported language for medical * transcriptions.

*/ inline MedicalTranscriptionJob& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;} /** *

The language code used to create your medical transcription job. US English * (en-US) is the only supported language for medical * transcriptions.

*/ inline MedicalTranscriptionJob& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} /** *

The sample rate, in hertz, of the audio track in your input media file.

*/ inline int GetMediaSampleRateHertz() const{ return m_mediaSampleRateHertz; } /** *

The sample rate, in hertz, of the audio track in your input media file.

*/ inline bool MediaSampleRateHertzHasBeenSet() const { return m_mediaSampleRateHertzHasBeenSet; } /** *

The sample rate, in hertz, of the audio track in your input media file.

*/ inline void SetMediaSampleRateHertz(int value) { m_mediaSampleRateHertzHasBeenSet = true; m_mediaSampleRateHertz = value; } /** *

The sample rate, in hertz, of the audio track in your input media file.

*/ inline MedicalTranscriptionJob& WithMediaSampleRateHertz(int value) { SetMediaSampleRateHertz(value); return *this;} /** *

The format of the input media file.

*/ inline const MediaFormat& GetMediaFormat() const{ return m_mediaFormat; } /** *

The format of the input media file.

*/ inline bool MediaFormatHasBeenSet() const { return m_mediaFormatHasBeenSet; } /** *

The format of the input media file.

*/ inline void SetMediaFormat(const MediaFormat& value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = value; } /** *

The format of the input media file.

*/ inline void SetMediaFormat(MediaFormat&& value) { m_mediaFormatHasBeenSet = true; m_mediaFormat = std::move(value); } /** *

The format of the input media file.

*/ inline MedicalTranscriptionJob& WithMediaFormat(const MediaFormat& value) { SetMediaFormat(value); return *this;} /** *

The format of the input media file.

*/ inline MedicalTranscriptionJob& WithMediaFormat(MediaFormat&& value) { SetMediaFormat(std::move(value)); return *this;} inline const Media& GetMedia() const{ return m_media; } inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; } inline void SetMedia(const Media& value) { m_mediaHasBeenSet = true; m_media = value; } inline void SetMedia(Media&& value) { m_mediaHasBeenSet = true; m_media = std::move(value); } inline MedicalTranscriptionJob& WithMedia(const Media& value) { SetMedia(value); return *this;} inline MedicalTranscriptionJob& WithMedia(Media&& value) { SetMedia(std::move(value)); return *this;} /** *

Provides you with the Amazon S3 URI you can use to access your * transcript.

*/ inline const MedicalTranscript& GetTranscript() const{ return m_transcript; } /** *

Provides you with the Amazon S3 URI you can use to access your * transcript.

*/ inline bool TranscriptHasBeenSet() const { return m_transcriptHasBeenSet; } /** *

Provides you with the Amazon S3 URI you can use to access your * transcript.

*/ inline void SetTranscript(const MedicalTranscript& value) { m_transcriptHasBeenSet = true; m_transcript = value; } /** *

Provides you with the Amazon S3 URI you can use to access your * transcript.

*/ inline void SetTranscript(MedicalTranscript&& value) { m_transcriptHasBeenSet = true; m_transcript = std::move(value); } /** *

Provides you with the Amazon S3 URI you can use to access your * transcript.

*/ inline MedicalTranscriptionJob& WithTranscript(const MedicalTranscript& value) { SetTranscript(value); return *this;} /** *

Provides you with the Amazon S3 URI you can use to access your * transcript.

*/ inline MedicalTranscriptionJob& WithTranscript(MedicalTranscript&& value) { SetTranscript(std::move(value)); return *this;} /** *

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.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_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.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

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.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

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.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

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.

*/ inline MedicalTranscriptionJob& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

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.

*/ inline MedicalTranscriptionJob& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

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.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_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.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

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.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

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.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

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.

*/ inline MedicalTranscriptionJob& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

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.

*/ inline MedicalTranscriptionJob& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

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.

*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_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.

*/ inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *

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.

*/ inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } /** *

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.

*/ inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } /** *

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.

*/ inline MedicalTranscriptionJob& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *

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.

*/ inline MedicalTranscriptionJob& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} /** *

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.

*/ inline const Aws::String& GetFailureReason() const{ return m_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.

*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *

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.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *

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.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *

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.

*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *

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.

*/ inline MedicalTranscriptionJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

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.

*/ inline MedicalTranscriptionJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

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.

*/ inline MedicalTranscriptionJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

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.

*/ inline const MedicalTranscriptionSetting& GetSettings() const{ return m_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.

*/ inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; } /** *

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.

*/ inline void SetSettings(const MedicalTranscriptionSetting& value) { m_settingsHasBeenSet = true; m_settings = value; } /** *

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.

*/ inline void SetSettings(MedicalTranscriptionSetting&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); } /** *

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.

*/ inline MedicalTranscriptionJob& WithSettings(const MedicalTranscriptionSetting& value) { SetSettings(value); return *this;} /** *

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.

*/ inline MedicalTranscriptionJob& WithSettings(MedicalTranscriptionSetting&& value) { SetSettings(std::move(value)); return *this;} /** *

Indicates whether content identification was enabled for your transcription * request.

*/ inline const MedicalContentIdentificationType& GetContentIdentificationType() const{ return m_contentIdentificationType; } /** *

Indicates whether content identification was enabled for your transcription * request.

*/ inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; } /** *

Indicates whether content identification was enabled for your transcription * request.

*/ inline void SetContentIdentificationType(const MedicalContentIdentificationType& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = value; } /** *

Indicates whether content identification was enabled for your transcription * request.

*/ inline void SetContentIdentificationType(MedicalContentIdentificationType&& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = std::move(value); } /** *

Indicates whether content identification was enabled for your transcription * request.

*/ inline MedicalTranscriptionJob& WithContentIdentificationType(const MedicalContentIdentificationType& value) { SetContentIdentificationType(value); return *this;} /** *

Indicates whether content identification was enabled for your transcription * request.

*/ inline MedicalTranscriptionJob& WithContentIdentificationType(MedicalContentIdentificationType&& value) { SetContentIdentificationType(std::move(value)); return *this;} /** *

Describes the medical specialty represented in your media.

*/ inline const Specialty& GetSpecialty() const{ return m_specialty; } /** *

Describes the medical specialty represented in your media.

*/ inline bool SpecialtyHasBeenSet() const { return m_specialtyHasBeenSet; } /** *

Describes the medical specialty represented in your media.

*/ inline void SetSpecialty(const Specialty& value) { m_specialtyHasBeenSet = true; m_specialty = value; } /** *

Describes the medical specialty represented in your media.

*/ inline void SetSpecialty(Specialty&& value) { m_specialtyHasBeenSet = true; m_specialty = std::move(value); } /** *

Describes the medical specialty represented in your media.

*/ inline MedicalTranscriptionJob& WithSpecialty(const Specialty& value) { SetSpecialty(value); return *this;} /** *

Describes the medical specialty represented in your media.

*/ inline MedicalTranscriptionJob& WithSpecialty(Specialty&& value) { SetSpecialty(std::move(value)); return *this;} /** *

Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request.

*/ inline const Type& GetType() const{ return m_type; } /** *

Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request.

*/ inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } /** *

Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request.

*/ inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request.

*/ inline MedicalTranscriptionJob& WithType(const Type& value) { SetType(value); return *this;} /** *

Indicates whether the input media is a dictation or a conversation, as * specified in the StartMedicalTranscriptionJob request.

*/ inline MedicalTranscriptionJob& WithType(Type&& value) { SetType(std::move(value)); return *this;} /** *

The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job.

*/ inline MedicalTranscriptionJob& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job.

*/ inline MedicalTranscriptionJob& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job.

*/ inline MedicalTranscriptionJob& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags, each in the form of a key:value pair, assigned to the specified * medical transcription job.

*/ inline MedicalTranscriptionJob& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_medicalTranscriptionJobName; bool m_medicalTranscriptionJobNameHasBeenSet = false; TranscriptionJobStatus m_transcriptionJobStatus; bool m_transcriptionJobStatusHasBeenSet = false; LanguageCode m_languageCode; bool m_languageCodeHasBeenSet = false; int m_mediaSampleRateHertz; bool m_mediaSampleRateHertzHasBeenSet = false; MediaFormat m_mediaFormat; bool m_mediaFormatHasBeenSet = false; Media m_media; bool m_mediaHasBeenSet = false; MedicalTranscript m_transcript; bool m_transcriptHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; MedicalTranscriptionSetting m_settings; bool m_settingsHasBeenSet = false; MedicalContentIdentificationType m_contentIdentificationType; bool m_contentIdentificationTypeHasBeenSet = false; Specialty m_specialty; bool m_specialtyHasBeenSet = false; Type m_type; bool m_typeHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws