/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

Contains information about discrepancy in an intent information between the * test set and the bot.

See Also:

AWS * API Reference

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

The name of the intent in the discrepancy report.

*/ inline const Aws::String& GetIntentName() const{ return m_intentName; } /** *

The name of the intent in the discrepancy report.

*/ inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; } /** *

The name of the intent in the discrepancy report.

*/ inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; } /** *

The name of the intent in the discrepancy report.

*/ inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); } /** *

The name of the intent in the discrepancy report.

*/ inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); } /** *

The name of the intent in the discrepancy report.

*/ inline TestSetIntentDiscrepancyItem& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;} /** *

The name of the intent in the discrepancy report.

*/ inline TestSetIntentDiscrepancyItem& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;} /** *

The name of the intent in the discrepancy report.

*/ inline TestSetIntentDiscrepancyItem& WithIntentName(const char* value) { SetIntentName(value); return *this;} /** *

The error message for a discrepancy for an intent between the test set and * the bot.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *

The error message for a discrepancy for an intent between the test set and * the bot.

*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *

The error message for a discrepancy for an intent between the test set and * the bot.

*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *

The error message for a discrepancy for an intent between the test set and * the bot.

*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *

The error message for a discrepancy for an intent between the test set and * the bot.

*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *

The error message for a discrepancy for an intent between the test set and * the bot.

*/ inline TestSetIntentDiscrepancyItem& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *

The error message for a discrepancy for an intent between the test set and * the bot.

*/ inline TestSetIntentDiscrepancyItem& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *

The error message for a discrepancy for an intent between the test set and * the bot.

*/ inline TestSetIntentDiscrepancyItem& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_intentName; bool m_intentNameHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws