/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace LexModelsV2 { namespace Model { /** */ class UpdateBotAliasRequest : public LexModelsV2Request { public: AWS_LEXMODELSV2_API UpdateBotAliasRequest(); // 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 "UpdateBotAlias"; } AWS_LEXMODELSV2_API Aws::String SerializePayload() const override; /** *

The unique identifier of the bot alias.

*/ inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; } /** *

The unique identifier of the bot alias.

*/ inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; } /** *

The unique identifier of the bot alias.

*/ inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; } /** *

The unique identifier of the bot alias.

*/ inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); } /** *

The unique identifier of the bot alias.

*/ inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); } /** *

The unique identifier of the bot alias.

*/ inline UpdateBotAliasRequest& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;} /** *

The unique identifier of the bot alias.

*/ inline UpdateBotAliasRequest& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;} /** *

The unique identifier of the bot alias.

*/ inline UpdateBotAliasRequest& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;} /** *

The new name to assign to the bot alias.

*/ inline const Aws::String& GetBotAliasName() const{ return m_botAliasName; } /** *

The new name to assign to the bot alias.

*/ inline bool BotAliasNameHasBeenSet() const { return m_botAliasNameHasBeenSet; } /** *

The new name to assign to the bot alias.

*/ inline void SetBotAliasName(const Aws::String& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = value; } /** *

The new name to assign to the bot alias.

*/ inline void SetBotAliasName(Aws::String&& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = std::move(value); } /** *

The new name to assign to the bot alias.

*/ inline void SetBotAliasName(const char* value) { m_botAliasNameHasBeenSet = true; m_botAliasName.assign(value); } /** *

The new name to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithBotAliasName(const Aws::String& value) { SetBotAliasName(value); return *this;} /** *

The new name to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithBotAliasName(Aws::String&& value) { SetBotAliasName(std::move(value)); return *this;} /** *

The new name to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithBotAliasName(const char* value) { SetBotAliasName(value); return *this;} /** *

The new description to assign to the bot alias.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The new description to assign to the bot alias.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The new description to assign to the bot alias.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The new description to assign to the bot alias.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The new description to assign to the bot alias.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The new description to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The new description to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The new description to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The new bot version to assign to the bot alias.

*/ inline const Aws::String& GetBotVersion() const{ return m_botVersion; } /** *

The new bot version to assign to the bot alias.

*/ inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; } /** *

The new bot version to assign to the bot alias.

*/ inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; } /** *

The new bot version to assign to the bot alias.

*/ inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); } /** *

The new bot version to assign to the bot alias.

*/ inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); } /** *

The new bot version to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;} /** *

The new bot version to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;} /** *

The new bot version to assign to the bot alias.

*/ inline UpdateBotAliasRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;} /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline const Aws::Map& GetBotAliasLocaleSettings() const{ return m_botAliasLocaleSettings; } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline bool BotAliasLocaleSettingsHasBeenSet() const { return m_botAliasLocaleSettingsHasBeenSet; } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline void SetBotAliasLocaleSettings(const Aws::Map& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings = value; } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline void SetBotAliasLocaleSettings(Aws::Map&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings = std::move(value); } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline UpdateBotAliasRequest& WithBotAliasLocaleSettings(const Aws::Map& value) { SetBotAliasLocaleSettings(value); return *this;} /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline UpdateBotAliasRequest& WithBotAliasLocaleSettings(Aws::Map&& value) { SetBotAliasLocaleSettings(std::move(value)); return *this;} /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(const Aws::String& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(key, value); return *this; } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(Aws::String&& key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(std::move(key), value); return *this; } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(const Aws::String& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(Aws::String&& key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(std::move(key), std::move(value)); return *this; } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(const char* key, BotAliasLocaleSettings&& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(key, std::move(value)); return *this; } /** *

The new Lambda functions to use in each locale for the bot alias.

*/ inline UpdateBotAliasRequest& AddBotAliasLocaleSettings(const char* key, const BotAliasLocaleSettings& value) { m_botAliasLocaleSettingsHasBeenSet = true; m_botAliasLocaleSettings.emplace(key, value); return *this; } /** *

The new settings for storing conversation logs in Amazon CloudWatch Logs and * Amazon S3 buckets.

*/ inline const ConversationLogSettings& GetConversationLogSettings() const{ return m_conversationLogSettings; } /** *

The new settings for storing conversation logs in Amazon CloudWatch Logs and * Amazon S3 buckets.

*/ inline bool ConversationLogSettingsHasBeenSet() const { return m_conversationLogSettingsHasBeenSet; } /** *

The new settings for storing conversation logs in Amazon CloudWatch Logs and * Amazon S3 buckets.

*/ inline void SetConversationLogSettings(const ConversationLogSettings& value) { m_conversationLogSettingsHasBeenSet = true; m_conversationLogSettings = value; } /** *

The new settings for storing conversation logs in Amazon CloudWatch Logs and * Amazon S3 buckets.

*/ inline void SetConversationLogSettings(ConversationLogSettings&& value) { m_conversationLogSettingsHasBeenSet = true; m_conversationLogSettings = std::move(value); } /** *

The new settings for storing conversation logs in Amazon CloudWatch Logs and * Amazon S3 buckets.

*/ inline UpdateBotAliasRequest& WithConversationLogSettings(const ConversationLogSettings& value) { SetConversationLogSettings(value); return *this;} /** *

The new settings for storing conversation logs in Amazon CloudWatch Logs and * Amazon S3 buckets.

*/ inline UpdateBotAliasRequest& WithConversationLogSettings(ConversationLogSettings&& value) { SetConversationLogSettings(std::move(value)); return *this;} inline const SentimentAnalysisSettings& GetSentimentAnalysisSettings() const{ return m_sentimentAnalysisSettings; } inline bool SentimentAnalysisSettingsHasBeenSet() const { return m_sentimentAnalysisSettingsHasBeenSet; } inline void SetSentimentAnalysisSettings(const SentimentAnalysisSettings& value) { m_sentimentAnalysisSettingsHasBeenSet = true; m_sentimentAnalysisSettings = value; } inline void SetSentimentAnalysisSettings(SentimentAnalysisSettings&& value) { m_sentimentAnalysisSettingsHasBeenSet = true; m_sentimentAnalysisSettings = std::move(value); } inline UpdateBotAliasRequest& WithSentimentAnalysisSettings(const SentimentAnalysisSettings& value) { SetSentimentAnalysisSettings(value); return *this;} inline UpdateBotAliasRequest& WithSentimentAnalysisSettings(SentimentAnalysisSettings&& value) { SetSentimentAnalysisSettings(std::move(value)); return *this;} /** *

The identifier of the bot with the updated alias.

*/ inline const Aws::String& GetBotId() const{ return m_botId; } /** *

The identifier of the bot with the updated alias.

*/ inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; } /** *

The identifier of the bot with the updated alias.

*/ inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; } /** *

The identifier of the bot with the updated alias.

*/ inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); } /** *

The identifier of the bot with the updated alias.

*/ inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); } /** *

The identifier of the bot with the updated alias.

*/ inline UpdateBotAliasRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;} /** *

The identifier of the bot with the updated alias.

*/ inline UpdateBotAliasRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;} /** *

The identifier of the bot with the updated alias.

*/ inline UpdateBotAliasRequest& WithBotId(const char* value) { SetBotId(value); return *this;} private: Aws::String m_botAliasId; bool m_botAliasIdHasBeenSet = false; Aws::String m_botAliasName; bool m_botAliasNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_botVersion; bool m_botVersionHasBeenSet = false; Aws::Map m_botAliasLocaleSettings; bool m_botAliasLocaleSettingsHasBeenSet = false; ConversationLogSettings m_conversationLogSettings; bool m_conversationLogSettingsHasBeenSet = false; SentimentAnalysisSettings m_sentimentAnalysisSettings; bool m_sentimentAnalysisSettingsHasBeenSet = false; Aws::String m_botId; bool m_botIdHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws