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

Contains the results of the test execution, grouped by type of results. See * Test * result details">Test results details for details about different types of * results.

See Also:

AWS * API Reference

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

Overall results for the test execution, including the breakdown of * conversations and single-input utterances.

*/ inline const OverallTestResults& GetOverallTestResults() const{ return m_overallTestResults; } /** *

Overall results for the test execution, including the breakdown of * conversations and single-input utterances.

*/ inline bool OverallTestResultsHasBeenSet() const { return m_overallTestResultsHasBeenSet; } /** *

Overall results for the test execution, including the breakdown of * conversations and single-input utterances.

*/ inline void SetOverallTestResults(const OverallTestResults& value) { m_overallTestResultsHasBeenSet = true; m_overallTestResults = value; } /** *

Overall results for the test execution, including the breakdown of * conversations and single-input utterances.

*/ inline void SetOverallTestResults(OverallTestResults&& value) { m_overallTestResultsHasBeenSet = true; m_overallTestResults = std::move(value); } /** *

Overall results for the test execution, including the breakdown of * conversations and single-input utterances.

*/ inline TestExecutionResultItems& WithOverallTestResults(const OverallTestResults& value) { SetOverallTestResults(value); return *this;} /** *

Overall results for the test execution, including the breakdown of * conversations and single-input utterances.

*/ inline TestExecutionResultItems& WithOverallTestResults(OverallTestResults&& value) { SetOverallTestResults(std::move(value)); return *this;} /** *

Results related to conversations in the test set, including metrics about * success and failure of conversations and intent and slot failures.

*/ inline const ConversationLevelTestResults& GetConversationLevelTestResults() const{ return m_conversationLevelTestResults; } /** *

Results related to conversations in the test set, including metrics about * success and failure of conversations and intent and slot failures.

*/ inline bool ConversationLevelTestResultsHasBeenSet() const { return m_conversationLevelTestResultsHasBeenSet; } /** *

Results related to conversations in the test set, including metrics about * success and failure of conversations and intent and slot failures.

*/ inline void SetConversationLevelTestResults(const ConversationLevelTestResults& value) { m_conversationLevelTestResultsHasBeenSet = true; m_conversationLevelTestResults = value; } /** *

Results related to conversations in the test set, including metrics about * success and failure of conversations and intent and slot failures.

*/ inline void SetConversationLevelTestResults(ConversationLevelTestResults&& value) { m_conversationLevelTestResultsHasBeenSet = true; m_conversationLevelTestResults = std::move(value); } /** *

Results related to conversations in the test set, including metrics about * success and failure of conversations and intent and slot failures.

*/ inline TestExecutionResultItems& WithConversationLevelTestResults(const ConversationLevelTestResults& value) { SetConversationLevelTestResults(value); return *this;} /** *

Results related to conversations in the test set, including metrics about * success and failure of conversations and intent and slot failures.

*/ inline TestExecutionResultItems& WithConversationLevelTestResults(ConversationLevelTestResults&& value) { SetConversationLevelTestResults(std::move(value)); return *this;} /** *

Intent recognition results aggregated by intent name. The aggregated results * contain success and failure rates of intent recognition, speech transcriptions, * and end-to-end conversations.

*/ inline const IntentClassificationTestResults& GetIntentClassificationTestResults() const{ return m_intentClassificationTestResults; } /** *

Intent recognition results aggregated by intent name. The aggregated results * contain success and failure rates of intent recognition, speech transcriptions, * and end-to-end conversations.

*/ inline bool IntentClassificationTestResultsHasBeenSet() const { return m_intentClassificationTestResultsHasBeenSet; } /** *

Intent recognition results aggregated by intent name. The aggregated results * contain success and failure rates of intent recognition, speech transcriptions, * and end-to-end conversations.

*/ inline void SetIntentClassificationTestResults(const IntentClassificationTestResults& value) { m_intentClassificationTestResultsHasBeenSet = true; m_intentClassificationTestResults = value; } /** *

Intent recognition results aggregated by intent name. The aggregated results * contain success and failure rates of intent recognition, speech transcriptions, * and end-to-end conversations.

*/ inline void SetIntentClassificationTestResults(IntentClassificationTestResults&& value) { m_intentClassificationTestResultsHasBeenSet = true; m_intentClassificationTestResults = std::move(value); } /** *

Intent recognition results aggregated by intent name. The aggregated results * contain success and failure rates of intent recognition, speech transcriptions, * and end-to-end conversations.

*/ inline TestExecutionResultItems& WithIntentClassificationTestResults(const IntentClassificationTestResults& value) { SetIntentClassificationTestResults(value); return *this;} /** *

Intent recognition results aggregated by intent name. The aggregated results * contain success and failure rates of intent recognition, speech transcriptions, * and end-to-end conversations.

*/ inline TestExecutionResultItems& WithIntentClassificationTestResults(IntentClassificationTestResults&& value) { SetIntentClassificationTestResults(std::move(value)); return *this;} /** *

Slot resolution results aggregated by intent and slot name. The aggregated * results contain success and failure rates of slot resolution, speech * transcriptions, and end-to-end conversations

*/ inline const IntentLevelSlotResolutionTestResults& GetIntentLevelSlotResolutionTestResults() const{ return m_intentLevelSlotResolutionTestResults; } /** *

Slot resolution results aggregated by intent and slot name. The aggregated * results contain success and failure rates of slot resolution, speech * transcriptions, and end-to-end conversations

*/ inline bool IntentLevelSlotResolutionTestResultsHasBeenSet() const { return m_intentLevelSlotResolutionTestResultsHasBeenSet; } /** *

Slot resolution results aggregated by intent and slot name. The aggregated * results contain success and failure rates of slot resolution, speech * transcriptions, and end-to-end conversations

*/ inline void SetIntentLevelSlotResolutionTestResults(const IntentLevelSlotResolutionTestResults& value) { m_intentLevelSlotResolutionTestResultsHasBeenSet = true; m_intentLevelSlotResolutionTestResults = value; } /** *

Slot resolution results aggregated by intent and slot name. The aggregated * results contain success and failure rates of slot resolution, speech * transcriptions, and end-to-end conversations

*/ inline void SetIntentLevelSlotResolutionTestResults(IntentLevelSlotResolutionTestResults&& value) { m_intentLevelSlotResolutionTestResultsHasBeenSet = true; m_intentLevelSlotResolutionTestResults = std::move(value); } /** *

Slot resolution results aggregated by intent and slot name. The aggregated * results contain success and failure rates of slot resolution, speech * transcriptions, and end-to-end conversations

*/ inline TestExecutionResultItems& WithIntentLevelSlotResolutionTestResults(const IntentLevelSlotResolutionTestResults& value) { SetIntentLevelSlotResolutionTestResults(value); return *this;} /** *

Slot resolution results aggregated by intent and slot name. The aggregated * results contain success and failure rates of slot resolution, speech * transcriptions, and end-to-end conversations

*/ inline TestExecutionResultItems& WithIntentLevelSlotResolutionTestResults(IntentLevelSlotResolutionTestResults&& value) { SetIntentLevelSlotResolutionTestResults(std::move(value)); return *this;} /** *

Results related to utterances in the test set.

*/ inline const UtteranceLevelTestResults& GetUtteranceLevelTestResults() const{ return m_utteranceLevelTestResults; } /** *

Results related to utterances in the test set.

*/ inline bool UtteranceLevelTestResultsHasBeenSet() const { return m_utteranceLevelTestResultsHasBeenSet; } /** *

Results related to utterances in the test set.

*/ inline void SetUtteranceLevelTestResults(const UtteranceLevelTestResults& value) { m_utteranceLevelTestResultsHasBeenSet = true; m_utteranceLevelTestResults = value; } /** *

Results related to utterances in the test set.

*/ inline void SetUtteranceLevelTestResults(UtteranceLevelTestResults&& value) { m_utteranceLevelTestResultsHasBeenSet = true; m_utteranceLevelTestResults = std::move(value); } /** *

Results related to utterances in the test set.

*/ inline TestExecutionResultItems& WithUtteranceLevelTestResults(const UtteranceLevelTestResults& value) { SetUtteranceLevelTestResults(value); return *this;} /** *

Results related to utterances in the test set.

*/ inline TestExecutionResultItems& WithUtteranceLevelTestResults(UtteranceLevelTestResults&& value) { SetUtteranceLevelTestResults(std::move(value)); return *this;} private: OverallTestResults m_overallTestResults; bool m_overallTestResultsHasBeenSet = false; ConversationLevelTestResults m_conversationLevelTestResults; bool m_conversationLevelTestResultsHasBeenSet = false; IntentClassificationTestResults m_intentClassificationTestResults; bool m_intentClassificationTestResultsHasBeenSet = false; IntentLevelSlotResolutionTestResults m_intentLevelSlotResolutionTestResults; bool m_intentLevelSlotResolutionTestResultsHasBeenSet = false; UtteranceLevelTestResults m_utteranceLevelTestResults; bool m_utteranceLevelTestResultsHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws