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 SlotMatchResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
76 void SetSlotMatchResultCounts(SlotMatchResultCountsT&& value) { m_slotMatchResultCountsHasBeenSet =
true; m_slotMatchResultCounts = std::forward<SlotMatchResultCountsT>(value); }
77 template<
typename SlotMatchResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
80 m_slotMatchResultCountsHasBeenSet =
true; m_slotMatchResultCounts.emplace(key, value);
return *
this;
85 int m_totalResultCount{0};
86 bool m_totalResultCountHasBeenSet =
false;
89 bool m_speechTranscriptionResultCountsHasBeenSet =
false;
92 bool m_slotMatchResultCountsHasBeenSet =
false;
const Aws::Map< TestResultMatchStatus, int > & GetSlotMatchResultCounts() const
SlotResolutionTestResultItemCounts & AddSpeechTranscriptionResultCounts(TestResultMatchStatus key, int value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API SlotResolutionTestResultItemCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetTotalResultCount() const
void SetSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT &&value)
AWS_LEXMODELSV2_API SlotResolutionTestResultItemCounts()=default
SlotResolutionTestResultItemCounts & AddSlotMatchResultCounts(TestResultMatchStatus key, int value)
SlotResolutionTestResultItemCounts & WithTotalResultCount(int value)
bool TotalResultCountHasBeenSet() const
const Aws::Map< TestResultMatchStatus, int > & GetSpeechTranscriptionResultCounts() const
void SetSlotMatchResultCounts(SlotMatchResultCountsT &&value)
SlotResolutionTestResultItemCounts & WithSlotMatchResultCounts(SlotMatchResultCountsT &&value)
void SetTotalResultCount(int value)
bool SlotMatchResultCountsHasBeenSet() const
AWS_LEXMODELSV2_API SlotResolutionTestResultItemCounts(Aws::Utils::Json::JsonView jsonValue)
bool SpeechTranscriptionResultCountsHasBeenSet() const
SlotResolutionTestResultItemCounts & WithSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue