/** * 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 IoTAnalytics { namespace Model { /** */ class DeleteChannelRequest : public IoTAnalyticsRequest { public: AWS_IOTANALYTICS_API DeleteChannelRequest(); // 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 "DeleteChannel"; } AWS_IOTANALYTICS_API Aws::String SerializePayload() const override; /** *

The name of the channel to delete.

*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *

The name of the channel to delete.

*/ inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; } /** *

The name of the channel to delete.

*/ inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; } /** *

The name of the channel to delete.

*/ inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); } /** *

The name of the channel to delete.

*/ inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); } /** *

The name of the channel to delete.

*/ inline DeleteChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *

The name of the channel to delete.

*/ inline DeleteChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *

The name of the channel to delete.

*/ inline DeleteChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;} private: Aws::String m_channelName; bool m_channelNameHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws