/** * 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 DeleteBotVersionResult { public: AWS_LEXMODELSV2_API DeleteBotVersionResult(); AWS_LEXMODELSV2_API DeleteBotVersionResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API DeleteBotVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the bot that is being deleted.

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

The identifier of the bot that is being deleted.

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

The identifier of the bot that is being deleted.

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

The identifier of the bot that is being deleted.

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

The identifier of the bot that is being deleted.

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

The identifier of the bot that is being deleted.

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

The identifier of the bot that is being deleted.

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

The version of the bot that is being deleted.

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

The version of the bot that is being deleted.

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

The version of the bot that is being deleted.

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

The version of the bot that is being deleted.

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

The version of the bot that is being deleted.

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

The version of the bot that is being deleted.

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

The version of the bot that is being deleted.

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

The current status of the bot.

*/ inline const BotStatus& GetBotStatus() const{ return m_botStatus; } /** *

The current status of the bot.

*/ inline void SetBotStatus(const BotStatus& value) { m_botStatus = value; } /** *

The current status of the bot.

*/ inline void SetBotStatus(BotStatus&& value) { m_botStatus = std::move(value); } /** *

The current status of the bot.

*/ inline DeleteBotVersionResult& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;} /** *

The current status of the bot.

*/ inline DeleteBotVersionResult& WithBotStatus(BotStatus&& value) { SetBotStatus(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 DeleteBotVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteBotVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteBotVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::String m_botVersion; BotStatus m_botStatus; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws