/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKVoice { namespace Model { /** *

A representation of an asynchronous request to perform voice tone analysis on * a Voice Connector call.

See Also:

AWS * API Reference

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

The ID of the voice tone analysis task.

*/ inline const Aws::String& GetVoiceToneAnalysisTaskId() const{ return m_voiceToneAnalysisTaskId; } /** *

The ID of the voice tone analysis task.

*/ inline bool VoiceToneAnalysisTaskIdHasBeenSet() const { return m_voiceToneAnalysisTaskIdHasBeenSet; } /** *

The ID of the voice tone analysis task.

*/ inline void SetVoiceToneAnalysisTaskId(const Aws::String& value) { m_voiceToneAnalysisTaskIdHasBeenSet = true; m_voiceToneAnalysisTaskId = value; } /** *

The ID of the voice tone analysis task.

*/ inline void SetVoiceToneAnalysisTaskId(Aws::String&& value) { m_voiceToneAnalysisTaskIdHasBeenSet = true; m_voiceToneAnalysisTaskId = std::move(value); } /** *

The ID of the voice tone analysis task.

*/ inline void SetVoiceToneAnalysisTaskId(const char* value) { m_voiceToneAnalysisTaskIdHasBeenSet = true; m_voiceToneAnalysisTaskId.assign(value); } /** *

The ID of the voice tone analysis task.

*/ inline VoiceToneAnalysisTask& WithVoiceToneAnalysisTaskId(const Aws::String& value) { SetVoiceToneAnalysisTaskId(value); return *this;} /** *

The ID of the voice tone analysis task.

*/ inline VoiceToneAnalysisTask& WithVoiceToneAnalysisTaskId(Aws::String&& value) { SetVoiceToneAnalysisTaskId(std::move(value)); return *this;} /** *

The ID of the voice tone analysis task.

*/ inline VoiceToneAnalysisTask& WithVoiceToneAnalysisTaskId(const char* value) { SetVoiceToneAnalysisTaskId(value); return *this;} /** *

The status of a voice tone analysis task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline const Aws::String& GetVoiceToneAnalysisTaskStatus() const{ return m_voiceToneAnalysisTaskStatus; } /** *

The status of a voice tone analysis task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline bool VoiceToneAnalysisTaskStatusHasBeenSet() const { return m_voiceToneAnalysisTaskStatusHasBeenSet; } /** *

The status of a voice tone analysis task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline void SetVoiceToneAnalysisTaskStatus(const Aws::String& value) { m_voiceToneAnalysisTaskStatusHasBeenSet = true; m_voiceToneAnalysisTaskStatus = value; } /** *

The status of a voice tone analysis task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline void SetVoiceToneAnalysisTaskStatus(Aws::String&& value) { m_voiceToneAnalysisTaskStatusHasBeenSet = true; m_voiceToneAnalysisTaskStatus = std::move(value); } /** *

The status of a voice tone analysis task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline void SetVoiceToneAnalysisTaskStatus(const char* value) { m_voiceToneAnalysisTaskStatusHasBeenSet = true; m_voiceToneAnalysisTaskStatus.assign(value); } /** *

The status of a voice tone analysis task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline VoiceToneAnalysisTask& WithVoiceToneAnalysisTaskStatus(const Aws::String& value) { SetVoiceToneAnalysisTaskStatus(value); return *this;} /** *

The status of a voice tone analysis task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline VoiceToneAnalysisTask& WithVoiceToneAnalysisTaskStatus(Aws::String&& value) { SetVoiceToneAnalysisTaskStatus(std::move(value)); return *this;} /** *

The status of a voice tone analysis task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline VoiceToneAnalysisTask& WithVoiceToneAnalysisTaskStatus(const char* value) { SetVoiceToneAnalysisTaskStatus(value); return *this;} /** *

The call details of a voice tone analysis task.

*/ inline const CallDetails& GetCallDetails() const{ return m_callDetails; } /** *

The call details of a voice tone analysis task.

*/ inline bool CallDetailsHasBeenSet() const { return m_callDetailsHasBeenSet; } /** *

The call details of a voice tone analysis task.

*/ inline void SetCallDetails(const CallDetails& value) { m_callDetailsHasBeenSet = true; m_callDetails = value; } /** *

The call details of a voice tone analysis task.

*/ inline void SetCallDetails(CallDetails&& value) { m_callDetailsHasBeenSet = true; m_callDetails = std::move(value); } /** *

The call details of a voice tone analysis task.

*/ inline VoiceToneAnalysisTask& WithCallDetails(const CallDetails& value) { SetCallDetails(value); return *this;} /** *

The call details of a voice tone analysis task.

*/ inline VoiceToneAnalysisTask& WithCallDetails(CallDetails&& value) { SetCallDetails(std::move(value)); return *this;} /** *

The time at which a voice tone analysis task was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time at which a voice tone analysis task was created.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time at which a voice tone analysis task was created.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time at which a voice tone analysis task was created.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time at which a voice tone analysis task was created.

*/ inline VoiceToneAnalysisTask& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time at which a voice tone analysis task was created.

*/ inline VoiceToneAnalysisTask& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The time at which a voice tone analysis task was updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; } /** *

The time at which a voice tone analysis task was updated.

*/ inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; } /** *

The time at which a voice tone analysis task was updated.

*/ inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; } /** *

The time at which a voice tone analysis task was updated.

*/ inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); } /** *

The time at which a voice tone analysis task was updated.

*/ inline VoiceToneAnalysisTask& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;} /** *

The time at which a voice tone analysis task was updated.

*/ inline VoiceToneAnalysisTask& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;} /** *

The time at which a voice tone analysis task started.

*/ inline const Aws::Utils::DateTime& GetStartedTimestamp() const{ return m_startedTimestamp; } /** *

The time at which a voice tone analysis task started.

*/ inline bool StartedTimestampHasBeenSet() const { return m_startedTimestampHasBeenSet; } /** *

The time at which a voice tone analysis task started.

*/ inline void SetStartedTimestamp(const Aws::Utils::DateTime& value) { m_startedTimestampHasBeenSet = true; m_startedTimestamp = value; } /** *

The time at which a voice tone analysis task started.

*/ inline void SetStartedTimestamp(Aws::Utils::DateTime&& value) { m_startedTimestampHasBeenSet = true; m_startedTimestamp = std::move(value); } /** *

The time at which a voice tone analysis task started.

*/ inline VoiceToneAnalysisTask& WithStartedTimestamp(const Aws::Utils::DateTime& value) { SetStartedTimestamp(value); return *this;} /** *

The time at which a voice tone analysis task started.

*/ inline VoiceToneAnalysisTask& WithStartedTimestamp(Aws::Utils::DateTime&& value) { SetStartedTimestamp(std::move(value)); return *this;} /** *

The status of a voice tone analysis task.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The status of a voice tone analysis task.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

The status of a voice tone analysis task.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

The status of a voice tone analysis task.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

The status of a voice tone analysis task.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

The status of a voice tone analysis task.

*/ inline VoiceToneAnalysisTask& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The status of a voice tone analysis task.

*/ inline VoiceToneAnalysisTask& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The status of a voice tone analysis task.

*/ inline VoiceToneAnalysisTask& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::String m_voiceToneAnalysisTaskId; bool m_voiceToneAnalysisTaskIdHasBeenSet = false; Aws::String m_voiceToneAnalysisTaskStatus; bool m_voiceToneAnalysisTaskStatusHasBeenSet = false; CallDetails m_callDetails; bool m_callDetailsHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; Aws::Utils::DateTime m_updatedTimestamp; bool m_updatedTimestampHasBeenSet = false; Aws::Utils::DateTime m_startedTimestamp; bool m_startedTimestampHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws