/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 BatchDeleteCustomVocabularyItemResult { public: AWS_LEXMODELSV2_API BatchDeleteCustomVocabularyItemResult(); AWS_LEXMODELSV2_API BatchDeleteCustomVocabularyItemResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API BatchDeleteCustomVocabularyItemResult& 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 BatchDeleteCustomVocabularyItemResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;} /** *

The identifier of the bot associated with this custom vocabulary.

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

The identifier of the bot associated with this custom vocabulary.

*/ inline BatchDeleteCustomVocabularyItemResult& 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 BatchDeleteCustomVocabularyItemResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;} /** *

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

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

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

*/ inline BatchDeleteCustomVocabularyItemResult& 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 * (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

*/ 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 * (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

*/ 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 * (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

*/ 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 * (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

*/ 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 * (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

*/ inline BatchDeleteCustomVocabularyItemResult& 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 * (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

*/ inline BatchDeleteCustomVocabularyItemResult& 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 * (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

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

A list of custom vocabulary items that failed to delete during the operation. * The reason for the error is contained within each error object.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

A list of custom vocabulary items that failed to delete during the operation. * The reason for the error is contained within each error object.

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

A list of custom vocabulary items that failed to delete during the operation. * The reason for the error is contained within each error object.

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

A list of custom vocabulary items that failed to delete during the operation. * The reason for the error is contained within each error object.

*/ inline BatchDeleteCustomVocabularyItemResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

A list of custom vocabulary items that failed to delete during the operation. * The reason for the error is contained within each error object.

*/ inline BatchDeleteCustomVocabularyItemResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

A list of custom vocabulary items that failed to delete during the operation. * The reason for the error is contained within each error object.

*/ inline BatchDeleteCustomVocabularyItemResult& AddErrors(const FailedCustomVocabularyItem& value) { m_errors.push_back(value); return *this; } /** *

A list of custom vocabulary items that failed to delete during the operation. * The reason for the error is contained within each error object.

*/ inline BatchDeleteCustomVocabularyItemResult& AddErrors(FailedCustomVocabularyItem&& value) { m_errors.push_back(std::move(value)); return *this; } /** *

A list of custom vocabulary items that were successfully deleted during the * operation.

*/ inline const Aws::Vector& GetResources() const{ return m_resources; } /** *

A list of custom vocabulary items that were successfully deleted during the * operation.

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

A list of custom vocabulary items that were successfully deleted during the * operation.

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

A list of custom vocabulary items that were successfully deleted during the * operation.

*/ inline BatchDeleteCustomVocabularyItemResult& WithResources(const Aws::Vector& value) { SetResources(value); return *this;} /** *

A list of custom vocabulary items that were successfully deleted during the * operation.

*/ inline BatchDeleteCustomVocabularyItemResult& WithResources(Aws::Vector&& value) { SetResources(std::move(value)); return *this;} /** *

A list of custom vocabulary items that were successfully deleted during the * operation.

*/ inline BatchDeleteCustomVocabularyItemResult& AddResources(const CustomVocabularyItem& value) { m_resources.push_back(value); return *this; } /** *

A list of custom vocabulary items that were successfully deleted during the * operation.

*/ inline BatchDeleteCustomVocabularyItemResult& AddResources(CustomVocabularyItem&& value) { m_resources.push_back(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 BatchDeleteCustomVocabularyItemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchDeleteCustomVocabularyItemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchDeleteCustomVocabularyItemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::String m_botVersion; Aws::String m_localeId; Aws::Vector m_errors; Aws::Vector m_resources; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws