/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

Summary information about bot aliases returned from the ListBotAliases * operation.

See Also:

AWS * API Reference

*/ class BotAliasSummary { public: AWS_LEXMODELSV2_API BotAliasSummary(); AWS_LEXMODELSV2_API BotAliasSummary(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API BotAliasSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier assigned to the bot alias. You can use this ID to get * detailed information about the alias using the DescribeBotAlias * operation.

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

The unique identifier assigned to the bot alias. You can use this ID to get * detailed information about the alias using the DescribeBotAlias * operation.

*/ inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; } /** *

The unique identifier assigned to the bot alias. You can use this ID to get * detailed information about the alias using the DescribeBotAlias * operation.

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

The unique identifier assigned to the bot alias. You can use this ID to get * detailed information about the alias using the DescribeBotAlias * operation.

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

The unique identifier assigned to the bot alias. You can use this ID to get * detailed information about the alias using the DescribeBotAlias * operation.

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

The unique identifier assigned to the bot alias. You can use this ID to get * detailed information about the alias using the DescribeBotAlias * operation.

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

The unique identifier assigned to the bot alias. You can use this ID to get * detailed information about the alias using the DescribeBotAlias * operation.

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

The unique identifier assigned to the bot alias. You can use this ID to get * detailed information about the alias using the DescribeBotAlias * operation.

*/ inline BotAliasSummary& 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 bool BotAliasNameHasBeenSet() const { return m_botAliasNameHasBeenSet; } /** *

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

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

The name of the bot alias.

*/ inline BotAliasSummary& 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 bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The description of the bot alias.

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

The version of the bot that the bot alias references.

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

The version of the bot that the bot alias references.

*/ inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; } /** *

The version of the bot that the bot alias references.

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

The version of the bot that the bot alias references.

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

The version of the bot that the bot alias references.

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

The version of the bot that the bot alias references.

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

The version of the bot that the bot alias references.

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

The version of the bot that the bot alias references.

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

The current state of the bot alias. If the status is Available, * the alias is ready for use.

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

The current state of the bot alias. If the status is Available, * the alias is ready for use.

*/ inline bool BotAliasStatusHasBeenSet() const { return m_botAliasStatusHasBeenSet; } /** *

The current state of the bot alias. If the status is Available, * the alias is ready for use.

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

The current state of the bot alias. If the status is Available, * the alias is ready for use.

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

The current state of the bot alias. If the status is Available, * the alias is ready for use.

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

The current state of the bot alias. If the status is Available, * the alias is ready for use.

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

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

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

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

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

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

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

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

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

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

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

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

*/ inline BotAliasSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} private: Aws::String m_botAliasId; bool m_botAliasIdHasBeenSet = false; Aws::String m_botAliasName; bool m_botAliasNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_botVersion; bool m_botVersionHasBeenSet = false; BotAliasStatus m_botAliasStatus; bool m_botAliasStatusHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws