/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelBuildingService { namespace Model { class PutBotAliasResult { public: AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult(); AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the alias.

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

The name of the alias.

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

The name of the alias.

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

The name of the alias.

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

The name of the alias.

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

The name of the alias.

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

The name of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

A description of the alias.

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

The version of the bot that the alias points to.

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

The version of the bot that the alias points to.

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

The version of the bot that the alias points to.

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

The version of the bot that the alias points to.

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

The version of the bot that the alias points to.

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

The version of the bot that the alias points to.

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

The version of the bot that the alias points to.

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

The name of the bot that the alias points to.

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

The name of the bot that the alias points to.

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

The name of the bot that the alias points to.

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

The name of the bot that the alias points to.

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

The name of the bot that the alias points to.

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

The name of the bot that the alias points to.

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

The name of the bot that the alias points to.

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

The date that the bot alias was updated. When you create a resource, the * creation date and the last updated date are the same.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; } /** *

The date that the bot alias was updated. When you create a resource, the * creation date and the last updated date are the same.

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

The date that the bot alias was updated. When you create a resource, the * creation date and the last updated date are the same.

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

The date that the bot alias was updated. When you create a resource, the * creation date and the last updated date are the same.

*/ inline PutBotAliasResult& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;} /** *

The date that the bot alias was updated. When you create a resource, the * creation date and the last updated date are the same.

*/ inline PutBotAliasResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;} /** *

The date that the bot alias was created.

*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } /** *

The date that the bot alias was created.

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

The date that the bot alias was created.

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

The date that the bot alias was created.

*/ inline PutBotAliasResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *

The date that the bot alias was created.

*/ inline PutBotAliasResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} /** *

The checksum for the current version of the alias.

*/ inline const Aws::String& GetChecksum() const{ return m_checksum; } /** *

The checksum for the current version of the alias.

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

The checksum for the current version of the alias.

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

The checksum for the current version of the alias.

*/ inline void SetChecksum(const char* value) { m_checksum.assign(value); } /** *

The checksum for the current version of the alias.

*/ inline PutBotAliasResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;} /** *

The checksum for the current version of the alias.

*/ inline PutBotAliasResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;} /** *

The checksum for the current version of the alias.

*/ inline PutBotAliasResult& WithChecksum(const char* value) { SetChecksum(value); return *this;} /** *

The settings that determine how Amazon Lex uses conversation logs for the * alias.

*/ inline const ConversationLogsResponse& GetConversationLogs() const{ return m_conversationLogs; } /** *

The settings that determine how Amazon Lex uses conversation logs for the * alias.

*/ inline void SetConversationLogs(const ConversationLogsResponse& value) { m_conversationLogs = value; } /** *

The settings that determine how Amazon Lex uses conversation logs for the * alias.

*/ inline void SetConversationLogs(ConversationLogsResponse&& value) { m_conversationLogs = std::move(value); } /** *

The settings that determine how Amazon Lex uses conversation logs for the * alias.

*/ inline PutBotAliasResult& WithConversationLogs(const ConversationLogsResponse& value) { SetConversationLogs(value); return *this;} /** *

The settings that determine how Amazon Lex uses conversation logs for the * alias.

*/ inline PutBotAliasResult& WithConversationLogs(ConversationLogsResponse&& value) { SetConversationLogs(std::move(value)); return *this;} /** *

A list of tags associated with a bot.

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

A list of tags associated with a bot.

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

A list of tags associated with a bot.

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

A list of tags associated with a bot.

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

A list of tags associated with a bot.

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

A list of tags associated with a bot.

*/ inline PutBotAliasResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

A list of tags associated with a bot.

*/ inline PutBotAliasResult& AddTags(Tag&& value) { m_tags.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 PutBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutBotAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_description; Aws::String m_botVersion; Aws::String m_botName; Aws::Utils::DateTime m_lastUpdatedDate; Aws::Utils::DateTime m_createdDate; Aws::String m_checksum; ConversationLogsResponse m_conversationLogs; Aws::Vector m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws