AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntentClassificationTestResultItemCounts.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:
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetTotalResultCount() const{ return m_totalResultCount; }
47 inline bool TotalResultCountHasBeenSet() const { return m_totalResultCountHasBeenSet; }
48 inline void SetTotalResultCount(int value) { m_totalResultCountHasBeenSet = true; m_totalResultCount = value; }
51
53
57 inline const Aws::Map<TestResultMatchStatus, int>& GetSpeechTranscriptionResultCounts() const{ return m_speechTranscriptionResultCounts; }
58 inline bool SpeechTranscriptionResultCountsHasBeenSet() const { return m_speechTranscriptionResultCountsHasBeenSet; }
59 inline void SetSpeechTranscriptionResultCounts(const Aws::Map<TestResultMatchStatus, int>& value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts = value; }
60 inline void SetSpeechTranscriptionResultCounts(Aws::Map<TestResultMatchStatus, int>&& value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts = std::move(value); }
63 inline IntentClassificationTestResultItemCounts& AddSpeechTranscriptionResultCounts(const TestResultMatchStatus& key, int value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts.emplace(key, value); return *this; }
64 inline IntentClassificationTestResultItemCounts& AddSpeechTranscriptionResultCounts(TestResultMatchStatus&& key, int value) { m_speechTranscriptionResultCountsHasBeenSet = true; m_speechTranscriptionResultCounts.emplace(std::move(key), value); return *this; }
66
68
72 inline const Aws::Map<TestResultMatchStatus, int>& GetIntentMatchResultCounts() const{ return m_intentMatchResultCounts; }
73 inline bool IntentMatchResultCountsHasBeenSet() const { return m_intentMatchResultCountsHasBeenSet; }
74 inline void SetIntentMatchResultCounts(const Aws::Map<TestResultMatchStatus, int>& value) { m_intentMatchResultCountsHasBeenSet = true; m_intentMatchResultCounts = value; }
75 inline void SetIntentMatchResultCounts(Aws::Map<TestResultMatchStatus, int>&& value) { m_intentMatchResultCountsHasBeenSet = true; m_intentMatchResultCounts = std::move(value); }
78 inline IntentClassificationTestResultItemCounts& AddIntentMatchResultCounts(const TestResultMatchStatus& key, int value) { m_intentMatchResultCountsHasBeenSet = true; m_intentMatchResultCounts.emplace(key, value); return *this; }
79 inline IntentClassificationTestResultItemCounts& AddIntentMatchResultCounts(TestResultMatchStatus&& key, int value) { m_intentMatchResultCountsHasBeenSet = true; m_intentMatchResultCounts.emplace(std::move(key), value); return *this; }
81 private:
82
83 int m_totalResultCount;
84 bool m_totalResultCountHasBeenSet = false;
85
86 Aws::Map<TestResultMatchStatus, int> m_speechTranscriptionResultCounts;
87 bool m_speechTranscriptionResultCountsHasBeenSet = false;
88
89 Aws::Map<TestResultMatchStatus, int> m_intentMatchResultCounts;
90 bool m_intentMatchResultCountsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace LexModelsV2
95} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentClassificationTestResultItemCounts & WithSpeechTranscriptionResultCounts(const Aws::Map< TestResultMatchStatus, int > &value)
const Aws::Map< TestResultMatchStatus, int > & GetIntentMatchResultCounts() const
IntentClassificationTestResultItemCounts & WithSpeechTranscriptionResultCounts(Aws::Map< TestResultMatchStatus, int > &&value)
void SetSpeechTranscriptionResultCounts(const Aws::Map< TestResultMatchStatus, int > &value)
void SetIntentMatchResultCounts(const Aws::Map< TestResultMatchStatus, int > &value)
void SetSpeechTranscriptionResultCounts(Aws::Map< TestResultMatchStatus, int > &&value)
IntentClassificationTestResultItemCounts & WithIntentMatchResultCounts(Aws::Map< TestResultMatchStatus, int > &&value)
IntentClassificationTestResultItemCounts & AddSpeechTranscriptionResultCounts(const TestResultMatchStatus &key, int value)
AWS_LEXMODELSV2_API IntentClassificationTestResultItemCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentClassificationTestResultItemCounts & AddIntentMatchResultCounts(const TestResultMatchStatus &key, int value)
IntentClassificationTestResultItemCounts & WithIntentMatchResultCounts(const Aws::Map< TestResultMatchStatus, int > &value)
const Aws::Map< TestResultMatchStatus, int > & GetSpeechTranscriptionResultCounts() const
IntentClassificationTestResultItemCounts & AddIntentMatchResultCounts(TestResultMatchStatus &&key, int value)
AWS_LEXMODELSV2_API IntentClassificationTestResultItemCounts(Aws::Utils::Json::JsonView jsonValue)
IntentClassificationTestResultItemCounts & AddSpeechTranscriptionResultCounts(TestResultMatchStatus &&key, int value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue