/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The item listing the evaluation of intent level success or
* failure.See Also:
AWS
* API Reference
The intent name used in the evaluation of intent level success or * failure.
*/ inline const Aws::String& GetIntentName() const{ return m_intentName; } /** *The intent name used in the evaluation of intent level success or * failure.
*/ inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; } /** *The intent name used in the evaluation of intent level success or * failure.
*/ inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; } /** *The intent name used in the evaluation of intent level success or * failure.
*/ inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); } /** *The intent name used in the evaluation of intent level success or * failure.
*/ inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); } /** *The intent name used in the evaluation of intent level success or * failure.
*/ inline ConversationLevelIntentClassificationResultItem& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;} /** *The intent name used in the evaluation of intent level success or * failure.
*/ inline ConversationLevelIntentClassificationResultItem& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;} /** *The intent name used in the evaluation of intent level success or * failure.
*/ inline ConversationLevelIntentClassificationResultItem& WithIntentName(const char* value) { SetIntentName(value); return *this;} /** *The number of times the specific intent is used in the evaluation of intent * level success or failure.
*/ inline const TestResultMatchStatus& GetMatchResult() const{ return m_matchResult; } /** *The number of times the specific intent is used in the evaluation of intent * level success or failure.
*/ inline bool MatchResultHasBeenSet() const { return m_matchResultHasBeenSet; } /** *The number of times the specific intent is used in the evaluation of intent * level success or failure.
*/ inline void SetMatchResult(const TestResultMatchStatus& value) { m_matchResultHasBeenSet = true; m_matchResult = value; } /** *The number of times the specific intent is used in the evaluation of intent * level success or failure.
*/ inline void SetMatchResult(TestResultMatchStatus&& value) { m_matchResultHasBeenSet = true; m_matchResult = std::move(value); } /** *The number of times the specific intent is used in the evaluation of intent * level success or failure.
*/ inline ConversationLevelIntentClassificationResultItem& WithMatchResult(const TestResultMatchStatus& value) { SetMatchResult(value); return *this;} /** *The number of times the specific intent is used in the evaluation of intent * level success or failure.
*/ inline ConversationLevelIntentClassificationResultItem& WithMatchResult(TestResultMatchStatus&& value) { SetMatchResult(std::move(value)); return *this;} private: Aws::String m_intentName; bool m_intentNameHasBeenSet = false; TestResultMatchStatus m_matchResult; bool m_matchResultHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws