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 SetMultiTurnConversation(
bool value) { m_multiTurnConversationHasBeenSet =
true; m_multiTurnConversation = value; }
58 inline void SetTotalResultCount(
int value) { m_totalResultCountHasBeenSet =
true; m_totalResultCount = value; }
68 template<
typename SpeechTranscriptionResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
69 void SetSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT&& value) { m_speechTranscriptionResultCountsHasBeenSet =
true; m_speechTranscriptionResultCounts = std::forward<SpeechTranscriptionResultCountsT>(value); }
70 template<
typename SpeechTranscriptionResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
73 m_speechTranscriptionResultCountsHasBeenSet =
true; m_speechTranscriptionResultCounts.emplace(key, value);
return *
this;
83 template<
typename EndToEndResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
84 void SetEndToEndResultCounts(EndToEndResultCountsT&& value) { m_endToEndResultCountsHasBeenSet =
true; m_endToEndResultCounts = std::forward<EndToEndResultCountsT>(value); }
85 template<
typename EndToEndResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
88 m_endToEndResultCountsHasBeenSet =
true; m_endToEndResultCounts.emplace(key, value);
return *
this;
93 bool m_multiTurnConversation{
false};
94 bool m_multiTurnConversationHasBeenSet =
false;
96 int m_totalResultCount{0};
97 bool m_totalResultCountHasBeenSet =
false;
100 bool m_speechTranscriptionResultCountsHasBeenSet =
false;
103 bool m_endToEndResultCountsHasBeenSet =
false;
OverallTestResultItem & WithTotalResultCount(int value)
AWS_LEXMODELSV2_API OverallTestResultItem()=default
OverallTestResultItem & WithSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT &&value)
void SetTotalResultCount(int value)
OverallTestResultItem & WithEndToEndResultCounts(EndToEndResultCountsT &&value)
bool MultiTurnConversationHasBeenSet() const
void SetMultiTurnConversation(bool value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT &&value)
OverallTestResultItem & WithMultiTurnConversation(bool value)
AWS_LEXMODELSV2_API OverallTestResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< TestResultMatchStatus, int > & GetEndToEndResultCounts() const
bool TotalResultCountHasBeenSet() const
OverallTestResultItem & AddEndToEndResultCounts(TestResultMatchStatus key, int value)
bool EndToEndResultCountsHasBeenSet() const
OverallTestResultItem & AddSpeechTranscriptionResultCounts(TestResultMatchStatus key, int value)
bool SpeechTranscriptionResultCountsHasBeenSet() const
void SetEndToEndResultCounts(EndToEndResultCountsT &&value)
int GetTotalResultCount() const
AWS_LEXMODELSV2_API OverallTestResultItem(Aws::Utils::Json::JsonView jsonValue)
bool GetMultiTurnConversation() const
const Aws::Map< TestResultMatchStatus, int > & GetSpeechTranscriptionResultCounts() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue