/** * 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 LexModelBuildingService { namespace Model { /** */ class GetBotChannelAssociationRequest : public LexModelBuildingServiceRequest { public: AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationRequest(); // 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 "GetBotChannelAssociation"; } AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override; /** *

The name of the association between the bot and the channel. The name is case * sensitive.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the association between the bot and the channel. The name is case * sensitive.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the association between the bot and the channel. The name is case * sensitive.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the association between the bot and the channel. The name is case * sensitive.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the association between the bot and the channel. The name is case * sensitive.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the association between the bot and the channel. The name is case * sensitive.

*/ inline GetBotChannelAssociationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the association between the bot and the channel. The name is case * sensitive.

*/ inline GetBotChannelAssociationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the association between the bot and the channel. The name is case * sensitive.

*/ inline GetBotChannelAssociationRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The name of the Amazon Lex bot.

*/ inline const Aws::String& GetBotName() const{ return m_botName; } /** *

The name of the Amazon Lex bot.

*/ inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; } /** *

The name of the Amazon Lex bot.

*/ inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; } /** *

The name of the Amazon Lex bot.

*/ inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); } /** *

The name of the Amazon Lex bot.

*/ inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); } /** *

The name of the Amazon Lex bot.

*/ inline GetBotChannelAssociationRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;} /** *

The name of the Amazon Lex bot.

*/ inline GetBotChannelAssociationRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;} /** *

The name of the Amazon Lex bot.

*/ inline GetBotChannelAssociationRequest& WithBotName(const char* value) { SetBotName(value); return *this;} /** *

An alias pointing to the specific version of the Amazon Lex bot to which this * association is being made.

*/ inline const Aws::String& GetBotAlias() const{ return m_botAlias; } /** *

An alias pointing to the specific version of the Amazon Lex bot to which this * association is being made.

*/ inline bool BotAliasHasBeenSet() const { return m_botAliasHasBeenSet; } /** *

An alias pointing to the specific version of the Amazon Lex bot to which this * association is being made.

*/ inline void SetBotAlias(const Aws::String& value) { m_botAliasHasBeenSet = true; m_botAlias = value; } /** *

An alias pointing to the specific version of the Amazon Lex bot to which this * association is being made.

*/ inline void SetBotAlias(Aws::String&& value) { m_botAliasHasBeenSet = true; m_botAlias = std::move(value); } /** *

An alias pointing to the specific version of the Amazon Lex bot to which this * association is being made.

*/ inline void SetBotAlias(const char* value) { m_botAliasHasBeenSet = true; m_botAlias.assign(value); } /** *

An alias pointing to the specific version of the Amazon Lex bot to which this * association is being made.

*/ inline GetBotChannelAssociationRequest& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;} /** *

An alias pointing to the specific version of the Amazon Lex bot to which this * association is being made.

*/ inline GetBotChannelAssociationRequest& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;} /** *

An alias pointing to the specific version of the Amazon Lex bot to which this * association is being made.

*/ inline GetBotChannelAssociationRequest& WithBotAlias(const char* value) { SetBotAlias(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_botName; bool m_botNameHasBeenSet = false; Aws::String m_botAlias; bool m_botAliasHasBeenSet = false; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws