/** * 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 ChimeSDKVoice { namespace Model { /** */ class StartSpeakerSearchTaskRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API StartSpeakerSearchTaskRequest(); // 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 "StartSpeakerSearchTask"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() 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 StartSpeakerSearchTaskRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;} /** *

The Voice Connector ID.

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

The Voice Connector ID.

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

The transaction ID of the call being analyzed.

*/ inline const Aws::String& GetTransactionId() const{ return m_transactionId; } /** *

The transaction ID of the call being analyzed.

*/ inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } /** *

The transaction ID of the call being analyzed.

*/ inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; } /** *

The transaction ID of the call being analyzed.

*/ inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); } /** *

The transaction ID of the call being analyzed.

*/ inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); } /** *

The transaction ID of the call being analyzed.

*/ inline StartSpeakerSearchTaskRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;} /** *

The transaction ID of the call being analyzed.

*/ inline StartSpeakerSearchTaskRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;} /** *

The transaction ID of the call being analyzed.

*/ inline StartSpeakerSearchTaskRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;} /** *

The ID of the voice profile domain that will store the voice profile.

*/ inline const Aws::String& GetVoiceProfileDomainId() const{ return m_voiceProfileDomainId; } /** *

The ID of the voice profile domain that will store the voice profile.

*/ inline bool VoiceProfileDomainIdHasBeenSet() const { return m_voiceProfileDomainIdHasBeenSet; } /** *

The ID of the voice profile domain that will store the voice profile.

*/ inline void SetVoiceProfileDomainId(const Aws::String& value) { m_voiceProfileDomainIdHasBeenSet = true; m_voiceProfileDomainId = value; } /** *

The ID of the voice profile domain that will store the voice profile.

*/ inline void SetVoiceProfileDomainId(Aws::String&& value) { m_voiceProfileDomainIdHasBeenSet = true; m_voiceProfileDomainId = std::move(value); } /** *

The ID of the voice profile domain that will store the voice profile.

*/ inline void SetVoiceProfileDomainId(const char* value) { m_voiceProfileDomainIdHasBeenSet = true; m_voiceProfileDomainId.assign(value); } /** *

The ID of the voice profile domain that will store the voice profile.

*/ inline StartSpeakerSearchTaskRequest& WithVoiceProfileDomainId(const Aws::String& value) { SetVoiceProfileDomainId(value); return *this;} /** *

The ID of the voice profile domain that will store the voice profile.

*/ inline StartSpeakerSearchTaskRequest& WithVoiceProfileDomainId(Aws::String&& value) { SetVoiceProfileDomainId(std::move(value)); return *this;} /** *

The ID of the voice profile domain that will store the voice profile.

*/ inline StartSpeakerSearchTaskRequest& WithVoiceProfileDomainId(const char* value) { SetVoiceProfileDomainId(value); return *this;} /** *

The unique identifier for the client request. Use a different token for * different speaker search tasks.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

The unique identifier for the client request. Use a different token for * different speaker search tasks.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

The unique identifier for the client request. Use a different token for * different speaker search tasks.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

The unique identifier for the client request. Use a different token for * different speaker search tasks.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

The unique identifier for the client request. Use a different token for * different speaker search tasks.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

The unique identifier for the client request. Use a different token for * different speaker search tasks.

*/ inline StartSpeakerSearchTaskRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

The unique identifier for the client request. Use a different token for * different speaker search tasks.

*/ inline StartSpeakerSearchTaskRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

The unique identifier for the client request. Use a different token for * different speaker search tasks.

*/ inline StartSpeakerSearchTaskRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

Specifies which call leg to stream for speaker search.

*/ inline const CallLegType& GetCallLeg() const{ return m_callLeg; } /** *

Specifies which call leg to stream for speaker search.

*/ inline bool CallLegHasBeenSet() const { return m_callLegHasBeenSet; } /** *

Specifies which call leg to stream for speaker search.

*/ inline void SetCallLeg(const CallLegType& value) { m_callLegHasBeenSet = true; m_callLeg = value; } /** *

Specifies which call leg to stream for speaker search.

*/ inline void SetCallLeg(CallLegType&& value) { m_callLegHasBeenSet = true; m_callLeg = std::move(value); } /** *

Specifies which call leg to stream for speaker search.

*/ inline StartSpeakerSearchTaskRequest& WithCallLeg(const CallLegType& value) { SetCallLeg(value); return *this;} /** *

Specifies which call leg to stream for speaker search.

*/ inline StartSpeakerSearchTaskRequest& WithCallLeg(CallLegType&& value) { SetCallLeg(std::move(value)); return *this;} private: Aws::String m_voiceConnectorId; bool m_voiceConnectorIdHasBeenSet = false; Aws::String m_transactionId; bool m_transactionIdHasBeenSet = false; Aws::String m_voiceProfileDomainId; bool m_voiceProfileDomainIdHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; CallLegType m_callLeg; bool m_callLegHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws