/** * 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 locales returned by the ListBotLocales * operation.

See Also:

AWS * API Reference

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

The language and locale of the bot locale.

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

The language and locale of the bot locale.

*/ inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; } /** *

The language and locale of the bot locale.

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

The language and locale of the bot locale.

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

The language and locale of the bot locale.

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

The language and locale of the bot locale.

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

The language and locale of the bot locale.

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

The language and locale of the bot locale.

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

The name of the bot locale.

*/ inline const Aws::String& GetLocaleName() const{ return m_localeName; } /** *

The name of the bot locale.

*/ inline bool LocaleNameHasBeenSet() const { return m_localeNameHasBeenSet; } /** *

The name of the bot locale.

*/ inline void SetLocaleName(const Aws::String& value) { m_localeNameHasBeenSet = true; m_localeName = value; } /** *

The name of the bot locale.

*/ inline void SetLocaleName(Aws::String&& value) { m_localeNameHasBeenSet = true; m_localeName = std::move(value); } /** *

The name of the bot locale.

*/ inline void SetLocaleName(const char* value) { m_localeNameHasBeenSet = true; m_localeName.assign(value); } /** *

The name of the bot locale.

*/ inline BotLocaleSummary& WithLocaleName(const Aws::String& value) { SetLocaleName(value); return *this;} /** *

The name of the bot locale.

*/ inline BotLocaleSummary& WithLocaleName(Aws::String&& value) { SetLocaleName(std::move(value)); return *this;} /** *

The name of the bot locale.

*/ inline BotLocaleSummary& WithLocaleName(const char* value) { SetLocaleName(value); return *this;} /** *

The description of the bot locale.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the bot locale.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the bot locale.

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

The description of the bot locale.

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

The description of the bot locale.

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

The description of the bot locale.

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

The description of the bot locale.

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

The description of the bot locale.

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

The current status of the bot locale. When the status is Built * the locale is ready for use.

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

The current status of the bot locale. When the status is Built * the locale is ready for use.

*/ inline bool BotLocaleStatusHasBeenSet() const { return m_botLocaleStatusHasBeenSet; } /** *

The current status of the bot locale. When the status is Built * the locale is ready for use.

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

The current status of the bot locale. When the status is Built * the locale is ready for use.

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

The current status of the bot locale. When the status is Built * the locale is ready for use.

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

The current status of the bot locale. When the status is Built * the locale is ready for use.

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

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

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

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

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

A timestamp of the date and time that the bot locale 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 locale 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 locale was last updated.

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

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

*/ inline BotLocaleSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

A timestamp of the date and time that the bot locale was last built.

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

A timestamp of the date and time that the bot locale was last built.

*/ inline bool LastBuildSubmittedDateTimeHasBeenSet() const { return m_lastBuildSubmittedDateTimeHasBeenSet; } /** *

A timestamp of the date and time that the bot locale was last built.

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

A timestamp of the date and time that the bot locale was last built.

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

A timestamp of the date and time that the bot locale was last built.

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

A timestamp of the date and time that the bot locale was last built.

*/ inline BotLocaleSummary& WithLastBuildSubmittedDateTime(Aws::Utils::DateTime&& value) { SetLastBuildSubmittedDateTime(std::move(value)); return *this;} private: Aws::String m_localeId; bool m_localeIdHasBeenSet = false; Aws::String m_localeName; bool m_localeNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; BotLocaleStatus m_botLocaleStatus; bool m_botLocaleStatusHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastBuildSubmittedDateTime; bool m_lastBuildSubmittedDateTimeHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws