/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace ChimeSDKVoice { namespace Model { /** */ class GetVoiceToneAnalysisTaskRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API GetVoiceToneAnalysisTaskRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetVoiceToneAnalysisTask"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override; AWS_CHIMESDKVOICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Voice Connector ID.

*/ inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; } /** *

The Voice Connector ID.

*/ inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; } /** *

The Voice Connector ID.

*/ inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; } /** *

The Voice Connector ID.

*/ inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); } /** *

The Voice Connector ID.

*/ inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); } /** *

The Voice Connector ID.

*/ inline GetVoiceToneAnalysisTaskRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;} /** *

The Voice Connector ID.

*/ inline GetVoiceToneAnalysisTaskRequest& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;} /** *

The Voice Connector ID.

*/ inline GetVoiceToneAnalysisTaskRequest& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;} /** *

The ID of the voice tone anlysis task.

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

The ID of the voice tone anlysis task.

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

The ID of the voice tone anlysis task.

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

The ID of the voice tone anlysis task.

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

The ID of the voice tone anlysis task.

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

The ID of the voice tone anlysis task.

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

The ID of the voice tone anlysis task.

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

The ID of the voice tone anlysis task.

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

Specifies whether the voice being analyzed is the caller (originator) or the * callee (responder).

*/ inline bool GetIsCaller() const{ return m_isCaller; } /** *

Specifies whether the voice being analyzed is the caller (originator) or the * callee (responder).

*/ inline bool IsCallerHasBeenSet() const { return m_isCallerHasBeenSet; } /** *

Specifies whether the voice being analyzed is the caller (originator) or the * callee (responder).

*/ inline void SetIsCaller(bool value) { m_isCallerHasBeenSet = true; m_isCaller = value; } /** *

Specifies whether the voice being analyzed is the caller (originator) or the * callee (responder).

*/ inline GetVoiceToneAnalysisTaskRequest& WithIsCaller(bool value) { SetIsCaller(value); return *this;} private: Aws::String m_voiceConnectorId; bool m_voiceConnectorIdHasBeenSet = false; Aws::String m_voiceToneAnalysisTaskId; bool m_voiceToneAnalysisTaskIdHasBeenSet = false; bool m_isCaller; bool m_isCallerHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws