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

The identifier of the bot associated with this custom vocabulary.

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

The identifier of the bot associated with this custom vocabulary.

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

The identifier of the bot associated with this custom vocabulary.

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

The identifier of the bot associated with this custom vocabulary.

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

The identifier of the bot associated with this custom vocabulary.

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

The identifier of the bot associated with this custom vocabulary.

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

The identifier of the bot associated with this custom vocabulary.

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

The identifier of the version of the bot associated with this custom * vocabulary.

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

The identifier of the version of the bot associated with this custom * vocabulary.

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

The identifier of the version of the bot associated with this custom * vocabulary.

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

The identifier of the version of the bot associated with this custom * vocabulary.

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

The identifier of the version of the bot associated with this custom * vocabulary.

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

The identifier of the version of the bot associated with this custom * vocabulary.

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

The identifier of the version of the bot associated with this custom * vocabulary.

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

The identifier of the language and locale where this custom vocabulary is * used. The string must match one of the supported locales. For more information, * see * Supported Languages .

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

The identifier of the language and locale where this custom vocabulary is * used. The string must match one of the supported locales. For more information, * see * Supported Languages .

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

The identifier of the language and locale where this custom vocabulary is * used. The string must match one of the supported locales. For more information, * see * Supported Languages .

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

The identifier of the language and locale where this custom vocabulary is * used. The string must match one of the supported locales. For more information, * see * Supported Languages .

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

The identifier of the language and locale where this custom vocabulary is * used. The string must match one of the supported locales. For more information, * see * Supported Languages .

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

The identifier of the language and locale where this custom vocabulary is * used. The string must match one of the supported locales. For more information, * see * Supported Languages .

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

The identifier of the language and locale where this custom vocabulary is * used. The string must match one of the supported locales. For more information, * see * Supported Languages .

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

The custom vocabulary items from the list custom vocabulary response.

*/ inline const Aws::Vector& GetCustomVocabularyItems() const{ return m_customVocabularyItems; } /** *

The custom vocabulary items from the list custom vocabulary response.

*/ inline void SetCustomVocabularyItems(const Aws::Vector& value) { m_customVocabularyItems = value; } /** *

The custom vocabulary items from the list custom vocabulary response.

*/ inline void SetCustomVocabularyItems(Aws::Vector&& value) { m_customVocabularyItems = std::move(value); } /** *

The custom vocabulary items from the list custom vocabulary response.

*/ inline ListCustomVocabularyItemsResult& WithCustomVocabularyItems(const Aws::Vector& value) { SetCustomVocabularyItems(value); return *this;} /** *

The custom vocabulary items from the list custom vocabulary response.

*/ inline ListCustomVocabularyItemsResult& WithCustomVocabularyItems(Aws::Vector&& value) { SetCustomVocabularyItems(std::move(value)); return *this;} /** *

The custom vocabulary items from the list custom vocabulary response.

*/ inline ListCustomVocabularyItemsResult& AddCustomVocabularyItems(const CustomVocabularyItem& value) { m_customVocabularyItems.push_back(value); return *this; } /** *

The custom vocabulary items from the list custom vocabulary response.

*/ inline ListCustomVocabularyItemsResult& AddCustomVocabularyItems(CustomVocabularyItem&& value) { m_customVocabularyItems.push_back(std::move(value)); return *this; } /** *

The nextToken identifier to the list custom vocabulary response.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The nextToken identifier to the list custom vocabulary response.

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

The nextToken identifier to the list custom vocabulary response.

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

The nextToken identifier to the list custom vocabulary response.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The nextToken identifier to the list custom vocabulary response.

*/ inline ListCustomVocabularyItemsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The nextToken identifier to the list custom vocabulary response.

*/ inline ListCustomVocabularyItemsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The nextToken identifier to the list custom vocabulary response.

*/ inline ListCustomVocabularyItemsResult& WithNextToken(const char* value) { SetNextToken(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 ListCustomVocabularyItemsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCustomVocabularyItemsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCustomVocabularyItemsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::String m_botVersion; Aws::String m_localeId; Aws::Vector m_customVocabularyItems; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws