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

The item listing the evaluation of intent level success or * failure.

See Also:

AWS * API Reference

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

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