AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntentClassificationTestResultItem.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/IntentClassificationTestResultItemCounts.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 const Aws::String& GetIntentName() const{ return m_intentName; }
47 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
48 inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; }
49 inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); }
50 inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); }
51 inline IntentClassificationTestResultItem& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;}
52 inline IntentClassificationTestResultItem& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;}
53 inline IntentClassificationTestResultItem& WithIntentName(const char* value) { SetIntentName(value); return *this;}
55
57
60 inline bool GetMultiTurnConversation() const{ return m_multiTurnConversation; }
61 inline bool MultiTurnConversationHasBeenSet() const { return m_multiTurnConversationHasBeenSet; }
62 inline void SetMultiTurnConversation(bool value) { m_multiTurnConversationHasBeenSet = true; m_multiTurnConversation = value; }
65
67
70 inline const IntentClassificationTestResultItemCounts& GetResultCounts() const{ return m_resultCounts; }
71 inline bool ResultCountsHasBeenSet() const { return m_resultCountsHasBeenSet; }
72 inline void SetResultCounts(const IntentClassificationTestResultItemCounts& value) { m_resultCountsHasBeenSet = true; m_resultCounts = value; }
73 inline void SetResultCounts(IntentClassificationTestResultItemCounts&& value) { m_resultCountsHasBeenSet = true; m_resultCounts = std::move(value); }
77 private:
78
79 Aws::String m_intentName;
80 bool m_intentNameHasBeenSet = false;
81
82 bool m_multiTurnConversation;
83 bool m_multiTurnConversationHasBeenSet = false;
84
86 bool m_resultCountsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LexModelsV2
91} // namespace Aws
IntentClassificationTestResultItem & WithMultiTurnConversation(bool value)
IntentClassificationTestResultItem & WithIntentName(Aws::String &&value)
IntentClassificationTestResultItem & WithIntentName(const Aws::String &value)
IntentClassificationTestResultItem & WithResultCounts(IntentClassificationTestResultItemCounts &&value)
void SetResultCounts(IntentClassificationTestResultItemCounts &&value)
const IntentClassificationTestResultItemCounts & GetResultCounts() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentClassificationTestResultItem & WithResultCounts(const IntentClassificationTestResultItemCounts &value)
IntentClassificationTestResultItem & WithIntentName(const char *value)
AWS_LEXMODELSV2_API IntentClassificationTestResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API IntentClassificationTestResultItem(Aws::Utils::Json::JsonView jsonValue)
void SetResultCounts(const IntentClassificationTestResultItemCounts &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue