/** * 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 number of items in the intent classification test.

See * Also:

AWS * API Reference

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

The total number of results in the intent classification test.

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

The total number of results in the intent classification test.

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

The total number of results in the intent classification test.

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

The total number of results in the intent classification test.

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

The number of matched, mismatched, and execution error results for speech * transcription for the intent.

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

The number of matched, mismatched, and execution error results for speech * transcription for the intent.

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

The number of matched, mismatched, and execution error results for speech * transcription for the intent.

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

The number of matched, mismatched, and execution error results for speech * transcription for the intent.

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

The number of matched, mismatched, and execution error results for speech * transcription for the intent.

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

The number of matched, mismatched, and execution error results for speech * transcription for the intent.

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

The number of matched, mismatched, and execution error results for speech * transcription for the intent.

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

The number of matched, mismatched, and execution error results for speech * transcription for the intent.

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

The number of matched and mismatched results for intent recognition for the * intent.

*/ inline const Aws::Map& GetIntentMatchResultCounts() const{ return m_intentMatchResultCounts; } /** *

The number of matched and mismatched results for intent recognition for the * intent.

*/ inline bool IntentMatchResultCountsHasBeenSet() const { return m_intentMatchResultCountsHasBeenSet; } /** *

The number of matched and mismatched results for intent recognition for the * intent.

*/ inline void SetIntentMatchResultCounts(const Aws::Map& value) { m_intentMatchResultCountsHasBeenSet = true; m_intentMatchResultCounts = value; } /** *

The number of matched and mismatched results for intent recognition for the * intent.

*/ inline void SetIntentMatchResultCounts(Aws::Map&& value) { m_intentMatchResultCountsHasBeenSet = true; m_intentMatchResultCounts = std::move(value); } /** *

The number of matched and mismatched results for intent recognition for the * intent.

*/ inline IntentClassificationTestResultItemCounts& WithIntentMatchResultCounts(const Aws::Map& value) { SetIntentMatchResultCounts(value); return *this;} /** *

The number of matched and mismatched results for intent recognition for the * intent.

*/ inline IntentClassificationTestResultItemCounts& WithIntentMatchResultCounts(Aws::Map&& value) { SetIntentMatchResultCounts(std::move(value)); return *this;} /** *

The number of matched and mismatched results for intent recognition for the * intent.

*/ inline IntentClassificationTestResultItemCounts& AddIntentMatchResultCounts(const TestResultMatchStatus& key, int value) { m_intentMatchResultCountsHasBeenSet = true; m_intentMatchResultCounts.emplace(key, value); return *this; } /** *

The number of matched and mismatched results for intent recognition for the * intent.

*/ inline IntentClassificationTestResultItemCounts& AddIntentMatchResultCounts(TestResultMatchStatus&& key, int value) { m_intentMatchResultCountsHasBeenSet = true; m_intentMatchResultCounts.emplace(std::move(key), value); return *this; } private: int m_totalResultCount; bool m_totalResultCountHasBeenSet = false; Aws::Map m_speechTranscriptionResultCounts; bool m_speechTranscriptionResultCountsHasBeenSet = false; Aws::Map m_intentMatchResultCounts; bool m_intentMatchResultCountsHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws