/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 specific Call Analytics * job.

See Also:

AWS * API Reference

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

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

*/ inline const Aws::String& GetCallAnalyticsJobName() const{ return m_callAnalyticsJobName; } /** *

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

*/ inline bool CallAnalyticsJobNameHasBeenSet() const { return m_callAnalyticsJobNameHasBeenSet; } /** *

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

*/ inline void SetCallAnalyticsJobName(const Aws::String& value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName = value; } /** *

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

*/ inline void SetCallAnalyticsJobName(Aws::String&& value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName = std::move(value); } /** *

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

*/ inline void SetCallAnalyticsJobName(const char* value) { m_callAnalyticsJobNameHasBeenSet = true; m_callAnalyticsJobName.assign(value); } /** *

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

*/ inline CallAnalyticsJobSummary& WithCallAnalyticsJobName(const Aws::String& value) { SetCallAnalyticsJobName(value); return *this;} /** *

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

*/ inline CallAnalyticsJobSummary& WithCallAnalyticsJobName(Aws::String&& value) { SetCallAnalyticsJobName(std::move(value)); return *this;} /** *

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

*/ inline CallAnalyticsJobSummary& WithCallAnalyticsJobName(const char* value) { SetCallAnalyticsJobName(value); return *this;} /** *

The date and time the specified Call Analytics 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 Call Analytics 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 Call Analytics 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 Call Analytics 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 Call Analytics 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 CallAnalyticsJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The date and time the specified Call Analytics 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 CallAnalyticsJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The date and time your Call Analytics 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 your Call Analytics 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 your Call Analytics 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 your Call Analytics 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 your Call Analytics 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 CallAnalyticsJobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The date and time your Call Analytics 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 CallAnalyticsJobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The date and time the specified Call Analytics 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 Call Analytics 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 Call Analytics 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 Call Analytics 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 Call Analytics 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 CallAnalyticsJobSummary& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *

The date and time the specified Call Analytics 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 CallAnalyticsJobSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} /** *

The language code used to create your Call Analytics transcription.

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

The language code used to create your Call Analytics transcription.

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

The language code used to create your Call Analytics transcription.

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

The language code used to create your Call Analytics transcription.

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

The language code used to create your Call Analytics transcription.

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

The language code used to create your Call Analytics transcription.

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

Provides the status of your Call Analytics job.

If the status is * COMPLETED, the job is finished and you can find the results at the * location specified in TranscriptFileUri (or * RedactedTranscriptFileUri, if you requested transcript redaction). * If the status is FAILED, FailureReason provides * details on why your transcription job failed.

*/ inline const CallAnalyticsJobStatus& GetCallAnalyticsJobStatus() const{ return m_callAnalyticsJobStatus; } /** *

Provides the status of your Call Analytics job.

If the status is * COMPLETED, the job is finished and you can find the results at the * location specified in TranscriptFileUri (or * RedactedTranscriptFileUri, if you requested transcript redaction). * If the status is FAILED, FailureReason provides * details on why your transcription job failed.

*/ inline bool CallAnalyticsJobStatusHasBeenSet() const { return m_callAnalyticsJobStatusHasBeenSet; } /** *

Provides the status of your Call Analytics job.

If the status is * COMPLETED, the job is finished and you can find the results at the * location specified in TranscriptFileUri (or * RedactedTranscriptFileUri, if you requested transcript redaction). * If the status is FAILED, FailureReason provides * details on why your transcription job failed.

*/ inline void SetCallAnalyticsJobStatus(const CallAnalyticsJobStatus& value) { m_callAnalyticsJobStatusHasBeenSet = true; m_callAnalyticsJobStatus = value; } /** *

Provides the status of your Call Analytics job.

If the status is * COMPLETED, the job is finished and you can find the results at the * location specified in TranscriptFileUri (or * RedactedTranscriptFileUri, if you requested transcript redaction). * If the status is FAILED, FailureReason provides * details on why your transcription job failed.

*/ inline void SetCallAnalyticsJobStatus(CallAnalyticsJobStatus&& value) { m_callAnalyticsJobStatusHasBeenSet = true; m_callAnalyticsJobStatus = std::move(value); } /** *

Provides the status of your Call Analytics job.

If the status is * COMPLETED, the job is finished and you can find the results at the * location specified in TranscriptFileUri (or * RedactedTranscriptFileUri, if you requested transcript redaction). * If the status is FAILED, FailureReason provides * details on why your transcription job failed.

*/ inline CallAnalyticsJobSummary& WithCallAnalyticsJobStatus(const CallAnalyticsJobStatus& value) { SetCallAnalyticsJobStatus(value); return *this;} /** *

Provides the status of your Call Analytics job.

If the status is * COMPLETED, the job is finished and you can find the results at the * location specified in TranscriptFileUri (or * RedactedTranscriptFileUri, if you requested transcript redaction). * If the status is FAILED, FailureReason provides * details on why your transcription job failed.

*/ inline CallAnalyticsJobSummary& WithCallAnalyticsJobStatus(CallAnalyticsJobStatus&& value) { SetCallAnalyticsJobStatus(std::move(value)); return *this;} /** *

If CallAnalyticsJobStatus is FAILED, * FailureReason contains information about why the Call Analytics job * failed. See also: Common * Errors.

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

If CallAnalyticsJobStatus is FAILED, * FailureReason contains information about why the Call Analytics job * failed. See also: Common * Errors.

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

If CallAnalyticsJobStatus is FAILED, * FailureReason contains information about why the Call Analytics job * failed. See also: Common * Errors.

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

If CallAnalyticsJobStatus is FAILED, * FailureReason contains information about why the Call Analytics job * failed. See also: Common * Errors.

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

If CallAnalyticsJobStatus is FAILED, * FailureReason contains information about why the Call Analytics job * failed. See also: Common * Errors.

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

If CallAnalyticsJobStatus is FAILED, * FailureReason contains information about why the Call Analytics job * failed. See also: Common * Errors.

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

If CallAnalyticsJobStatus is FAILED, * FailureReason contains information about why the Call Analytics job * failed. See also: Common * Errors.

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

If CallAnalyticsJobStatus is FAILED, * FailureReason contains information about why the Call Analytics job * failed. See also: Common * Errors.

*/ inline CallAnalyticsJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} private: Aws::String m_callAnalyticsJobName; bool m_callAnalyticsJobNameHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; LanguageCode m_languageCode; bool m_languageCodeHasBeenSet = false; CallAnalyticsJobStatus m_callAnalyticsJobStatus; bool m_callAnalyticsJobStatusHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws