AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSpeechTranscriptionResultCounts(const Aws::Map<TestResultMatchStatus, int>& value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts = value; }
69 inline void SetSpeechTranscriptionResultCounts(Aws::Map<TestResultMatchStatus, int>&& value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts = std::move(value); }
72 inline OverallTestResultItem& AddSpeechTranscriptionResultCounts(const TestResultMatchStatus& key, int value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts.emplace(key, value); return *this; }
73 inline OverallTestResultItem& AddSpeechTranscriptionResultCounts(TestResultMatchStatus&& key, int value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts.emplace(std::move(key), value); return *this; }
75
77
80 inline const Aws::Map<TestResultMatchStatus, int>& GetEndToEndResultCounts() const{ return m_endToEndResultCounts; }
81 inline bool EndToEndResultCountsHasBeenSet() const { return m_endToEndResultCountsHasBeenSet; }
82 inline void SetEndToEndResultCounts(const Aws::Map<TestResultMatchStatus, int>& value) { m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts = value; }
83 inline void SetEndToEndResultCounts(Aws::Map<TestResultMatchStatus, int>&& value) { m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts = std::move(value); }
86 inline OverallTestResultItem& AddEndToEndResultCounts(const TestResultMatchStatus& key, int value) { m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts.emplace(key, value); return *this; }
87 inline OverallTestResultItem& AddEndToEndResultCounts(TestResultMatchStatus&& key, int value) { m_endToEndResultCountsHasBeenSet = true; m_endToEndResultCounts.emplace(std::move(key), value); return *this; }
89 private:
90
91 bool m_multiTurnConversation;
92 bool m_multiTurnConversationHasBeenSet = false;
93
94 int m_totalResultCount;
95 bool m_totalResultCountHasBeenSet = false;
96
97 Aws::Map<TestResultMatchStatus, int> m_speechTranscriptionResultCounts;
98 bool m_speechTranscriptionResultCountsHasBeenSet = false;
99
100 Aws::Map<TestResultMatchStatus, int> m_endToEndResultCounts;
101 bool m_endToEndResultCountsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace LexModelsV2
106} // namespace Aws
OverallTestResultItem & WithTotalResultCount(int value)
OverallTestResultItem & WithEndToEndResultCounts(Aws::Map< TestResultMatchStatus, int > &&value)
OverallTestResultItem & AddSpeechTranscriptionResultCounts(const TestResultMatchStatus &key, int value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
OverallTestResultItem & WithMultiTurnConversation(bool value)
OverallTestResultItem & AddSpeechTranscriptionResultCounts(TestResultMatchStatus &&key, int value)
OverallTestResultItem & AddEndToEndResultCounts(TestResultMatchStatus &&key, int value)
AWS_LEXMODELSV2_API OverallTestResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< TestResultMatchStatus, int > & GetEndToEndResultCounts() const
void SetSpeechTranscriptionResultCounts(Aws::Map< TestResultMatchStatus, int > &&value)
void SetSpeechTranscriptionResultCounts(const Aws::Map< TestResultMatchStatus, int > &value)
OverallTestResultItem & AddEndToEndResultCounts(const TestResultMatchStatus &key, int value)
void SetEndToEndResultCounts(const Aws::Map< TestResultMatchStatus, int > &value)
AWS_LEXMODELSV2_API OverallTestResultItem(Aws::Utils::Json::JsonView jsonValue)
OverallTestResultItem & WithEndToEndResultCounts(const Aws::Map< TestResultMatchStatus, int > &value)
OverallTestResultItem & WithSpeechTranscriptionResultCounts(const Aws::Map< TestResultMatchStatus, int > &value)
void SetEndToEndResultCounts(Aws::Map< TestResultMatchStatus, int > &&value)
OverallTestResultItem & WithSpeechTranscriptionResultCounts(Aws::Map< TestResultMatchStatus, int > &&value)
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