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

Describes an asynchronous transcription job that was created with the * StartTranscriptionJob operation.

See Also:

AWS * API Reference

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

The name of the transcription job.

*/ inline const Aws::String& GetTranscriptionJobName() const{ return m_transcriptionJobName; } /** *

The name of the transcription job.

*/ inline bool TranscriptionJobNameHasBeenSet() const { return m_transcriptionJobNameHasBeenSet; } /** *

The name of the transcription job.

*/ inline void SetTranscriptionJobName(const Aws::String& value) { m_transcriptionJobNameHasBeenSet = true; m_transcriptionJobName = value; } /** *

The name of the transcription job.

*/ inline void SetTranscriptionJobName(Aws::String&& value) { m_transcriptionJobNameHasBeenSet = true; m_transcriptionJobName = std::move(value); } /** *

The name of the transcription job.

*/ inline void SetTranscriptionJobName(const char* value) { m_transcriptionJobNameHasBeenSet = true; m_transcriptionJobName.assign(value); } /** *

The name of the transcription job.

*/ inline TranscriptionJob& WithTranscriptionJobName(const Aws::String& value) { SetTranscriptionJobName(value); return *this;} /** *

The name of the transcription job.

*/ inline TranscriptionJob& WithTranscriptionJobName(Aws::String&& value) { SetTranscriptionJobName(std::move(value)); return *this;} /** *

The name of the transcription job.

*/ inline TranscriptionJob& WithTranscriptionJobName(const char* value) { SetTranscriptionJobName(value); return *this;} /** *

The status of the transcription job.

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

The status of the transcription job.

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

The status of the transcription job.

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

The status of the transcription job.

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

The status of the transcription job.

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

The status of the transcription job.

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

The language code for the input speech.

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

The language code for the input speech.

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

The language code for the input speech.

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

The language code for the input speech.

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

The language code for the input speech.

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

The language code for the input speech.

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

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

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

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

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

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

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

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

*/ inline TranscriptionJob& 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 TranscriptionJob& WithMediaFormat(const MediaFormat& value) { SetMediaFormat(value); return *this;} /** *

The format of the input media file.

*/ inline TranscriptionJob& WithMediaFormat(MediaFormat&& value) { SetMediaFormat(std::move(value)); return *this;} /** *

An object that describes the input media for the transcription job.

*/ inline const Media& GetMedia() const{ return m_media; } /** *

An object that describes the input media for the transcription job.

*/ inline bool MediaHasBeenSet() const { return m_mediaHasBeenSet; } /** *

An object that describes the input media for the transcription job.

*/ inline void SetMedia(const Media& value) { m_mediaHasBeenSet = true; m_media = value; } /** *

An object that describes the input media for the transcription job.

*/ inline void SetMedia(Media&& value) { m_mediaHasBeenSet = true; m_media = std::move(value); } /** *

An object that describes the input media for the transcription job.

*/ inline TranscriptionJob& WithMedia(const Media& value) { SetMedia(value); return *this;} /** *

An object that describes the input media for the transcription job.

*/ inline TranscriptionJob& WithMedia(Media&& value) { SetMedia(std::move(value)); return *this;} /** *

An object that describes the output of the transcription job.

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

An object that describes the output of the transcription job.

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

An object that describes the output of the transcription job.

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

An object that describes the output of the transcription job.

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

An object that describes the output of the transcription job.

*/ inline TranscriptionJob& WithTranscript(const Transcript& value) { SetTranscript(value); return *this;} /** *

An object that describes the output of the transcription job.

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

A timestamp that shows with the job was started processing.

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

A timestamp that shows with the job was started processing.

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

A timestamp that shows with the job was started processing.

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

A timestamp that shows with the job was started processing.

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

A timestamp that shows with the job was started processing.

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

A timestamp that shows with the job was started processing.

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

A timestamp that shows when the job was created.

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

A timestamp that shows when the job was created.

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

A timestamp that shows when the job was created.

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

A timestamp that shows when the job was created.

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

A timestamp that shows when the job was created.

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

A timestamp that shows when the job was created.

*/ inline TranscriptionJob& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(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 TranscriptionJob& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *

A timestamp that shows when the job was completed.

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

If the TranscriptionJobStatus field is FAILED, this * field contains information about why the job failed.

The * FailureReason field can contain one of the following values:

*
  • Unsupported media format - The media format specified * in the MediaFormat field of the request isn't valid. See the * description of the MediaFormat field for a list of valid * values.

  • The media format provided does not match the * detected media format - The media format of the audio file doesn't match * the format specified in the MediaFormat field in the request. Check * the media format of your media file and make sure that the two values match.

    *
  • Invalid sample rate for audio file - The sample rate * specified in the MediaSampleRateHertz of the request isn't valid. * The sample rate must be between 8000 and 48000 Hertz.

  • * The sample rate provided does not match the detected sample rate - * The sample rate in the audio file doesn't match the sample rate specified in the * MediaSampleRateHertz field in the request. Check the sample rate of * your media file and make sure that the two values match.

  • * Invalid file size: file size too large - The size of your audio * file is larger than Amazon Transcribe can process. For more information, see Limits * in the Amazon Transcribe Developer Guide.

  • * Invalid number of channels: number of channels too large - Your * audio contains more channels than Amazon Transcribe is configured to process. To * request additional channels, see Amazon * Transcribe Limits in the Amazon Web Services General Reference.

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

If the TranscriptionJobStatus field is FAILED, this * field contains information about why the job failed.

The * FailureReason field can contain one of the following values:

*
  • Unsupported media format - The media format specified * in the MediaFormat field of the request isn't valid. See the * description of the MediaFormat field for a list of valid * values.

  • The media format provided does not match the * detected media format - The media format of the audio file doesn't match * the format specified in the MediaFormat field in the request. Check * the media format of your media file and make sure that the two values match.

    *
  • Invalid sample rate for audio file - The sample rate * specified in the MediaSampleRateHertz of the request isn't valid. * The sample rate must be between 8000 and 48000 Hertz.

  • * The sample rate provided does not match the detected sample rate - * The sample rate in the audio file doesn't match the sample rate specified in the * MediaSampleRateHertz field in the request. Check the sample rate of * your media file and make sure that the two values match.

  • * Invalid file size: file size too large - The size of your audio * file is larger than Amazon Transcribe can process. For more information, see Limits * in the Amazon Transcribe Developer Guide.

  • * Invalid number of channels: number of channels too large - Your * audio contains more channels than Amazon Transcribe is configured to process. To * request additional channels, see Amazon * Transcribe Limits in the Amazon Web Services General Reference.

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

If the TranscriptionJobStatus field is FAILED, this * field contains information about why the job failed.

The * FailureReason field can contain one of the following values:

*
  • Unsupported media format - The media format specified * in the MediaFormat field of the request isn't valid. See the * description of the MediaFormat field for a list of valid * values.

  • The media format provided does not match the * detected media format - The media format of the audio file doesn't match * the format specified in the MediaFormat field in the request. Check * the media format of your media file and make sure that the two values match.

    *
  • Invalid sample rate for audio file - The sample rate * specified in the MediaSampleRateHertz of the request isn't valid. * The sample rate must be between 8000 and 48000 Hertz.

  • * The sample rate provided does not match the detected sample rate - * The sample rate in the audio file doesn't match the sample rate specified in the * MediaSampleRateHertz field in the request. Check the sample rate of * your media file and make sure that the two values match.

  • * Invalid file size: file size too large - The size of your audio * file is larger than Amazon Transcribe can process. For more information, see Limits * in the Amazon Transcribe Developer Guide.

  • * Invalid number of channels: number of channels too large - Your * audio contains more channels than Amazon Transcribe is configured to process. To * request additional channels, see Amazon * Transcribe Limits in the Amazon Web Services General Reference.

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

If the TranscriptionJobStatus field is FAILED, this * field contains information about why the job failed.

The * FailureReason field can contain one of the following values:

*
  • Unsupported media format - The media format specified * in the MediaFormat field of the request isn't valid. See the * description of the MediaFormat field for a list of valid * values.

  • The media format provided does not match the * detected media format - The media format of the audio file doesn't match * the format specified in the MediaFormat field in the request. Check * the media format of your media file and make sure that the two values match.

    *
  • Invalid sample rate for audio file - The sample rate * specified in the MediaSampleRateHertz of the request isn't valid. * The sample rate must be between 8000 and 48000 Hertz.

  • * The sample rate provided does not match the detected sample rate - * The sample rate in the audio file doesn't match the sample rate specified in the * MediaSampleRateHertz field in the request. Check the sample rate of * your media file and make sure that the two values match.

  • * Invalid file size: file size too large - The size of your audio * file is larger than Amazon Transcribe can process. For more information, see Limits * in the Amazon Transcribe Developer Guide.

  • * Invalid number of channels: number of channels too large - Your * audio contains more channels than Amazon Transcribe is configured to process. To * request additional channels, see Amazon * Transcribe Limits in the Amazon Web Services General Reference.

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

If the TranscriptionJobStatus field is FAILED, this * field contains information about why the job failed.

The * FailureReason field can contain one of the following values:

*
  • Unsupported media format - The media format specified * in the MediaFormat field of the request isn't valid. See the * description of the MediaFormat field for a list of valid * values.

  • The media format provided does not match the * detected media format - The media format of the audio file doesn't match * the format specified in the MediaFormat field in the request. Check * the media format of your media file and make sure that the two values match.

    *
  • Invalid sample rate for audio file - The sample rate * specified in the MediaSampleRateHertz of the request isn't valid. * The sample rate must be between 8000 and 48000 Hertz.

  • * The sample rate provided does not match the detected sample rate - * The sample rate in the audio file doesn't match the sample rate specified in the * MediaSampleRateHertz field in the request. Check the sample rate of * your media file and make sure that the two values match.

  • * Invalid file size: file size too large - The size of your audio * file is larger than Amazon Transcribe can process. For more information, see Limits * in the Amazon Transcribe Developer Guide.

  • * Invalid number of channels: number of channels too large - Your * audio contains more channels than Amazon Transcribe is configured to process. To * request additional channels, see Amazon * Transcribe Limits in the Amazon Web Services General Reference.

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

If the TranscriptionJobStatus field is FAILED, this * field contains information about why the job failed.

The * FailureReason field can contain one of the following values:

*
  • Unsupported media format - The media format specified * in the MediaFormat field of the request isn't valid. See the * description of the MediaFormat field for a list of valid * values.

  • The media format provided does not match the * detected media format - The media format of the audio file doesn't match * the format specified in the MediaFormat field in the request. Check * the media format of your media file and make sure that the two values match.

    *
  • Invalid sample rate for audio file - The sample rate * specified in the MediaSampleRateHertz of the request isn't valid. * The sample rate must be between 8000 and 48000 Hertz.

  • * The sample rate provided does not match the detected sample rate - * The sample rate in the audio file doesn't match the sample rate specified in the * MediaSampleRateHertz field in the request. Check the sample rate of * your media file and make sure that the two values match.

  • * Invalid file size: file size too large - The size of your audio * file is larger than Amazon Transcribe can process. For more information, see Limits * in the Amazon Transcribe Developer Guide.

  • * Invalid number of channels: number of channels too large - Your * audio contains more channels than Amazon Transcribe is configured to process. To * request additional channels, see Amazon * Transcribe Limits in the Amazon Web Services General Reference.

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

If the TranscriptionJobStatus field is FAILED, this * field contains information about why the job failed.

The * FailureReason field can contain one of the following values:

*
  • Unsupported media format - The media format specified * in the MediaFormat field of the request isn't valid. See the * description of the MediaFormat field for a list of valid * values.

  • The media format provided does not match the * detected media format - The media format of the audio file doesn't match * the format specified in the MediaFormat field in the request. Check * the media format of your media file and make sure that the two values match.

    *
  • Invalid sample rate for audio file - The sample rate * specified in the MediaSampleRateHertz of the request isn't valid. * The sample rate must be between 8000 and 48000 Hertz.

  • * The sample rate provided does not match the detected sample rate - * The sample rate in the audio file doesn't match the sample rate specified in the * MediaSampleRateHertz field in the request. Check the sample rate of * your media file and make sure that the two values match.

  • * Invalid file size: file size too large - The size of your audio * file is larger than Amazon Transcribe can process. For more information, see Limits * in the Amazon Transcribe Developer Guide.

  • * Invalid number of channels: number of channels too large - Your * audio contains more channels than Amazon Transcribe is configured to process. To * request additional channels, see Amazon * Transcribe Limits in the Amazon Web Services General Reference.

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

If the TranscriptionJobStatus field is FAILED, this * field contains information about why the job failed.

The * FailureReason field can contain one of the following values:

*
  • Unsupported media format - The media format specified * in the MediaFormat field of the request isn't valid. See the * description of the MediaFormat field for a list of valid * values.

  • The media format provided does not match the * detected media format - The media format of the audio file doesn't match * the format specified in the MediaFormat field in the request. Check * the media format of your media file and make sure that the two values match.

    *
  • Invalid sample rate for audio file - The sample rate * specified in the MediaSampleRateHertz of the request isn't valid. * The sample rate must be between 8000 and 48000 Hertz.

  • * The sample rate provided does not match the detected sample rate - * The sample rate in the audio file doesn't match the sample rate specified in the * MediaSampleRateHertz field in the request. Check the sample rate of * your media file and make sure that the two values match.

  • * Invalid file size: file size too large - The size of your audio * file is larger than Amazon Transcribe can process. For more information, see Limits * in the Amazon Transcribe Developer Guide.

  • * Invalid number of channels: number of channels too large - Your * audio contains more channels than Amazon Transcribe is configured to process. To * request additional channels, see Amazon * Transcribe Limits in the Amazon Web Services General Reference.

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

Optional settings for the transcription job. Use these settings to turn on * speaker recognition, to set the maximum number of speakers that should be * identified and to specify a custom vocabulary to use when processing the * transcription job.

*/ inline const Settings& GetSettings() const{ return m_settings; } /** *

Optional settings for the transcription job. Use these settings to turn on * speaker recognition, to set the maximum number of speakers that should be * identified and to specify a custom vocabulary to use when processing the * transcription job.

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

Optional settings for the transcription job. Use these settings to turn on * speaker recognition, to set the maximum number of speakers that should be * identified and to specify a custom vocabulary to use when processing the * transcription job.

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

Optional settings for the transcription job. Use these settings to turn on * speaker recognition, to set the maximum number of speakers that should be * identified and to specify a custom vocabulary to use when processing the * transcription job.

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

Optional settings for the transcription job. Use these settings to turn on * speaker recognition, to set the maximum number of speakers that should be * identified and to specify a custom vocabulary to use when processing the * transcription job.

*/ inline TranscriptionJob& WithSettings(const Settings& value) { SetSettings(value); return *this;} /** *

Optional settings for the transcription job. Use these settings to turn on * speaker recognition, to set the maximum number of speakers that should be * identified and to specify a custom vocabulary to use when processing the * transcription job.

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

An object containing the details of your custom language model.

*/ inline const ModelSettings& GetModelSettings() const{ return m_modelSettings; } /** *

An object containing the details of your custom language model.

*/ inline bool ModelSettingsHasBeenSet() const { return m_modelSettingsHasBeenSet; } /** *

An object containing the details of your custom language model.

*/ inline void SetModelSettings(const ModelSettings& value) { m_modelSettingsHasBeenSet = true; m_modelSettings = value; } /** *

An object containing the details of your custom language model.

*/ inline void SetModelSettings(ModelSettings&& value) { m_modelSettingsHasBeenSet = true; m_modelSettings = std::move(value); } /** *

An object containing the details of your custom language model.

*/ inline TranscriptionJob& WithModelSettings(const ModelSettings& value) { SetModelSettings(value); return *this;} /** *

An object containing the details of your custom language model.

*/ inline TranscriptionJob& WithModelSettings(ModelSettings&& value) { SetModelSettings(std::move(value)); return *this;} /** *

Provides information about how a transcription job is executed.

*/ inline const JobExecutionSettings& GetJobExecutionSettings() const{ return m_jobExecutionSettings; } /** *

Provides information about how a transcription job is executed.

*/ inline bool JobExecutionSettingsHasBeenSet() const { return m_jobExecutionSettingsHasBeenSet; } /** *

Provides information about how a transcription job is executed.

*/ inline void SetJobExecutionSettings(const JobExecutionSettings& value) { m_jobExecutionSettingsHasBeenSet = true; m_jobExecutionSettings = value; } /** *

Provides information about how a transcription job is executed.

*/ inline void SetJobExecutionSettings(JobExecutionSettings&& value) { m_jobExecutionSettingsHasBeenSet = true; m_jobExecutionSettings = std::move(value); } /** *

Provides information about how a transcription job is executed.

*/ inline TranscriptionJob& WithJobExecutionSettings(const JobExecutionSettings& value) { SetJobExecutionSettings(value); return *this;} /** *

Provides information about how a transcription job is executed.

*/ inline TranscriptionJob& WithJobExecutionSettings(JobExecutionSettings&& value) { SetJobExecutionSettings(std::move(value)); return *this;} /** *

An object that describes content redaction settings for the transcription * job.

*/ inline const ContentRedaction& GetContentRedaction() const{ return m_contentRedaction; } /** *

An object that describes content redaction settings for the transcription * job.

*/ inline bool ContentRedactionHasBeenSet() const { return m_contentRedactionHasBeenSet; } /** *

An object that describes content redaction settings for the transcription * job.

*/ inline void SetContentRedaction(const ContentRedaction& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = value; } /** *

An object that describes content redaction settings for the transcription * job.

*/ inline void SetContentRedaction(ContentRedaction&& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = std::move(value); } /** *

An object that describes content redaction settings for the transcription * job.

*/ inline TranscriptionJob& WithContentRedaction(const ContentRedaction& value) { SetContentRedaction(value); return *this;} /** *

An object that describes content redaction settings for the transcription * job.

*/ inline TranscriptionJob& WithContentRedaction(ContentRedaction&& value) { SetContentRedaction(std::move(value)); return *this;} private: Aws::String m_transcriptionJobName; bool m_transcriptionJobNameHasBeenSet; TranscriptionJobStatus m_transcriptionJobStatus; bool m_transcriptionJobStatusHasBeenSet; LanguageCode m_languageCode; bool m_languageCodeHasBeenSet; int m_mediaSampleRateHertz; bool m_mediaSampleRateHertzHasBeenSet; MediaFormat m_mediaFormat; bool m_mediaFormatHasBeenSet; Media m_media; bool m_mediaHasBeenSet; Transcript m_transcript; bool m_transcriptHasBeenSet; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet; Aws::String m_failureReason; bool m_failureReasonHasBeenSet; Settings m_settings; bool m_settingsHasBeenSet; ModelSettings m_modelSettings; bool m_modelSettingsHasBeenSet; JobExecutionSettings m_jobExecutionSettings; bool m_jobExecutionSettingsHasBeenSet; ContentRedaction m_contentRedaction; bool m_contentRedactionHasBeenSet; }; } // namespace Model } // namespace TranscribeService } // namespace Aws