/** * 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 ChimeSDKVoice { namespace Model { /** *

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

See Also:

AWS * API Reference

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

The speaker search task ID.

*/ inline const Aws::String& GetSpeakerSearchTaskId() const{ return m_speakerSearchTaskId; } /** *

The speaker search task ID.

*/ inline bool SpeakerSearchTaskIdHasBeenSet() const { return m_speakerSearchTaskIdHasBeenSet; } /** *

The speaker search task ID.

*/ inline void SetSpeakerSearchTaskId(const Aws::String& value) { m_speakerSearchTaskIdHasBeenSet = true; m_speakerSearchTaskId = value; } /** *

The speaker search task ID.

*/ inline void SetSpeakerSearchTaskId(Aws::String&& value) { m_speakerSearchTaskIdHasBeenSet = true; m_speakerSearchTaskId = std::move(value); } /** *

The speaker search task ID.

*/ inline void SetSpeakerSearchTaskId(const char* value) { m_speakerSearchTaskIdHasBeenSet = true; m_speakerSearchTaskId.assign(value); } /** *

The speaker search task ID.

*/ inline SpeakerSearchTask& WithSpeakerSearchTaskId(const Aws::String& value) { SetSpeakerSearchTaskId(value); return *this;} /** *

The speaker search task ID.

*/ inline SpeakerSearchTask& WithSpeakerSearchTaskId(Aws::String&& value) { SetSpeakerSearchTaskId(std::move(value)); return *this;} /** *

The speaker search task ID.

*/ inline SpeakerSearchTask& WithSpeakerSearchTaskId(const char* value) { SetSpeakerSearchTaskId(value); return *this;} /** *

The status of the speaker search task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline const Aws::String& GetSpeakerSearchTaskStatus() const{ return m_speakerSearchTaskStatus; } /** *

The status of the speaker search task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline bool SpeakerSearchTaskStatusHasBeenSet() const { return m_speakerSearchTaskStatusHasBeenSet; } /** *

The status of the speaker search task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline void SetSpeakerSearchTaskStatus(const Aws::String& value) { m_speakerSearchTaskStatusHasBeenSet = true; m_speakerSearchTaskStatus = value; } /** *

The status of the speaker search task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline void SetSpeakerSearchTaskStatus(Aws::String&& value) { m_speakerSearchTaskStatusHasBeenSet = true; m_speakerSearchTaskStatus = std::move(value); } /** *

The status of the speaker search task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline void SetSpeakerSearchTaskStatus(const char* value) { m_speakerSearchTaskStatusHasBeenSet = true; m_speakerSearchTaskStatus.assign(value); } /** *

The status of the speaker search task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline SpeakerSearchTask& WithSpeakerSearchTaskStatus(const Aws::String& value) { SetSpeakerSearchTaskStatus(value); return *this;} /** *

The status of the speaker search task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline SpeakerSearchTask& WithSpeakerSearchTaskStatus(Aws::String&& value) { SetSpeakerSearchTaskStatus(std::move(value)); return *this;} /** *

The status of the speaker search task, IN_QUEUE, * IN_PROGRESS, PARTIAL_SUCCESS, SUCCEEDED, * FAILED, or STOPPED.

*/ inline SpeakerSearchTask& WithSpeakerSearchTaskStatus(const char* value) { SetSpeakerSearchTaskStatus(value); return *this;} /** *

The call details of a speaker search task.

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

The call details of a speaker search task.

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

The call details of a speaker search task.

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

The call details of a speaker search task.

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

The call details of a speaker search task.

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

The call details of a speaker search task.

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

The details of a speaker search task.

*/ inline const SpeakerSearchDetails& GetSpeakerSearchDetails() const{ return m_speakerSearchDetails; } /** *

The details of a speaker search task.

*/ inline bool SpeakerSearchDetailsHasBeenSet() const { return m_speakerSearchDetailsHasBeenSet; } /** *

The details of a speaker search task.

*/ inline void SetSpeakerSearchDetails(const SpeakerSearchDetails& value) { m_speakerSearchDetailsHasBeenSet = true; m_speakerSearchDetails = value; } /** *

The details of a speaker search task.

*/ inline void SetSpeakerSearchDetails(SpeakerSearchDetails&& value) { m_speakerSearchDetailsHasBeenSet = true; m_speakerSearchDetails = std::move(value); } /** *

The details of a speaker search task.

*/ inline SpeakerSearchTask& WithSpeakerSearchDetails(const SpeakerSearchDetails& value) { SetSpeakerSearchDetails(value); return *this;} /** *

The details of a speaker search task.

*/ inline SpeakerSearchTask& WithSpeakerSearchDetails(SpeakerSearchDetails&& value) { SetSpeakerSearchDetails(std::move(value)); return *this;} /** *

The time at which a speaker search task was created.

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

The time at which a speaker search task was created.

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

The time at which a speaker search task was created.

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

The time at which a speaker search task was created.

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

The time at which a speaker search task was created.

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

The time at which a speaker search task was created.

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

The time at which a speaker search task was updated.

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

The time at which a speaker search task was updated.

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

The time at which a speaker search task was updated.

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

The time at which a speaker search task was updated.

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

The time at which a speaker search task was updated.

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

The time at which a speaker search task was updated.

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

The time at which the speaker search task began.

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

The time at which the speaker search task began.

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

The time at which the speaker search task began.

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

The time at which the speaker search task began.

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

The time at which the speaker search task began.

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

The time at which the speaker search task began.

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

A detailed message about the status of a speaker search.

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

A detailed message about the status of a speaker search.

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

A detailed message about the status of a speaker search.

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

A detailed message about the status of a speaker search.

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

A detailed message about the status of a speaker search.

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

A detailed message about the status of a speaker search.

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

A detailed message about the status of a speaker search.

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

A detailed message about the status of a speaker search.

*/ inline SpeakerSearchTask& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::String m_speakerSearchTaskId; bool m_speakerSearchTaskIdHasBeenSet = false; Aws::String m_speakerSearchTaskStatus; bool m_speakerSearchTaskStatusHasBeenSet = false; CallDetails m_callDetails; bool m_callDetailsHasBeenSet = false; SpeakerSearchDetails m_speakerSearchDetails; bool m_speakerSearchDetailsHasBeenSet = 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