/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about discrepancy in a slot information between the test
* set and the bot.See Also:
AWS
* API Reference
The name of the intent associated with the slot in the discrepancy * report.
*/ inline const Aws::String& GetIntentName() const{ return m_intentName; } /** *The name of the intent associated with the slot in the discrepancy * report.
*/ inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; } /** *The name of the intent associated with the slot in the discrepancy * report.
*/ inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; } /** *The name of the intent associated with the slot in the discrepancy * report.
*/ inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); } /** *The name of the intent associated with the slot in the discrepancy * report.
*/ inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); } /** *The name of the intent associated with the slot in the discrepancy * report.
*/ inline TestSetSlotDiscrepancyItem& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;} /** *The name of the intent associated with the slot in the discrepancy * report.
*/ inline TestSetSlotDiscrepancyItem& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;} /** *The name of the intent associated with the slot in the discrepancy * report.
*/ inline TestSetSlotDiscrepancyItem& WithIntentName(const char* value) { SetIntentName(value); return *this;} /** *The name of the slot in the discrepancy report.
*/ inline const Aws::String& GetSlotName() const{ return m_slotName; } /** *The name of the slot in the discrepancy report.
*/ inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; } /** *The name of the slot in the discrepancy report.
*/ inline void SetSlotName(const Aws::String& value) { m_slotNameHasBeenSet = true; m_slotName = value; } /** *The name of the slot in the discrepancy report.
*/ inline void SetSlotName(Aws::String&& value) { m_slotNameHasBeenSet = true; m_slotName = std::move(value); } /** *The name of the slot in the discrepancy report.
*/ inline void SetSlotName(const char* value) { m_slotNameHasBeenSet = true; m_slotName.assign(value); } /** *The name of the slot in the discrepancy report.
*/ inline TestSetSlotDiscrepancyItem& WithSlotName(const Aws::String& value) { SetSlotName(value); return *this;} /** *The name of the slot in the discrepancy report.
*/ inline TestSetSlotDiscrepancyItem& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;} /** *The name of the slot in the discrepancy report.
*/ inline TestSetSlotDiscrepancyItem& WithSlotName(const char* value) { SetSlotName(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 TestSetSlotDiscrepancyItem& 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 TestSetSlotDiscrepancyItem& 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 TestSetSlotDiscrepancyItem& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_intentName; bool m_intentNameHasBeenSet = false; Aws::String m_slotName; bool m_slotNameHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws