7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/lexv2-models/model/TestResultMatchStatus.h>
48 inline void SetTotalResultCount(
int value) { m_totalResultCountHasBeenSet =
true; m_totalResultCount = value; }
59 template<
typename SpeechTranscriptionResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
60 void SetSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT&& value) { m_speechTranscriptionResultCountsHasBeenSet =
true; m_speechTranscriptionResultCounts = std::forward<SpeechTranscriptionResultCountsT>(value); }
61 template<
typename SpeechTranscriptionResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
64 m_speechTranscriptionResultCountsHasBeenSet =
true; m_speechTranscriptionResultCounts.emplace(key, value);
return *
this;
75 template<
typename IntentMatchResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
76 void SetIntentMatchResultCounts(IntentMatchResultCountsT&& value) { m_intentMatchResultCountsHasBeenSet =
true; m_intentMatchResultCounts = std::forward<IntentMatchResultCountsT>(value); }
77 template<
typename IntentMatchResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
80 m_intentMatchResultCountsHasBeenSet =
true; m_intentMatchResultCounts.emplace(key, value);
return *
this;
85 int m_totalResultCount{0};
86 bool m_totalResultCountHasBeenSet =
false;
89 bool m_speechTranscriptionResultCountsHasBeenSet =
false;
92 bool m_intentMatchResultCountsHasBeenSet =
false;
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool TotalResultCountHasBeenSet() const
IntentClassificationTestResultItemCounts & WithSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT &&value)
AWS_LEXMODELSV2_API IntentClassificationTestResultItemCounts()=default
IntentClassificationTestResultItemCounts & WithIntentMatchResultCounts(IntentMatchResultCountsT &&value)
const Aws::Map< TestResultMatchStatus, int > & GetIntentMatchResultCounts() const
IntentClassificationTestResultItemCounts & WithTotalResultCount(int value)
void SetTotalResultCount(int value)
bool SpeechTranscriptionResultCountsHasBeenSet() const
void SetSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT &&value)
void SetIntentMatchResultCounts(IntentMatchResultCountsT &&value)
int GetTotalResultCount() const
AWS_LEXMODELSV2_API IntentClassificationTestResultItemCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentClassificationTestResultItemCounts & AddIntentMatchResultCounts(TestResultMatchStatus key, int value)
const Aws::Map< TestResultMatchStatus, int > & GetSpeechTranscriptionResultCounts() const
bool IntentMatchResultCountsHasBeenSet() const
IntentClassificationTestResultItemCounts & AddSpeechTranscriptionResultCounts(TestResultMatchStatus key, int value)
AWS_LEXMODELSV2_API IntentClassificationTestResultItemCounts(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue