This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-transcribe/include/aws/transcribe/model/MedicalTranscriptionJobSummary.h

438 lines
16 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/transcribe/TranscribeService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/transcribe/model/LanguageCode.h>
#include <aws/transcribe/model/TranscriptionJobStatus.h>
#include <aws/transcribe/model/OutputLocationType.h>
#include <aws/transcribe/model/Specialty.h>
#include <aws/transcribe/model/Type.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace TranscribeService
{
namespace Model
{
/**
* <p>Provides summary information about a transcription job.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/MedicalTranscriptionJobSummary">AWS
* API Reference</a></p>
*/
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;
/**
* <p>The name of a medical transcription job.</p>
*/
inline const Aws::String& GetMedicalTranscriptionJobName() const{ return m_medicalTranscriptionJobName; }
/**
* <p>The name of a medical transcription job.</p>
*/
inline bool MedicalTranscriptionJobNameHasBeenSet() const { return m_medicalTranscriptionJobNameHasBeenSet; }
/**
* <p>The name of a medical transcription job.</p>
*/
inline void SetMedicalTranscriptionJobName(const Aws::String& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = value; }
/**
* <p>The name of a medical transcription job.</p>
*/
inline void SetMedicalTranscriptionJobName(Aws::String&& value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName = std::move(value); }
/**
* <p>The name of a medical transcription job.</p>
*/
inline void SetMedicalTranscriptionJobName(const char* value) { m_medicalTranscriptionJobNameHasBeenSet = true; m_medicalTranscriptionJobName.assign(value); }
/**
* <p>The name of a medical transcription job.</p>
*/
inline MedicalTranscriptionJobSummary& WithMedicalTranscriptionJobName(const Aws::String& value) { SetMedicalTranscriptionJobName(value); return *this;}
/**
* <p>The name of a medical transcription job.</p>
*/
inline MedicalTranscriptionJobSummary& WithMedicalTranscriptionJobName(Aws::String&& value) { SetMedicalTranscriptionJobName(std::move(value)); return *this;}
/**
* <p>The name of a medical transcription job.</p>
*/
inline MedicalTranscriptionJobSummary& WithMedicalTranscriptionJobName(const char* value) { SetMedicalTranscriptionJobName(value); return *this;}
/**
* <p>A timestamp that shows when the medical transcription job was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>A timestamp that shows when the medical transcription job was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>A timestamp that shows when the medical transcription job was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>A timestamp that shows when the medical transcription job was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>A timestamp that shows when the medical transcription job was created.</p>
*/
inline MedicalTranscriptionJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>A timestamp that shows when the medical transcription job was created.</p>
*/
inline MedicalTranscriptionJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>A timestamp that shows when the job began processing.</p>
*/
inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
/**
* <p>A timestamp that shows when the job began processing.</p>
*/
inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
/**
* <p>A timestamp that shows when the job began processing.</p>
*/
inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
/**
* <p>A timestamp that shows when the job began processing.</p>
*/
inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
/**
* <p>A timestamp that shows when the job began processing.</p>
*/
inline MedicalTranscriptionJobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
/**
* <p>A timestamp that shows when the job began processing.</p>
*/
inline MedicalTranscriptionJobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
/**
* <p>A timestamp that shows when the job was completed.</p>
*/
inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
/**
* <p>A timestamp that shows when the job was completed.</p>
*/
inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
/**
* <p>A timestamp that shows when the job was completed.</p>
*/
inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
/**
* <p>A timestamp that shows when the job was completed.</p>
*/
inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
/**
* <p>A timestamp that shows when the job was completed.</p>
*/
inline MedicalTranscriptionJobSummary& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;}
/**
* <p>A timestamp that shows when the job was completed.</p>
*/
inline MedicalTranscriptionJobSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
/**
* <p>The language of the transcript in the source audio file.</p>
*/
inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
/**
* <p>The language of the transcript in the source audio file.</p>
*/
inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
/**
* <p>The language of the transcript in the source audio file.</p>
*/
inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
/**
* <p>The language of the transcript in the source audio file.</p>
*/
inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
/**
* <p>The language of the transcript in the source audio file.</p>
*/
inline MedicalTranscriptionJobSummary& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
/**
* <p>The language of the transcript in the source audio file.</p>
*/
inline MedicalTranscriptionJobSummary& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
/**
* <p>The status of the medical transcription job.</p>
*/
inline const TranscriptionJobStatus& GetTranscriptionJobStatus() const{ return m_transcriptionJobStatus; }
/**
* <p>The status of the medical transcription job.</p>
*/
inline bool TranscriptionJobStatusHasBeenSet() const { return m_transcriptionJobStatusHasBeenSet; }
/**
* <p>The status of the medical transcription job.</p>
*/
inline void SetTranscriptionJobStatus(const TranscriptionJobStatus& value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = value; }
/**
* <p>The status of the medical transcription job.</p>
*/
inline void SetTranscriptionJobStatus(TranscriptionJobStatus&& value) { m_transcriptionJobStatusHasBeenSet = true; m_transcriptionJobStatus = std::move(value); }
/**
* <p>The status of the medical transcription job.</p>
*/
inline MedicalTranscriptionJobSummary& WithTranscriptionJobStatus(const TranscriptionJobStatus& value) { SetTranscriptionJobStatus(value); return *this;}
/**
* <p>The status of the medical transcription job.</p>
*/
inline MedicalTranscriptionJobSummary& WithTranscriptionJobStatus(TranscriptionJobStatus&& value) { SetTranscriptionJobStatus(std::move(value)); return *this;}
/**
* <p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a
* description of the error.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a
* description of the error.</p>
*/
inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
/**
* <p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a
* description of the error.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
/**
* <p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a
* description of the error.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
/**
* <p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a
* description of the error.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
/**
* <p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a
* description of the error.</p>
*/
inline MedicalTranscriptionJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a
* description of the error.</p>
*/
inline MedicalTranscriptionJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a
* description of the error.</p>
*/
inline MedicalTranscriptionJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>Indicates the location of the transcription job's output.</p> <p>The
* <code>CUSTOMER_BUCKET</code> is the S3 location provided in the
* <code>OutputBucketName</code> field when the </p>
*/
inline const OutputLocationType& GetOutputLocationType() const{ return m_outputLocationType; }
/**
* <p>Indicates the location of the transcription job's output.</p> <p>The
* <code>CUSTOMER_BUCKET</code> is the S3 location provided in the
* <code>OutputBucketName</code> field when the </p>
*/
inline bool OutputLocationTypeHasBeenSet() const { return m_outputLocationTypeHasBeenSet; }
/**
* <p>Indicates the location of the transcription job's output.</p> <p>The
* <code>CUSTOMER_BUCKET</code> is the S3 location provided in the
* <code>OutputBucketName</code> field when the </p>
*/
inline void SetOutputLocationType(const OutputLocationType& value) { m_outputLocationTypeHasBeenSet = true; m_outputLocationType = value; }
/**
* <p>Indicates the location of the transcription job's output.</p> <p>The
* <code>CUSTOMER_BUCKET</code> is the S3 location provided in the
* <code>OutputBucketName</code> field when the </p>
*/
inline void SetOutputLocationType(OutputLocationType&& value) { m_outputLocationTypeHasBeenSet = true; m_outputLocationType = std::move(value); }
/**
* <p>Indicates the location of the transcription job's output.</p> <p>The
* <code>CUSTOMER_BUCKET</code> is the S3 location provided in the
* <code>OutputBucketName</code> field when the </p>
*/
inline MedicalTranscriptionJobSummary& WithOutputLocationType(const OutputLocationType& value) { SetOutputLocationType(value); return *this;}
/**
* <p>Indicates the location of the transcription job's output.</p> <p>The
* <code>CUSTOMER_BUCKET</code> is the S3 location provided in the
* <code>OutputBucketName</code> field when the </p>
*/
inline MedicalTranscriptionJobSummary& WithOutputLocationType(OutputLocationType&& value) { SetOutputLocationType(std::move(value)); return *this;}
/**
* <p>The medical specialty of the transcription job. <code>Primary care</code> is
* the only valid value.</p>
*/
inline const Specialty& GetSpecialty() const{ return m_specialty; }
/**
* <p>The medical specialty of the transcription job. <code>Primary care</code> is
* the only valid value.</p>
*/
inline bool SpecialtyHasBeenSet() const { return m_specialtyHasBeenSet; }
/**
* <p>The medical specialty of the transcription job. <code>Primary care</code> is
* the only valid value.</p>
*/
inline void SetSpecialty(const Specialty& value) { m_specialtyHasBeenSet = true; m_specialty = value; }
/**
* <p>The medical specialty of the transcription job. <code>Primary care</code> is
* the only valid value.</p>
*/
inline void SetSpecialty(Specialty&& value) { m_specialtyHasBeenSet = true; m_specialty = std::move(value); }
/**
* <p>The medical specialty of the transcription job. <code>Primary care</code> is
* the only valid value.</p>
*/
inline MedicalTranscriptionJobSummary& WithSpecialty(const Specialty& value) { SetSpecialty(value); return *this;}
/**
* <p>The medical specialty of the transcription job. <code>Primary care</code> is
* the only valid value.</p>
*/
inline MedicalTranscriptionJobSummary& WithSpecialty(Specialty&& value) { SetSpecialty(std::move(value)); return *this;}
/**
* <p>The speech of the clinician in the input audio.</p>
*/
inline const Type& GetType() const{ return m_type; }
/**
* <p>The speech of the clinician in the input audio.</p>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The speech of the clinician in the input audio.</p>
*/
inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The speech of the clinician in the input audio.</p>
*/
inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The speech of the clinician in the input audio.</p>
*/
inline MedicalTranscriptionJobSummary& WithType(const Type& value) { SetType(value); return *this;}
/**
* <p>The speech of the clinician in the input audio.</p>
*/
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