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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values * of PoolId and PoolArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values * of PoolId and PoolArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values * of PoolId and PoolArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values * of PoolId and PoolArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values * of PoolId and PoolArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values * of PoolId and PoolArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values * of PoolId and PoolArn.

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

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, * PoolId or PoolArn. You can use DescribePhoneNumbers to find the values * for PhoneNumberId and PhoneNumberArn and DescribePools to find the values * of PoolId and PoolArn.

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

The keyword to delete.

*/ inline const Aws::String& GetKeyword() const{ return m_keyword; } /** *

The keyword to delete.

*/ inline bool KeywordHasBeenSet() const { return m_keywordHasBeenSet; } /** *

The keyword to delete.

*/ inline void SetKeyword(const Aws::String& value) { m_keywordHasBeenSet = true; m_keyword = value; } /** *

The keyword to delete.

*/ inline void SetKeyword(Aws::String&& value) { m_keywordHasBeenSet = true; m_keyword = std::move(value); } /** *

The keyword to delete.

*/ inline void SetKeyword(const char* value) { m_keywordHasBeenSet = true; m_keyword.assign(value); } /** *

The keyword to delete.

*/ inline DeleteKeywordRequest& WithKeyword(const Aws::String& value) { SetKeyword(value); return *this;} /** *

The keyword to delete.

*/ inline DeleteKeywordRequest& WithKeyword(Aws::String&& value) { SetKeyword(std::move(value)); return *this;} /** *

The keyword to delete.

*/ inline DeleteKeywordRequest& WithKeyword(const char* value) { SetKeyword(value); return *this;} private: Aws::String m_originationIdentity; bool m_originationIdentityHasBeenSet = false; Aws::String m_keyword; bool m_keywordHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws