/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { class BuildBotLocaleResult { public: AWS_LEXMODELSV2_API BuildBotLocaleResult(); AWS_LEXMODELSV2_API BuildBotLocaleResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API BuildBotLocaleResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the specified bot.

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

The identifier of the specified bot.

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

The identifier of the specified bot.

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

The identifier of the specified bot.

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

The identifier of the specified bot.

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

The identifier of the specified bot.

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

The identifier of the specified bot.

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

The version of the bot that was built. This is only the draft version of the * bot.

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

The version of the bot that was built. This is only the draft version of the * bot.

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

The version of the bot that was built. This is only the draft version of the * bot.

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

The version of the bot that was built. This is only the draft version of the * bot.

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

The version of the bot that was built. This is only the draft version of the * bot.

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

The version of the bot that was built. This is only the draft version of the * bot.

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

The version of the bot that was built. This is only the draft version of the * bot.

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

The language and locale specified of where the bot can be used.

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

The language and locale specified of where the bot can be used.

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

The language and locale specified of where the bot can be used.

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

The language and locale specified of where the bot can be used.

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

The language and locale specified of where the bot can be used.

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

The language and locale specified of where the bot can be used.

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

The language and locale specified of where the bot can be used.

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

The bot's build status. When the status is ReadyExpressTesting * you can test the bot using the utterances defined for the intents and slot * types. When the status is Built, the bot is ready for use and can * be tested using any utterance.

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

The bot's build status. When the status is ReadyExpressTesting * you can test the bot using the utterances defined for the intents and slot * types. When the status is Built, the bot is ready for use and can * be tested using any utterance.

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

The bot's build status. When the status is ReadyExpressTesting * you can test the bot using the utterances defined for the intents and slot * types. When the status is Built, the bot is ready for use and can * be tested using any utterance.

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

The bot's build status. When the status is ReadyExpressTesting * you can test the bot using the utterances defined for the intents and slot * types. When the status is Built, the bot is ready for use and can * be tested using any utterance.

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

The bot's build status. When the status is ReadyExpressTesting * you can test the bot using the utterances defined for the intents and slot * types. When the status is Built, the bot is ready for use and can * be tested using any utterance.

*/ inline BuildBotLocaleResult& WithBotLocaleStatus(BotLocaleStatus&& value) { SetBotLocaleStatus(std::move(value)); return *this;} /** *

A timestamp indicating the date and time that the bot was last built for this * locale.

*/ inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const{ return m_lastBuildSubmittedDateTime; } /** *

A timestamp indicating the date and time that the bot was last built for this * locale.

*/ inline void SetLastBuildSubmittedDateTime(const Aws::Utils::DateTime& value) { m_lastBuildSubmittedDateTime = value; } /** *

A timestamp indicating the date and time that the bot was last built for this * locale.

*/ inline void SetLastBuildSubmittedDateTime(Aws::Utils::DateTime&& value) { m_lastBuildSubmittedDateTime = std::move(value); } /** *

A timestamp indicating the date and time that the bot was last built for this * locale.

*/ inline BuildBotLocaleResult& WithLastBuildSubmittedDateTime(const Aws::Utils::DateTime& value) { SetLastBuildSubmittedDateTime(value); return *this;} /** *

A timestamp indicating the date and time that the bot was last built for this * locale.

*/ inline BuildBotLocaleResult& WithLastBuildSubmittedDateTime(Aws::Utils::DateTime&& value) { SetLastBuildSubmittedDateTime(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 BuildBotLocaleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BuildBotLocaleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BuildBotLocaleResult& 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::Utils::DateTime m_lastBuildSubmittedDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws