/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace TranscribeService { namespace Model { /** *

Provides summary information about a transcription job.

See * Also:

AWS * API Reference

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

The name of a medical transcription job.

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

The name of a medical transcription job.

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

The name of a medical transcription job.

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

The name of a medical transcription job.

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

The name of a medical transcription job.

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

The name of a medical transcription job.

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

The name of a medical transcription job.

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

The name of a medical transcription job.

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

A timestamp that shows when the medical transcription job was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

A timestamp that shows when the medical transcription job was created.

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

A timestamp that shows when the medical transcription job was created.

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

A timestamp that shows when the medical transcription job was created.

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

A timestamp that shows when the medical transcription job was created.

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

A timestamp that shows when the medical transcription job was created.

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

A timestamp that shows when the job began processing.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

A timestamp that shows when the job began processing.

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

A timestamp that shows when the job began processing.

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

A timestamp that shows when the job began processing.

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

A timestamp that shows when the job began processing.

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

A timestamp that shows when the job began processing.

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

A timestamp that shows when the job was completed.

*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } /** *

A timestamp that shows when the job was completed.

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

A timestamp that shows when the job was completed.

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

A timestamp that shows when the job was completed.

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

A timestamp that shows when the job was completed.

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

A timestamp that shows when the job was completed.

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

The language of the transcript in the source audio file.

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

The language of the transcript in the source audio file.

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

The language of the transcript in the source audio file.

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

The language of the transcript in the source audio file.

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

The language of the transcript in the source audio file.

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

The language of the transcript in the source audio file.

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

The status of the medical transcription job.

*/ inline const TranscriptionJobStatus& GetTranscriptionJobStatus() const{ return m_transcriptionJobStatus; } /** *

The status of the medical transcription job.

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

The status of the medical transcription job.

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

The status of the medical transcription job.

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

The status of the medical transcription job.

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

The status of the medical transcription job.

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

If the TranscriptionJobStatus field is FAILED, a * description of the error.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

If the TranscriptionJobStatus field is FAILED, a * description of the error.

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

If the TranscriptionJobStatus field is FAILED, a * description of the error.

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

If the TranscriptionJobStatus field is FAILED, a * description of the error.

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

If the TranscriptionJobStatus field is FAILED, a * description of the error.

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

If the TranscriptionJobStatus field is FAILED, a * description of the error.

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

If the TranscriptionJobStatus field is FAILED, a * description of the error.

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

If the TranscriptionJobStatus field is FAILED, a * description of the error.

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

Indicates the location of the transcription job's output.

The * CUSTOMER_BUCKET is the S3 location provided in the * OutputBucketName field when the

*/ inline const OutputLocationType& GetOutputLocationType() const{ return m_outputLocationType; } /** *

Indicates the location of the transcription job's output.

The * CUSTOMER_BUCKET is the S3 location provided in the * OutputBucketName field when the

*/ inline bool OutputLocationTypeHasBeenSet() const { return m_outputLocationTypeHasBeenSet; } /** *

Indicates the location of the transcription job's output.

The * CUSTOMER_BUCKET is the S3 location provided in the * OutputBucketName field when the

*/ inline void SetOutputLocationType(const OutputLocationType& value) { m_outputLocationTypeHasBeenSet = true; m_outputLocationType = value; } /** *

Indicates the location of the transcription job's output.

The * CUSTOMER_BUCKET is the S3 location provided in the * OutputBucketName field when the

*/ inline void SetOutputLocationType(OutputLocationType&& value) { m_outputLocationTypeHasBeenSet = true; m_outputLocationType = std::move(value); } /** *

Indicates the location of the transcription job's output.

The * CUSTOMER_BUCKET is the S3 location provided in the * OutputBucketName field when the

*/ inline MedicalTranscriptionJobSummary& WithOutputLocationType(const OutputLocationType& value) { SetOutputLocationType(value); return *this;} /** *

Indicates the location of the transcription job's output.

The * CUSTOMER_BUCKET is the S3 location provided in the * OutputBucketName field when the

*/ inline MedicalTranscriptionJobSummary& WithOutputLocationType(OutputLocationType&& value) { SetOutputLocationType(std::move(value)); return *this;} /** *

The medical specialty of the transcription job. Primary care is * the only valid value.

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

The medical specialty of the transcription job. Primary care is * the only valid value.

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

The medical specialty of the transcription job. Primary care is * the only valid value.

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

The medical specialty of the transcription job. Primary care is * the only valid value.

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

The medical specialty of the transcription job. Primary care is * the only valid value.

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

The medical specialty of the transcription job. Primary care is * the only valid value.

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

The speech of the clinician in the input audio.

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

The speech of the clinician in the input audio.

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

The speech of the clinician in the input audio.

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

The speech of the clinician in the input audio.

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

The speech of the clinician in the input audio.

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

The speech of the clinician in the input audio.

*/ inline MedicalTranscriptionJobSummary& WithType(Type&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_medicalTranscriptionJobName; bool m_medicalTranscriptionJobNameHasBeenSet; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet; LanguageCode m_languageCode; bool m_languageCodeHasBeenSet; TranscriptionJobStatus m_transcriptionJobStatus; bool m_transcriptionJobStatusHasBeenSet; Aws::String m_failureReason; bool m_failureReasonHasBeenSet; OutputLocationType m_outputLocationType; bool m_outputLocationTypeHasBeenSet; Specialty m_specialty; bool m_specialtyHasBeenSet; Type m_type; bool m_typeHasBeenSet; }; } // namespace Model } // namespace TranscribeService } // namespace Aws