/** * 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 DeleteVoiceConnectorTerminationCredentialsRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API DeleteVoiceConnectorTerminationCredentialsRequest(); // 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 "DeleteVoiceConnectorTerminationCredentials"; } 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 DeleteVoiceConnectorTerminationCredentialsRequest& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;} /** *

The Voice Connector ID.

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

The Voice Connector ID.

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

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline const Aws::Vector& GetUsernames() const{ return m_usernames; } /** *

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline bool UsernamesHasBeenSet() const { return m_usernamesHasBeenSet; } /** *

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline void SetUsernames(const Aws::Vector& value) { m_usernamesHasBeenSet = true; m_usernames = value; } /** *

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline void SetUsernames(Aws::Vector&& value) { m_usernamesHasBeenSet = true; m_usernames = std::move(value); } /** *

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline DeleteVoiceConnectorTerminationCredentialsRequest& WithUsernames(const Aws::Vector& value) { SetUsernames(value); return *this;} /** *

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline DeleteVoiceConnectorTerminationCredentialsRequest& WithUsernames(Aws::Vector&& value) { SetUsernames(std::move(value)); return *this;} /** *

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline DeleteVoiceConnectorTerminationCredentialsRequest& AddUsernames(const Aws::String& value) { m_usernamesHasBeenSet = true; m_usernames.push_back(value); return *this; } /** *

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline DeleteVoiceConnectorTerminationCredentialsRequest& AddUsernames(Aws::String&& value) { m_usernamesHasBeenSet = true; m_usernames.push_back(std::move(value)); return *this; } /** *

The RFC2617 compliant username associated with the SIP credentials, in * US-ASCII format.

*/ inline DeleteVoiceConnectorTerminationCredentialsRequest& AddUsernames(const char* value) { m_usernamesHasBeenSet = true; m_usernames.push_back(value); return *this; } private: Aws::String m_voiceConnectorId; bool m_voiceConnectorIdHasBeenSet = false; Aws::Vector m_usernames; bool m_usernamesHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws