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

The identifier of the bot that contains the custom vocabulary.

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

The identifier of the bot that contains the custom vocabulary.

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

The identifier of the bot that contains the custom vocabulary.

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

The identifier of the bot that contains the custom vocabulary.

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

The identifier of the bot that contains the custom vocabulary.

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

The identifier of the bot that contains the custom vocabulary.

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

The identifier of the bot that contains the custom vocabulary.

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

The version of the bot that contains the custom vocabulary to describe.

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

The version of the bot that contains the custom vocabulary to describe.

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

The version of the bot that contains the custom vocabulary to describe.

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

The version of the bot that contains the custom vocabulary to describe.

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

The version of the bot that contains the custom vocabulary to describe.

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

The version of the bot that contains the custom vocabulary to describe.

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

The version of the bot that contains the custom vocabulary to describe.

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

The locale that contains the custom vocabulary to describe.

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

The locale that contains the custom vocabulary to describe.

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

The locale that contains the custom vocabulary to describe.

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

The locale that contains the custom vocabulary to describe.

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

The locale that contains the custom vocabulary to describe.

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

The locale that contains the custom vocabulary to describe.

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

The locale that contains the custom vocabulary to describe.

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

The status of the custom vocabulary. If the status is Ready the * custom vocabulary is ready to use.

*/ inline const CustomVocabularyStatus& GetCustomVocabularyStatus() const{ return m_customVocabularyStatus; } /** *

The status of the custom vocabulary. If the status is Ready the * custom vocabulary is ready to use.

*/ inline void SetCustomVocabularyStatus(const CustomVocabularyStatus& value) { m_customVocabularyStatus = value; } /** *

The status of the custom vocabulary. If the status is Ready the * custom vocabulary is ready to use.

*/ inline void SetCustomVocabularyStatus(CustomVocabularyStatus&& value) { m_customVocabularyStatus = std::move(value); } /** *

The status of the custom vocabulary. If the status is Ready the * custom vocabulary is ready to use.

*/ inline DescribeCustomVocabularyMetadataResult& WithCustomVocabularyStatus(const CustomVocabularyStatus& value) { SetCustomVocabularyStatus(value); return *this;} /** *

The status of the custom vocabulary. If the status is Ready the * custom vocabulary is ready to use.

*/ inline DescribeCustomVocabularyMetadataResult& WithCustomVocabularyStatus(CustomVocabularyStatus&& value) { SetCustomVocabularyStatus(std::move(value)); return *this;} /** *

The date and time that the custom vocabulary was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The date and time that the custom vocabulary was created.

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

The date and time that the custom vocabulary was created.

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

The date and time that the custom vocabulary was created.

*/ inline DescribeCustomVocabularyMetadataResult& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time that the custom vocabulary was created.

*/ inline DescribeCustomVocabularyMetadataResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The date and time that the custom vocabulary was last updated.

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

The date and time that the custom vocabulary was last updated.

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

The date and time that the custom vocabulary was last updated.

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

The date and time that the custom vocabulary was last updated.

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

The date and time that the custom vocabulary was last updated.

*/ inline DescribeCustomVocabularyMetadataResult& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(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 DescribeCustomVocabularyMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCustomVocabularyMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCustomVocabularyMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::String m_botVersion; Aws::String m_localeId; CustomVocabularyStatus m_customVocabularyStatus; Aws::Utils::DateTime m_creationDateTime; Aws::Utils::DateTime m_lastUpdatedDateTime; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws