/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about a bot alias.See Also:
AWS
* API Reference
The name of the bot alias.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the bot alias.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the bot alias.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the bot alias.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the bot alias.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the bot alias.
*/ inline BotAliasMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the bot alias.
*/ inline BotAliasMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the bot alias.
*/ inline BotAliasMetadata& 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 bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the bot alias.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the bot alias.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the bot alias.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the bot alias.
*/ inline BotAliasMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the bot alias.
*/ inline BotAliasMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the bot alias.
*/ inline BotAliasMetadata& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The version of the Amazon Lex bot to which the alias points.
*/ inline const Aws::String& GetBotVersion() const{ return m_botVersion; } /** *The version of the Amazon Lex bot to which the alias points.
*/ inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; } /** *The version of the Amazon Lex bot to which the alias points.
*/ inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; } /** *The version of the Amazon Lex bot to which the alias points.
*/ inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); } /** *The version of the Amazon Lex bot to which the alias points.
*/ inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); } /** *The version of the Amazon Lex bot to which the alias points.
*/ inline BotAliasMetadata& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;} /** *The version of the Amazon Lex bot to which the alias points.
*/ inline BotAliasMetadata& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;} /** *The version of the Amazon Lex bot to which the alias points.
*/ inline BotAliasMetadata& WithBotVersion(const char* value) { SetBotVersion(value); return *this;} /** *The name of the bot to which the alias points.
*/ inline const Aws::String& GetBotName() const{ return m_botName; } /** *The name of the bot to which the alias points.
*/ inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; } /** *The name of the bot to which the alias points.
*/ inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; } /** *The name of the bot to which the alias points.
*/ inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); } /** *The name of the bot to which the alias points.
*/ inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); } /** *The name of the bot to which the alias points.
*/ inline BotAliasMetadata& WithBotName(const Aws::String& value) { SetBotName(value); return *this;} /** *The name of the bot to which the alias points.
*/ inline BotAliasMetadata& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;} /** *The name of the bot to which the alias points.
*/ inline BotAliasMetadata& 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 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 last updated date are the same.
*/ inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; } /** *The date that the bot alias was updated. When you create a resource, the * creation date and last updated date are the same.
*/ inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; } /** *The date that the bot alias was updated. When you create a resource, the * creation date and last updated date are the same.
*/ inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); } /** *The date that the bot alias was updated. When you create a resource, the * creation date and last updated date are the same.
*/ inline BotAliasMetadata& 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 last updated date are the same.
*/ inline BotAliasMetadata& 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 bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } /** *The date that the bot alias was created.
*/ inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; } /** *The date that the bot alias was created.
*/ inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); } /** *The date that the bot alias was created.
*/ inline BotAliasMetadata& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *The date that the bot alias was created.
*/ inline BotAliasMetadata& 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 bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; } /** *Checksum of the bot alias.
*/ inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; } /** *Checksum of the bot alias.
*/ inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); } /** *Checksum of the bot alias.
*/ inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); } /** *Checksum of the bot alias.
*/ inline BotAliasMetadata& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;} /** *Checksum of the bot alias.
*/ inline BotAliasMetadata& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;} /** *Checksum of the bot alias.
*/ inline BotAliasMetadata& WithChecksum(const char* value) { SetChecksum(value); return *this;} /** *Settings that determine how Amazon Lex uses conversation logs for the * alias.
*/ inline const ConversationLogsResponse& GetConversationLogs() const{ return m_conversationLogs; } /** *Settings that determine how Amazon Lex uses conversation logs for the * alias.
*/ inline bool ConversationLogsHasBeenSet() const { return m_conversationLogsHasBeenSet; } /** *Settings that determine how Amazon Lex uses conversation logs for the * alias.
*/ inline void SetConversationLogs(const ConversationLogsResponse& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = value; } /** *Settings that determine how Amazon Lex uses conversation logs for the * alias.
*/ inline void SetConversationLogs(ConversationLogsResponse&& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = std::move(value); } /** *Settings that determine how Amazon Lex uses conversation logs for the * alias.
*/ inline BotAliasMetadata& WithConversationLogs(const ConversationLogsResponse& value) { SetConversationLogs(value); return *this;} /** *Settings that determine how Amazon Lex uses conversation logs for the * alias.
*/ inline BotAliasMetadata& WithConversationLogs(ConversationLogsResponse&& value) { SetConversationLogs(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_botVersion; bool m_botVersionHasBeenSet = false; Aws::String m_botName; bool m_botNameHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDate; bool m_lastUpdatedDateHasBeenSet = false; Aws::Utils::DateTime m_createdDate; bool m_createdDateHasBeenSet = false; Aws::String m_checksum; bool m_checksumHasBeenSet = false; ConversationLogsResponse m_conversationLogs; bool m_conversationLogsHasBeenSet = false; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws