/** * 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 { /** *

Contains details about the errors in the test set discrepancy * report

See Also:

AWS * API Reference

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

Contains information about discrepancies found for intents between the test * set and the bot.

*/ inline const Aws::Vector& GetIntentDiscrepancies() const{ return m_intentDiscrepancies; } /** *

Contains information about discrepancies found for intents between the test * set and the bot.

*/ inline bool IntentDiscrepanciesHasBeenSet() const { return m_intentDiscrepanciesHasBeenSet; } /** *

Contains information about discrepancies found for intents between the test * set and the bot.

*/ inline void SetIntentDiscrepancies(const Aws::Vector& value) { m_intentDiscrepanciesHasBeenSet = true; m_intentDiscrepancies = value; } /** *

Contains information about discrepancies found for intents between the test * set and the bot.

*/ inline void SetIntentDiscrepancies(Aws::Vector&& value) { m_intentDiscrepanciesHasBeenSet = true; m_intentDiscrepancies = std::move(value); } /** *

Contains information about discrepancies found for intents between the test * set and the bot.

*/ inline TestSetDiscrepancyErrors& WithIntentDiscrepancies(const Aws::Vector& value) { SetIntentDiscrepancies(value); return *this;} /** *

Contains information about discrepancies found for intents between the test * set and the bot.

*/ inline TestSetDiscrepancyErrors& WithIntentDiscrepancies(Aws::Vector&& value) { SetIntentDiscrepancies(std::move(value)); return *this;} /** *

Contains information about discrepancies found for intents between the test * set and the bot.

*/ inline TestSetDiscrepancyErrors& AddIntentDiscrepancies(const TestSetIntentDiscrepancyItem& value) { m_intentDiscrepanciesHasBeenSet = true; m_intentDiscrepancies.push_back(value); return *this; } /** *

Contains information about discrepancies found for intents between the test * set and the bot.

*/ inline TestSetDiscrepancyErrors& AddIntentDiscrepancies(TestSetIntentDiscrepancyItem&& value) { m_intentDiscrepanciesHasBeenSet = true; m_intentDiscrepancies.push_back(std::move(value)); return *this; } /** *

Contains information about discrepancies found for slots between the test set * and the bot.

*/ inline const Aws::Vector& GetSlotDiscrepancies() const{ return m_slotDiscrepancies; } /** *

Contains information about discrepancies found for slots between the test set * and the bot.

*/ inline bool SlotDiscrepanciesHasBeenSet() const { return m_slotDiscrepanciesHasBeenSet; } /** *

Contains information about discrepancies found for slots between the test set * and the bot.

*/ inline void SetSlotDiscrepancies(const Aws::Vector& value) { m_slotDiscrepanciesHasBeenSet = true; m_slotDiscrepancies = value; } /** *

Contains information about discrepancies found for slots between the test set * and the bot.

*/ inline void SetSlotDiscrepancies(Aws::Vector&& value) { m_slotDiscrepanciesHasBeenSet = true; m_slotDiscrepancies = std::move(value); } /** *

Contains information about discrepancies found for slots between the test set * and the bot.

*/ inline TestSetDiscrepancyErrors& WithSlotDiscrepancies(const Aws::Vector& value) { SetSlotDiscrepancies(value); return *this;} /** *

Contains information about discrepancies found for slots between the test set * and the bot.

*/ inline TestSetDiscrepancyErrors& WithSlotDiscrepancies(Aws::Vector&& value) { SetSlotDiscrepancies(std::move(value)); return *this;} /** *

Contains information about discrepancies found for slots between the test set * and the bot.

*/ inline TestSetDiscrepancyErrors& AddSlotDiscrepancies(const TestSetSlotDiscrepancyItem& value) { m_slotDiscrepanciesHasBeenSet = true; m_slotDiscrepancies.push_back(value); return *this; } /** *

Contains information about discrepancies found for slots between the test set * and the bot.

*/ inline TestSetDiscrepancyErrors& AddSlotDiscrepancies(TestSetSlotDiscrepancyItem&& value) { m_slotDiscrepanciesHasBeenSet = true; m_slotDiscrepancies.push_back(std::move(value)); return *this; } private: Aws::Vector m_intentDiscrepancies; bool m_intentDiscrepanciesHasBeenSet = false; Aws::Vector m_slotDiscrepancies; bool m_slotDiscrepanciesHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws