/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { class DeleteBotAliasResult { public: AWS_LEXMODELSV2_API DeleteBotAliasResult(); AWS_LEXMODELSV2_API DeleteBotAliasResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API DeleteBotAliasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the bot alias to delete.

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

The unique identifier of the bot alias to delete.

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

The unique identifier of the bot alias to delete.

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

The unique identifier of the bot alias to delete.

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

The unique identifier of the bot alias to delete.

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

The unique identifier of the bot alias to delete.

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

The unique identifier of the bot alias to delete.

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

The unique identifier of the bot that contains the alias to delete.

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

The unique identifier of the bot that contains the alias to delete.

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

The unique identifier of the bot that contains the alias to delete.

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

The unique identifier of the bot that contains the alias to delete.

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

The unique identifier of the bot that contains the alias to delete.

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

The unique identifier of the bot that contains the alias to delete.

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

The unique identifier of the bot that contains the alias to delete.

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

The current status of the alias. The status is Deleting while * the alias is in the process of being deleted. Once the alias is deleted, it will * no longer appear in the list of aliases returned by the * ListBotAliases operation.

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

The current status of the alias. The status is Deleting while * the alias is in the process of being deleted. Once the alias is deleted, it will * no longer appear in the list of aliases returned by the * ListBotAliases operation.

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

The current status of the alias. The status is Deleting while * the alias is in the process of being deleted. Once the alias is deleted, it will * no longer appear in the list of aliases returned by the * ListBotAliases operation.

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

The current status of the alias. The status is Deleting while * the alias is in the process of being deleted. Once the alias is deleted, it will * no longer appear in the list of aliases returned by the * ListBotAliases operation.

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

The current status of the alias. The status is Deleting while * the alias is in the process of being deleted. Once the alias is deleted, it will * no longer appear in the list of aliases returned by the * ListBotAliases operation.

*/ inline DeleteBotAliasResult& WithBotAliasStatus(BotAliasStatus&& value) { SetBotAliasStatus(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 DeleteBotAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteBotAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteBotAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botAliasId; Aws::String m_botId; BotAliasStatus m_botAliasStatus; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws