AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConversationLevelTestResultItem.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/TestResultMatchStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lexv2-models/model/ConversationLevelIntentClassificationResultItem.h>
12#include <aws/lexv2-models/model/ConversationLevelSlotResolutionResultItem.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LEXMODELSV2_API ConversationLevelTestResultItem();
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetConversationId() const{ return m_conversationId; }
50 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
51 inline void SetConversationId(const Aws::String& value) { m_conversationIdHasBeenSet = true; m_conversationId = value; }
52 inline void SetConversationId(Aws::String&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::move(value); }
53 inline void SetConversationId(const char* value) { m_conversationIdHasBeenSet = true; m_conversationId.assign(value); }
55 inline ConversationLevelTestResultItem& WithConversationId(Aws::String&& value) { SetConversationId(std::move(value)); return *this;}
56 inline ConversationLevelTestResultItem& WithConversationId(const char* value) { SetConversationId(value); return *this;}
58
60
63 inline const TestResultMatchStatus& GetEndToEndResult() const{ return m_endToEndResult; }
64 inline bool EndToEndResultHasBeenSet() const { return m_endToEndResultHasBeenSet; }
65 inline void SetEndToEndResult(const TestResultMatchStatus& value) { m_endToEndResultHasBeenSet = true; m_endToEndResult = value; }
66 inline void SetEndToEndResult(TestResultMatchStatus&& value) { m_endToEndResultHasBeenSet = true; m_endToEndResult = std::move(value); }
70
72
76 inline const TestResultMatchStatus& GetSpeechTranscriptionResult() const{ return m_speechTranscriptionResult; }
77 inline bool SpeechTranscriptionResultHasBeenSet() const { return m_speechTranscriptionResultHasBeenSet; }
78 inline void SetSpeechTranscriptionResult(const TestResultMatchStatus& value) { m_speechTranscriptionResultHasBeenSet = true; m_speechTranscriptionResult = value; }
79 inline void SetSpeechTranscriptionResult(TestResultMatchStatus&& value) { m_speechTranscriptionResultHasBeenSet = true; m_speechTranscriptionResult = std::move(value); }
83
85
88 inline const Aws::Vector<ConversationLevelIntentClassificationResultItem>& GetIntentClassificationResults() const{ return m_intentClassificationResults; }
89 inline bool IntentClassificationResultsHasBeenSet() const { return m_intentClassificationResultsHasBeenSet; }
90 inline void SetIntentClassificationResults(const Aws::Vector<ConversationLevelIntentClassificationResultItem>& value) { m_intentClassificationResultsHasBeenSet = true; m_intentClassificationResults = value; }
91 inline void SetIntentClassificationResults(Aws::Vector<ConversationLevelIntentClassificationResultItem>&& value) { m_intentClassificationResultsHasBeenSet = true; m_intentClassificationResults = std::move(value); }
94 inline ConversationLevelTestResultItem& AddIntentClassificationResults(const ConversationLevelIntentClassificationResultItem& value) { m_intentClassificationResultsHasBeenSet = true; m_intentClassificationResults.push_back(value); return *this; }
95 inline ConversationLevelTestResultItem& AddIntentClassificationResults(ConversationLevelIntentClassificationResultItem&& value) { m_intentClassificationResultsHasBeenSet = true; m_intentClassificationResults.push_back(std::move(value)); return *this; }
97
99
102 inline const Aws::Vector<ConversationLevelSlotResolutionResultItem>& GetSlotResolutionResults() const{ return m_slotResolutionResults; }
103 inline bool SlotResolutionResultsHasBeenSet() const { return m_slotResolutionResultsHasBeenSet; }
104 inline void SetSlotResolutionResults(const Aws::Vector<ConversationLevelSlotResolutionResultItem>& value) { m_slotResolutionResultsHasBeenSet = true; m_slotResolutionResults = value; }
105 inline void SetSlotResolutionResults(Aws::Vector<ConversationLevelSlotResolutionResultItem>&& value) { m_slotResolutionResultsHasBeenSet = true; m_slotResolutionResults = std::move(value); }
108 inline ConversationLevelTestResultItem& AddSlotResolutionResults(const ConversationLevelSlotResolutionResultItem& value) { m_slotResolutionResultsHasBeenSet = true; m_slotResolutionResults.push_back(value); return *this; }
109 inline ConversationLevelTestResultItem& AddSlotResolutionResults(ConversationLevelSlotResolutionResultItem&& value) { m_slotResolutionResultsHasBeenSet = true; m_slotResolutionResults.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_conversationId;
114 bool m_conversationIdHasBeenSet = false;
115
116 TestResultMatchStatus m_endToEndResult;
117 bool m_endToEndResultHasBeenSet = false;
118
119 TestResultMatchStatus m_speechTranscriptionResult;
120 bool m_speechTranscriptionResultHasBeenSet = false;
121
123 bool m_intentClassificationResultsHasBeenSet = false;
124
126 bool m_slotResolutionResultsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace LexModelsV2
131} // namespace Aws
ConversationLevelTestResultItem & WithConversationId(const char *value)
ConversationLevelTestResultItem & WithEndToEndResult(const TestResultMatchStatus &value)
ConversationLevelTestResultItem & WithSpeechTranscriptionResult(const TestResultMatchStatus &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ConversationLevelSlotResolutionResultItem > & GetSlotResolutionResults() const
ConversationLevelTestResultItem & AddSlotResolutionResults(ConversationLevelSlotResolutionResultItem &&value)
void SetSlotResolutionResults(const Aws::Vector< ConversationLevelSlotResolutionResultItem > &value)
AWS_LEXMODELSV2_API ConversationLevelTestResultItem(Aws::Utils::Json::JsonView jsonValue)
ConversationLevelTestResultItem & WithSlotResolutionResults(Aws::Vector< ConversationLevelSlotResolutionResultItem > &&value)
ConversationLevelTestResultItem & WithConversationId(Aws::String &&value)
void SetIntentClassificationResults(const Aws::Vector< ConversationLevelIntentClassificationResultItem > &value)
ConversationLevelTestResultItem & WithIntentClassificationResults(const Aws::Vector< ConversationLevelIntentClassificationResultItem > &value)
ConversationLevelTestResultItem & AddSlotResolutionResults(const ConversationLevelSlotResolutionResultItem &value)
ConversationLevelTestResultItem & AddIntentClassificationResults(const ConversationLevelIntentClassificationResultItem &value)
ConversationLevelTestResultItem & WithIntentClassificationResults(Aws::Vector< ConversationLevelIntentClassificationResultItem > &&value)
const Aws::Vector< ConversationLevelIntentClassificationResultItem > & GetIntentClassificationResults() const
void SetSlotResolutionResults(Aws::Vector< ConversationLevelSlotResolutionResultItem > &&value)
AWS_LEXMODELSV2_API ConversationLevelTestResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversationLevelTestResultItem & WithConversationId(const Aws::String &value)
ConversationLevelTestResultItem & WithSpeechTranscriptionResult(TestResultMatchStatus &&value)
void SetIntentClassificationResults(Aws::Vector< ConversationLevelIntentClassificationResultItem > &&value)
ConversationLevelTestResultItem & WithEndToEndResult(TestResultMatchStatus &&value)
ConversationLevelTestResultItem & WithSlotResolutionResults(const Aws::Vector< ConversationLevelSlotResolutionResultItem > &value)
ConversationLevelTestResultItem & AddIntentClassificationResults(ConversationLevelIntentClassificationResultItem &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue