/** * 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 CreateBotAliasResult { public: AWS_LEXMODELSV2_API CreateBotAliasResult(); AWS_LEXMODELSV2_API CreateBotAliasResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API CreateBotAliasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the bot alias.

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

The unique identifier of the bot alias.

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

The unique identifier of the bot alias.

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

The unique identifier of the bot alias.

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

The unique identifier of the bot alias.

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

The unique identifier of the bot alias.

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

The unique identifier of the bot alias.

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

The name specified for the bot alias.

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

The name specified for the bot alias.

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

The name specified for the bot alias.

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

The name specified for the bot alias.

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

The name specified for the bot alias.

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

The name specified for the bot alias.

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

The name specified for the bot alias.

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

The description specified for the bot alias.

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

The description specified for the bot alias.

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

The description specified for the bot alias.

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

The description specified for the bot alias.

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

The description specified for the bot alias.

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

The description specified for the bot alias.

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

The description specified for the bot alias.

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

The version of the bot associated with this alias.

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

The version of the bot associated with this alias.

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

The version of the bot associated with this alias.

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

The version of the bot associated with this alias.

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

The version of the bot associated with this alias.

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

The version of the bot associated with this alias.

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

The version of the bot associated with this alias.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

Configuration information for a specific locale.

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

The conversation log settings specified for the alias.

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

The conversation log settings specified for the alias.

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

The conversation log settings specified for the alias.

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

The conversation log settings specified for the alias.

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

The conversation log settings specified for the alias.

*/ inline CreateBotAliasResult& 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 CreateBotAliasResult& WithSentimentAnalysisSettings(const SentimentAnalysisSettings& value) { SetSentimentAnalysisSettings(value); return *this;} inline CreateBotAliasResult& WithSentimentAnalysisSettings(SentimentAnalysisSettings&& value) { SetSentimentAnalysisSettings(std::move(value)); return *this;} /** *

The current status of the alias. The alias is first put into the * Creating state. When the alias is ready to be used, it is put into * the Available state. You can use the DescribeBotAlias * operation to get the current state of an alias.

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

The current status of the alias. The alias is first put into the * Creating state. When the alias is ready to be used, it is put into * the Available state. You can use the DescribeBotAlias * operation to get the current state of an alias.

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

The current status of the alias. The alias is first put into the * Creating state. When the alias is ready to be used, it is put into * the Available state. You can use the DescribeBotAlias * operation to get the current state of an alias.

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

The current status of the alias. The alias is first put into the * Creating state. When the alias is ready to be used, it is put into * the Available state. You can use the DescribeBotAlias * operation to get the current state of an alias.

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

The current status of the alias. The alias is first put into the * Creating state. When the alias is ready to be used, it is put into * the Available state. You can use the DescribeBotAlias * operation to get the current state of an alias.

*/ inline CreateBotAliasResult& WithBotAliasStatus(BotAliasStatus&& value) { SetBotAliasStatus(std::move(value)); return *this;} /** *

The unique identifier of the bot that this alias applies to.

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

The unique identifier of the bot that this alias applies to.

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

The unique identifier of the bot that this alias applies to.

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

The unique identifier of the bot that this alias applies to.

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

The unique identifier of the bot that this alias applies to.

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

The unique identifier of the bot that this alias applies to.

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

The unique identifier of the bot that this alias applies to.

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

A Unix timestamp indicating the date and time that the bot alias was * created.

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

A Unix timestamp indicating the date and time that the bot alias was * created.

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

A Unix timestamp indicating the date and time that the bot alias was * created.

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

A Unix timestamp indicating the date and time that the bot alias was * created.

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

A Unix timestamp indicating the date and time that the bot alias was * created.

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

A list of tags associated with the bot alias.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A list of tags associated with the bot alias.

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

A list of tags associated with the bot alias.

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

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A list of tags associated with the bot alias.

*/ inline CreateBotAliasResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 CreateBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateBotAliasResult& 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::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws