/** * 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 DeleteConfigurationSetRequest : public PinpointSMSVoiceV2Request { public: AWS_PINPOINTSMSVOICEV2_API DeleteConfigurationSetRequest(); // 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 "DeleteConfigurationSet"; } AWS_PINPOINTSMSVOICEV2_API Aws::String SerializePayload() const override; AWS_PINPOINTSMSVOICEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the configuration set or the configuration set ARN that you want * to delete. The ConfigurationSetName and ConfigurationSetArn can be found using * the DescribeConfigurationSets action.

*/ inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; } /** *

The name of the configuration set or the configuration set ARN that you want * to delete. The ConfigurationSetName and ConfigurationSetArn can be found using * the DescribeConfigurationSets action.

*/ inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; } /** *

The name of the configuration set or the configuration set ARN that you want * to delete. The ConfigurationSetName and ConfigurationSetArn can be found using * the DescribeConfigurationSets action.

*/ inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = value; } /** *

The name of the configuration set or the configuration set ARN that you want * to delete. The ConfigurationSetName and ConfigurationSetArn can be found using * the DescribeConfigurationSets action.

*/ inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::move(value); } /** *

The name of the configuration set or the configuration set ARN that you want * to delete. The ConfigurationSetName and ConfigurationSetArn can be found using * the DescribeConfigurationSets action.

*/ inline void SetConfigurationSetName(const char* value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName.assign(value); } /** *

The name of the configuration set or the configuration set ARN that you want * to delete. The ConfigurationSetName and ConfigurationSetArn can be found using * the DescribeConfigurationSets action.

*/ inline DeleteConfigurationSetRequest& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;} /** *

The name of the configuration set or the configuration set ARN that you want * to delete. The ConfigurationSetName and ConfigurationSetArn can be found using * the DescribeConfigurationSets action.

*/ inline DeleteConfigurationSetRequest& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;} /** *

The name of the configuration set or the configuration set ARN that you want * to delete. The ConfigurationSetName and ConfigurationSetArn can be found using * the DescribeConfigurationSets action.

*/ inline DeleteConfigurationSetRequest& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;} private: Aws::String m_configurationSetName; bool m_configurationSetNameHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws