AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OverallTestResultItem.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API OverallTestResultItem() = default;
37 AWS_LEXMODELSV2_API OverallTestResultItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetMultiTurnConversation() const { return m_multiTurnConversation; }
47 inline bool MultiTurnConversationHasBeenSet() const { return m_multiTurnConversationHasBeenSet; }
48 inline void SetMultiTurnConversation(bool value) { m_multiTurnConversationHasBeenSet = true; m_multiTurnConversation = value; }
51
53
56 inline int GetTotalResultCount() const { return m_totalResultCount; }
57 inline bool TotalResultCountHasBeenSet() const { return m_totalResultCountHasBeenSet; }
58 inline void SetTotalResultCount(int value) { m_totalResultCountHasBeenSet = true; m_totalResultCount = value; }
59 inline OverallTestResultItem& WithTotalResultCount(int value) { SetTotalResultCount(value); return *this;}
61
63
66 inline const Aws::Map<TestResultMatchStatus, int>& GetSpeechTranscriptionResultCounts() const { return m_speechTranscriptionResultCounts; }
67 inline bool SpeechTranscriptionResultCountsHasBeenSet() const { return m_speechTranscriptionResultCountsHasBeenSet; }
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>>
71 OverallTestResultItem& WithSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT&& value) { SetSpeechTranscriptionResultCounts(std::forward<SpeechTranscriptionResultCountsT>(value)); return *this;}
73 m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts.emplace(key, value); return *this;
74 }
76
78
81 inline const Aws::Map<TestResultMatchStatus, int>& GetEndToEndResultCounts() const { return m_endToEndResultCounts; }
82 inline bool EndToEndResultCountsHasBeenSet() const { return m_endToEndResultCountsHasBeenSet; }
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>>
86 OverallTestResultItem& WithEndToEndResultCounts(EndToEndResultCountsT&& value) { SetEndToEndResultCounts(std::forward<EndToEndResultCountsT>(value)); return *this;}
88 m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts.emplace(key, value); return *this;
89 }
91 private:
92
93 bool m_multiTurnConversation{false};
94 bool m_multiTurnConversationHasBeenSet = false;
95
96 int m_totalResultCount{0};
97 bool m_totalResultCountHasBeenSet = false;
98
99 Aws::Map<TestResultMatchStatus, int> m_speechTranscriptionResultCounts;
100 bool m_speechTranscriptionResultCountsHasBeenSet = false;
101
102 Aws::Map<TestResultMatchStatus, int> m_endToEndResultCounts;
103 bool m_endToEndResultCountsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace LexModelsV2
108} // namespace Aws
OverallTestResultItem & WithTotalResultCount(int value)
AWS_LEXMODELSV2_API OverallTestResultItem()=default
OverallTestResultItem & WithSpeechTranscriptionResultCounts(SpeechTranscriptionResultCountsT &&value)
OverallTestResultItem & WithEndToEndResultCounts(EndToEndResultCountsT &&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
OverallTestResultItem & AddEndToEndResultCounts(TestResultMatchStatus key, int value)
OverallTestResultItem & AddSpeechTranscriptionResultCounts(TestResultMatchStatus key, int value)
void SetEndToEndResultCounts(EndToEndResultCountsT &&value)
AWS_LEXMODELSV2_API OverallTestResultItem(Aws::Utils::Json::JsonView jsonValue)
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