/** * 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 SupportApp { namespace Model { /** */ class DeleteSlackChannelConfigurationRequest : public SupportAppRequest { public: AWS_SUPPORTAPP_API DeleteSlackChannelConfigurationRequest(); // 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 "DeleteSlackChannelConfiguration"; } AWS_SUPPORTAPP_API Aws::String SerializePayload() const override; /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline const Aws::String& GetChannelId() const{ return m_channelId; } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline DeleteSlackChannelConfigurationRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;} /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline DeleteSlackChannelConfigurationRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;} /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline DeleteSlackChannelConfigurationRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;} /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline const Aws::String& GetTeamId() const{ return m_teamId; } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline DeleteSlackChannelConfigurationRequest& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;} /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline DeleteSlackChannelConfigurationRequest& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;} /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline DeleteSlackChannelConfigurationRequest& WithTeamId(const char* value) { SetTeamId(value); return *this;} private: Aws::String m_channelId; bool m_channelIdHasBeenSet = false; Aws::String m_teamId; bool m_teamIdHasBeenSet = false; }; } // namespace Model } // namespace SupportApp } // namespace Aws