/** * 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 PinpointSMSVoiceV2 { namespace Model { /** */ class DisassociateOriginationIdentityRequest : public PinpointSMSVoiceV2Request { public: AWS_PINPOINTSMSVOICEV2_API DisassociateOriginationIdentityRequest(); // 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 "DisassociateOriginationIdentity"; } AWS_PINPOINTSMSVOICEV2_API Aws::String SerializePayload() const override; AWS_PINPOINTSMSVOICEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier for the pool to disassociate with the origination * identity. This value can be either the PoolId or PoolArn.

*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } /** *

The unique identifier for the pool to disassociate with the origination * identity. This value can be either the PoolId or PoolArn.

*/ inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } /** *

The unique identifier for the pool to disassociate with the origination * identity. This value can be either the PoolId or PoolArn.

*/ inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; } /** *

The unique identifier for the pool to disassociate with the origination * identity. This value can be either the PoolId or PoolArn.

*/ inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); } /** *

The unique identifier for the pool to disassociate with the origination * identity. This value can be either the PoolId or PoolArn.

*/ inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); } /** *

The unique identifier for the pool to disassociate with the origination * identity. This value can be either the PoolId or PoolArn.

*/ inline DisassociateOriginationIdentityRequest& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;} /** *

The unique identifier for the pool to disassociate with the origination * identity. This value can be either the PoolId or PoolArn.

*/ inline DisassociateOriginationIdentityRequest& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;} /** *

The unique identifier for the pool to disassociate with the origination * identity. This value can be either the PoolId or PoolArn.

*/ inline DisassociateOriginationIdentityRequest& WithPoolId(const char* value) { SetPoolId(value); return *this;} /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the * values for SenderId and SenderIdArn.

*/ inline const Aws::String& GetOriginationIdentity() const{ return m_originationIdentity; } /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the * values for SenderId and SenderIdArn.

*/ inline bool OriginationIdentityHasBeenSet() const { return m_originationIdentityHasBeenSet; } /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the * values for SenderId and SenderIdArn.

*/ inline void SetOriginationIdentity(const Aws::String& value) { m_originationIdentityHasBeenSet = true; m_originationIdentity = value; } /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the * values for SenderId and SenderIdArn.

*/ inline void SetOriginationIdentity(Aws::String&& value) { m_originationIdentityHasBeenSet = true; m_originationIdentity = std::move(value); } /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the * values for SenderId and SenderIdArn.

*/ inline void SetOriginationIdentity(const char* value) { m_originationIdentityHasBeenSet = true; m_originationIdentity.assign(value); } /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the * values for SenderId and SenderIdArn.

*/ inline DisassociateOriginationIdentityRequest& WithOriginationIdentity(const Aws::String& value) { SetOriginationIdentity(value); return *this;} /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the * values for SenderId and SenderIdArn.

*/ inline DisassociateOriginationIdentityRequest& WithOriginationIdentity(Aws::String&& value) { SetOriginationIdentity(std::move(value)); return *this;} /** *

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values * for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the * values for SenderId and SenderIdArn.

*/ inline DisassociateOriginationIdentityRequest& WithOriginationIdentity(const char* value) { SetOriginationIdentity(value); return *this;} /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline const Aws::String& GetIsoCountryCode() const{ return m_isoCountryCode; } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline bool IsoCountryCodeHasBeenSet() const { return m_isoCountryCodeHasBeenSet; } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline void SetIsoCountryCode(const Aws::String& value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode = value; } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline void SetIsoCountryCode(Aws::String&& value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode = std::move(value); } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline void SetIsoCountryCode(const char* value) { m_isoCountryCodeHasBeenSet = true; m_isoCountryCode.assign(value); } /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline DisassociateOriginationIdentityRequest& WithIsoCountryCode(const Aws::String& value) { SetIsoCountryCode(value); return *this;} /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline DisassociateOriginationIdentityRequest& WithIsoCountryCode(Aws::String&& value) { SetIsoCountryCode(std::move(value)); return *this;} /** *

The two-character code, in ISO 3166-1 alpha-2 format, for the country or * region.

*/ inline DisassociateOriginationIdentityRequest& WithIsoCountryCode(const char* value) { SetIsoCountryCode(value); return *this;} /** *

Unique, case-sensitive identifier you provide to ensure the idempotency of * the request. If you don't specify a client token, a randomly generated token is * used for the request to ensure idempotency.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

Unique, case-sensitive identifier you provide to ensure the idempotency of * the request. If you don't specify a client token, a randomly generated token is * used for the request to ensure idempotency.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

Unique, case-sensitive identifier you provide to ensure the idempotency of * the request. If you don't specify a client token, a randomly generated token is * used for the request to ensure idempotency.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

Unique, case-sensitive identifier you provide to ensure the idempotency of * the request. If you don't specify a client token, a randomly generated token is * used for the request to ensure idempotency.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

Unique, case-sensitive identifier you provide to ensure the idempotency of * the request. If you don't specify a client token, a randomly generated token is * used for the request to ensure idempotency.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

Unique, case-sensitive identifier you provide to ensure the idempotency of * the request. If you don't specify a client token, a randomly generated token is * used for the request to ensure idempotency.

*/ inline DisassociateOriginationIdentityRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

Unique, case-sensitive identifier you provide to ensure the idempotency of * the request. If you don't specify a client token, a randomly generated token is * used for the request to ensure idempotency.

*/ inline DisassociateOriginationIdentityRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

Unique, case-sensitive identifier you provide to ensure the idempotency of * the request. If you don't specify a client token, a randomly generated token is * used for the request to ensure idempotency.

*/ inline DisassociateOriginationIdentityRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_poolId; bool m_poolIdHasBeenSet = false; Aws::String m_originationIdentity; bool m_originationIdentityHasBeenSet = false; Aws::String m_isoCountryCode; bool m_isoCountryCodeHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws