/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { class UpdateBotAliasResult { public: AWS_LEXMODELSV2_API UpdateBotAliasResult(); AWS_LEXMODELSV2_API UpdateBotAliasResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API UpdateBotAliasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the updated bot alias.

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

The identifier of the updated bot alias.

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

The identifier of the updated bot alias.

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

The identifier of the updated bot alias.

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

The identifier of the updated bot alias.

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

The identifier of the updated bot alias.

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

The identifier of the updated bot alias.

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

The updated name of the bot alias.

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

The updated name of the bot alias.

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

The updated name of the bot alias.

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

The updated name of the bot alias.

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

The updated name of the bot alias.

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

The updated name of the bot alias.

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

The updated name of the bot alias.

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

The updated description of the bot alias.

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

The updated description of the bot alias.

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

The updated description of the bot alias.

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

The updated description of the bot alias.

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

The updated description of the bot alias.

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

The updated description of the bot alias.

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

The updated description of the bot alias.

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

The updated version of the bot that the alias points to.

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

The updated version of the bot that the alias points to.

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

The updated version of the bot that the alias points to.

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

The updated version of the bot that the alias points to.

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

The updated version of the bot that the alias points to.

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

The updated version of the bot that the alias points to.

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

The updated version of the bot that the alias points to.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The current status of the bot alias. When the status is * Available the alias is ready for use.

*/ inline const BotAliasStatus& GetBotAliasStatus() const{ return m_botAliasStatus; } /** *

The current status of the bot alias. When the status is * Available the alias is ready for use.

*/ inline void SetBotAliasStatus(const BotAliasStatus& value) { m_botAliasStatus = value; } /** *

The current status of the bot alias. When the status is * Available the alias is ready for use.

*/ inline void SetBotAliasStatus(BotAliasStatus&& value) { m_botAliasStatus = std::move(value); } /** *

The current status of the bot alias. When the status is * Available the alias is ready for use.

*/ inline UpdateBotAliasResult& WithBotAliasStatus(const BotAliasStatus& value) { SetBotAliasStatus(value); return *this;} /** *

The current status of the bot alias. When the status is * Available the alias is ready for use.

*/ inline UpdateBotAliasResult& WithBotAliasStatus(BotAliasStatus&& value) { SetBotAliasStatus(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 void SetBotId(const Aws::String& value) { m_botId = value; } /** *

The identifier of the bot with the updated alias.

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

The identifier of the bot with the updated alias.

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

The identifier of the bot with the updated alias.

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

The identifier of the bot with the updated alias.

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

The identifier of the bot with the updated alias.

*/ inline UpdateBotAliasResult& WithBotId(const char* value) { SetBotId(value); return *this;} /** *

A timestamp of the date and time that the bot was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

A timestamp of the date and time that the bot was created.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; } /** *

A timestamp of the date and time that the bot was created.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); } /** *

A timestamp of the date and time that the bot was created.

*/ inline UpdateBotAliasResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

A timestamp of the date and time that the bot was created.

*/ inline UpdateBotAliasResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

A timestamp of the date and time that the bot was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

A timestamp of the date and time that the bot was last updated.

*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; } /** *

A timestamp of the date and time that the bot was last updated.

*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); } /** *

A timestamp of the date and time that the bot was last updated.

*/ inline UpdateBotAliasResult& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

A timestamp of the date and time that the bot was last updated.

*/ inline UpdateBotAliasResult& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateBotAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botAliasId; Aws::String m_botAliasName; Aws::String m_description; Aws::String m_botVersion; Aws::Map m_botAliasLocaleSettings; ConversationLogSettings m_conversationLogSettings; SentimentAnalysisSettings m_sentimentAnalysisSettings; BotAliasStatus m_botAliasStatus; Aws::String m_botId; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_lastUpdatedDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws