/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 GetBotAliasResult { public: AWS_LEXMODELBUILDINGSERVICE_API GetBotAliasResult(); AWS_LEXMODELBUILDINGSERVICE_API GetBotAliasResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELBUILDINGSERVICE_API GetBotAliasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

A description of the bot alias.

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

A description of the bot alias.

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

A description of the bot alias.

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

A description of the bot alias.

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

A description of the bot alias.

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

A description of the bot alias.

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

A description of the bot alias.

*/ inline GetBotAliasResult& 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 GetBotAliasResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;} /** *

The version of the bot that the alias points to.

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

The version of the bot that the alias points to.

*/ inline GetBotAliasResult& 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 GetBotAliasResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;} /** *

The name of the bot that the alias points to.

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

The name of the bot that the alias points to.

*/ inline GetBotAliasResult& 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 GetBotAliasResult& 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 GetBotAliasResult& 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 GetBotAliasResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *

The date that the bot alias was created.

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

Checksum of the bot alias.

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

Checksum of the bot alias.

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

Checksum of the bot alias.

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

Checksum of the bot alias.

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

Checksum of the bot alias.

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

Checksum of the bot alias.

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

Checksum of the bot alias.

*/ inline GetBotAliasResult& 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 GetBotAliasResult& WithConversationLogs(const ConversationLogsResponse& value) { SetConversationLogs(value); return *this;} /** *

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

*/ inline GetBotAliasResult& WithConversationLogs(ConversationLogsResponse&& value) { SetConversationLogs(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 GetBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBotAliasResult& 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::String m_requestId; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws