/** * 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 ConfigService { namespace Model { /** *

The input for the DeleteDeliveryChannel action. The action accepts the * following data, in JSON format.

See Also:

AWS * API Reference

*/ class DeleteDeliveryChannelRequest : public ConfigServiceRequest { public: AWS_CONFIGSERVICE_API DeleteDeliveryChannelRequest(); // 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 "DeleteDeliveryChannel"; } AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override; AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the delivery channel to delete.

*/ inline const Aws::String& GetDeliveryChannelName() const{ return m_deliveryChannelName; } /** *

The name of the delivery channel to delete.

*/ inline bool DeliveryChannelNameHasBeenSet() const { return m_deliveryChannelNameHasBeenSet; } /** *

The name of the delivery channel to delete.

*/ inline void SetDeliveryChannelName(const Aws::String& value) { m_deliveryChannelNameHasBeenSet = true; m_deliveryChannelName = value; } /** *

The name of the delivery channel to delete.

*/ inline void SetDeliveryChannelName(Aws::String&& value) { m_deliveryChannelNameHasBeenSet = true; m_deliveryChannelName = std::move(value); } /** *

The name of the delivery channel to delete.

*/ inline void SetDeliveryChannelName(const char* value) { m_deliveryChannelNameHasBeenSet = true; m_deliveryChannelName.assign(value); } /** *

The name of the delivery channel to delete.

*/ inline DeleteDeliveryChannelRequest& WithDeliveryChannelName(const Aws::String& value) { SetDeliveryChannelName(value); return *this;} /** *

The name of the delivery channel to delete.

*/ inline DeleteDeliveryChannelRequest& WithDeliveryChannelName(Aws::String&& value) { SetDeliveryChannelName(std::move(value)); return *this;} /** *

The name of the delivery channel to delete.

*/ inline DeleteDeliveryChannelRequest& WithDeliveryChannelName(const char* value) { SetDeliveryChannelName(value); return *this;} private: Aws::String m_deliveryChannelName; bool m_deliveryChannelNameHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws