/** * 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 { /** *

Information about the overall results for a test execution * result.

See Also:

AWS * API Reference

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

Indicates whether the conversation contains multiple turns or not.

*/ inline bool GetMultiTurnConversation() const{ return m_multiTurnConversation; } /** *

Indicates whether the conversation contains multiple turns or not.

*/ inline bool MultiTurnConversationHasBeenSet() const { return m_multiTurnConversationHasBeenSet; } /** *

Indicates whether the conversation contains multiple turns or not.

*/ inline void SetMultiTurnConversation(bool value) { m_multiTurnConversationHasBeenSet = true; m_multiTurnConversation = value; } /** *

Indicates whether the conversation contains multiple turns or not.

*/ inline OverallTestResultItem& WithMultiTurnConversation(bool value) { SetMultiTurnConversation(value); return *this;} /** *

The total number of overall results in the result of the test execution.

*/ inline int GetTotalResultCount() const{ return m_totalResultCount; } /** *

The total number of overall results in the result of the test execution.

*/ inline bool TotalResultCountHasBeenSet() const { return m_totalResultCountHasBeenSet; } /** *

The total number of overall results in the result of the test execution.

*/ inline void SetTotalResultCount(int value) { m_totalResultCountHasBeenSet = true; m_totalResultCount = value; } /** *

The total number of overall results in the result of the test execution.

*/ inline OverallTestResultItem& WithTotalResultCount(int value) { SetTotalResultCount(value); return *this;} /** *

The number of speech transcription results in the overall test.

*/ inline const Aws::Map& GetSpeechTranscriptionResultCounts() const{ return m_speechTranscriptionResultCounts; } /** *

The number of speech transcription results in the overall test.

*/ inline bool SpeechTranscriptionResultCountsHasBeenSet() const { return m_speechTranscriptionResultCountsHasBeenSet; } /** *

The number of speech transcription results in the overall test.

*/ inline void SetSpeechTranscriptionResultCounts(const Aws::Map& value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts = value; } /** *

The number of speech transcription results in the overall test.

*/ inline void SetSpeechTranscriptionResultCounts(Aws::Map&& value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts = std::move(value); } /** *

The number of speech transcription results in the overall test.

*/ inline OverallTestResultItem& WithSpeechTranscriptionResultCounts(const Aws::Map& value) { SetSpeechTranscriptionResultCounts(value); return *this;} /** *

The number of speech transcription results in the overall test.

*/ inline OverallTestResultItem& WithSpeechTranscriptionResultCounts(Aws::Map&& value) { SetSpeechTranscriptionResultCounts(std::move(value)); return *this;} /** *

The number of speech transcription results in the overall test.

*/ inline OverallTestResultItem& AddSpeechTranscriptionResultCounts(const TestResultMatchStatus& key, int value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts.emplace(key, value); return *this; } /** *

The number of speech transcription results in the overall test.

*/ inline OverallTestResultItem& AddSpeechTranscriptionResultCounts(TestResultMatchStatus&& key, int value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts.emplace(std::move(key), value); return *this; } /** *

The number of results that succeeded.

*/ inline const Aws::Map& GetEndToEndResultCounts() const{ return m_endToEndResultCounts; } /** *

The number of results that succeeded.

*/ inline bool EndToEndResultCountsHasBeenSet() const { return m_endToEndResultCountsHasBeenSet; } /** *

The number of results that succeeded.

*/ inline void SetEndToEndResultCounts(const Aws::Map& value) { m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts = value; } /** *

The number of results that succeeded.

*/ inline void SetEndToEndResultCounts(Aws::Map&& value) { m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts = std::move(value); } /** *

The number of results that succeeded.

*/ inline OverallTestResultItem& WithEndToEndResultCounts(const Aws::Map& value) { SetEndToEndResultCounts(value); return *this;} /** *

The number of results that succeeded.

*/ inline OverallTestResultItem& WithEndToEndResultCounts(Aws::Map&& value) { SetEndToEndResultCounts(std::move(value)); return *this;} /** *

The number of results that succeeded.

*/ inline OverallTestResultItem& AddEndToEndResultCounts(const TestResultMatchStatus& key, int value) { m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts.emplace(key, value); return *this; } /** *

The number of results that succeeded.

*/ inline OverallTestResultItem& AddEndToEndResultCounts(TestResultMatchStatus&& key, int value) { m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts.emplace(std::move(key), value); return *this; } private: bool m_multiTurnConversation; bool m_multiTurnConversationHasBeenSet = false; int m_totalResultCount; bool m_totalResultCountHasBeenSet = false; Aws::Map m_speechTranscriptionResultCounts; bool m_speechTranscriptionResultCountsHasBeenSet = false; Aws::Map m_endToEndResultCounts; bool m_endToEndResultCountsHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws