7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/TestResultMatchStatus.h>
20namespace LexModelsV2 {
43 m_multiTurnConversationHasBeenSet =
true;
44 m_multiTurnConversation = value;
59 m_totalResultCountHasBeenSet =
true;
60 m_totalResultCount = value;
73 return m_speechTranscriptionResultCounts;
76 template <
typename SpeechTranscriptionResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
78 m_speechTranscriptionResultCountsHasBeenSet =
true;
79 m_speechTranscriptionResultCounts = std::forward<SpeechTranscriptionResultCountsT>(value);
81 template <
typename SpeechTranscriptionResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
87 m_speechTranscriptionResultCountsHasBeenSet =
true;
88 m_speechTranscriptionResultCounts.emplace(key, value);
99 template <
typename EndToEndResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
101 m_endToEndResultCountsHasBeenSet =
true;
102 m_endToEndResultCounts = std::forward<EndToEndResultCountsT>(value);
104 template <
typename EndToEndResultCountsT = Aws::Map<TestResultMatchStatus,
int>>
110 m_endToEndResultCountsHasBeenSet =
true;
111 m_endToEndResultCounts.emplace(key, value);
116 bool m_multiTurnConversation{
false};
118 int m_totalResultCount{0};
123 bool m_multiTurnConversationHasBeenSet =
false;
124 bool m_totalResultCountHasBeenSet =
false;
125 bool m_speechTranscriptionResultCountsHasBeenSet =
false;
126 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