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

The identifier of the bot alias.

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

The identifier of the bot alias.

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

The identifier of the bot alias.

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

The identifier of the bot alias.

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

The identifier of the bot alias.

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

The identifier of the bot alias.

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

The identifier of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The version of the bot associated with the bot alias.

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

The version of the bot associated with the bot alias.

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

The version of the bot associated with the bot alias.

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

The version of the bot associated with the bot alias.

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

The version of the bot associated with the bot alias.

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

The version of the bot associated with the bot alias.

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

The version of the bot associated with the bot alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

The locale settings that are unique to the alias.

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

Specifics of how Amazon Lex logs text and audio conversations with the bot * associated with the alias.

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

Specifics of how Amazon Lex logs text and audio conversations with the bot * associated with the alias.

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

Specifics of how Amazon Lex logs text and audio conversations with the bot * associated with the alias.

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

Specifics of how Amazon Lex logs text and audio conversations with the bot * associated with the alias.

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

Specifics of how Amazon Lex logs text and audio conversations with the bot * associated with the alias.

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

A list of events that affect a bot alias. For example, an event is recorded * when the version that the alias points to changes.

*/ inline const Aws::Vector& GetBotAliasHistoryEvents() const{ return m_botAliasHistoryEvents; } /** *

A list of events that affect a bot alias. For example, an event is recorded * when the version that the alias points to changes.

*/ inline void SetBotAliasHistoryEvents(const Aws::Vector& value) { m_botAliasHistoryEvents = value; } /** *

A list of events that affect a bot alias. For example, an event is recorded * when the version that the alias points to changes.

*/ inline void SetBotAliasHistoryEvents(Aws::Vector&& value) { m_botAliasHistoryEvents = std::move(value); } /** *

A list of events that affect a bot alias. For example, an event is recorded * when the version that the alias points to changes.

*/ inline DescribeBotAliasResult& WithBotAliasHistoryEvents(const Aws::Vector& value) { SetBotAliasHistoryEvents(value); return *this;} /** *

A list of events that affect a bot alias. For example, an event is recorded * when the version that the alias points to changes.

*/ inline DescribeBotAliasResult& WithBotAliasHistoryEvents(Aws::Vector&& value) { SetBotAliasHistoryEvents(std::move(value)); return *this;} /** *

A list of events that affect a bot alias. For example, an event is recorded * when the version that the alias points to changes.

*/ inline DescribeBotAliasResult& AddBotAliasHistoryEvents(const BotAliasHistoryEvent& value) { m_botAliasHistoryEvents.push_back(value); return *this; } /** *

A list of events that affect a bot alias. For example, an event is recorded * when the version that the alias points to changes.

*/ inline DescribeBotAliasResult& AddBotAliasHistoryEvents(BotAliasHistoryEvent&& value) { m_botAliasHistoryEvents.push_back(std::move(value)); return *this; } /** *

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

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

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

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

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

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

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

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

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

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

The identifier of the bot associated with the bot alias.

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

The identifier of the bot associated with the bot alias.

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

The identifier of the bot associated with the bot alias.

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

The identifier of the bot associated with the bot alias.

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

The identifier of the bot associated with the bot alias.

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

The identifier of the bot associated with the bot alias.

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

The identifier of the bot associated with the bot alias.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline DescribeBotAliasResult& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

A list of the networks to which the bot alias you described belongs.

*/ inline const Aws::Vector& GetParentBotNetworks() const{ return m_parentBotNetworks; } /** *

A list of the networks to which the bot alias you described belongs.

*/ inline void SetParentBotNetworks(const Aws::Vector& value) { m_parentBotNetworks = value; } /** *

A list of the networks to which the bot alias you described belongs.

*/ inline void SetParentBotNetworks(Aws::Vector&& value) { m_parentBotNetworks = std::move(value); } /** *

A list of the networks to which the bot alias you described belongs.

*/ inline DescribeBotAliasResult& WithParentBotNetworks(const Aws::Vector& value) { SetParentBotNetworks(value); return *this;} /** *

A list of the networks to which the bot alias you described belongs.

*/ inline DescribeBotAliasResult& WithParentBotNetworks(Aws::Vector&& value) { SetParentBotNetworks(std::move(value)); return *this;} /** *

A list of the networks to which the bot alias you described belongs.

*/ inline DescribeBotAliasResult& AddParentBotNetworks(const ParentBotNetwork& value) { m_parentBotNetworks.push_back(value); return *this; } /** *

A list of the networks to which the bot alias you described belongs.

*/ inline DescribeBotAliasResult& AddParentBotNetworks(ParentBotNetwork&& value) { m_parentBotNetworks.push_back(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 DescribeBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBotAliasResult& 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; Aws::Vector m_botAliasHistoryEvents; BotAliasStatus m_botAliasStatus; Aws::String m_botId; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_lastUpdatedDateTime; Aws::Vector m_parentBotNetworks; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws