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

The identifier of the bot that contained the deleted locale.

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

The identifier of the bot that contained the deleted locale.

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

The identifier of the bot that contained the deleted locale.

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

The identifier of the bot that contained the deleted locale.

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

The identifier of the bot that contained the deleted locale.

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

The identifier of the bot that contained the deleted locale.

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

The identifier of the bot that contained the deleted locale.

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

The version of the bot that contained the deleted locale.

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

The version of the bot that contained the deleted locale.

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

The version of the bot that contained the deleted locale.

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

The version of the bot that contained the deleted locale.

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

The version of the bot that contained the deleted locale.

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

The version of the bot that contained the deleted locale.

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

The version of the bot that contained the deleted locale.

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

The language and locale of the deleted locale.

*/ inline const Aws::String& GetLocaleId() const{ return m_localeId; } /** *

The language and locale of the deleted locale.

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

The language and locale of the deleted locale.

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

The language and locale of the deleted locale.

*/ inline void SetLocaleId(const char* value) { m_localeId.assign(value); } /** *

The language and locale of the deleted locale.

*/ inline DeleteBotLocaleResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;} /** *

The language and locale of the deleted locale.

*/ inline DeleteBotLocaleResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;} /** *

The language and locale of the deleted locale.

*/ inline DeleteBotLocaleResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;} /** *

The status of deleting the bot locale. The locale first enters the * Deleting status. Once the locale is deleted it no longer appears in * the list of locales for the bot.

*/ inline const BotLocaleStatus& GetBotLocaleStatus() const{ return m_botLocaleStatus; } /** *

The status of deleting the bot locale. The locale first enters the * Deleting status. Once the locale is deleted it no longer appears in * the list of locales for the bot.

*/ inline void SetBotLocaleStatus(const BotLocaleStatus& value) { m_botLocaleStatus = value; } /** *

The status of deleting the bot locale. The locale first enters the * Deleting status. Once the locale is deleted it no longer appears in * the list of locales for the bot.

*/ inline void SetBotLocaleStatus(BotLocaleStatus&& value) { m_botLocaleStatus = std::move(value); } /** *

The status of deleting the bot locale. The locale first enters the * Deleting status. Once the locale is deleted it no longer appears in * the list of locales for the bot.

*/ inline DeleteBotLocaleResult& WithBotLocaleStatus(const BotLocaleStatus& value) { SetBotLocaleStatus(value); return *this;} /** *

The status of deleting the bot locale. The locale first enters the * Deleting status. Once the locale is deleted it no longer appears in * the list of locales for the bot.

*/ inline DeleteBotLocaleResult& WithBotLocaleStatus(BotLocaleStatus&& value) { SetBotLocaleStatus(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 DeleteBotLocaleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteBotLocaleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteBotLocaleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::String m_botVersion; Aws::String m_localeId; BotLocaleStatus m_botLocaleStatus; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws