AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
IntentClassificationTestResultItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/IntentClassificationTestResultItemCounts.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelsV2 {
21namespace Model {
22
30 public:
31 AWS_LEXMODELSV2_API IntentClassificationTestResultItem() = default;
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetIntentName() const { return m_intentName; }
41 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
42 template <typename IntentNameT = Aws::String>
43 void SetIntentName(IntentNameT&& value) {
44 m_intentNameHasBeenSet = true;
45 m_intentName = std::forward<IntentNameT>(value);
46 }
47 template <typename IntentNameT = Aws::String>
49 SetIntentName(std::forward<IntentNameT>(value));
50 return *this;
51 }
53
55
58 inline bool GetMultiTurnConversation() const { return m_multiTurnConversation; }
59 inline bool MultiTurnConversationHasBeenSet() const { return m_multiTurnConversationHasBeenSet; }
60 inline void SetMultiTurnConversation(bool value) {
61 m_multiTurnConversationHasBeenSet = true;
62 m_multiTurnConversation = value;
63 }
66 return *this;
67 }
69
71
74 inline const IntentClassificationTestResultItemCounts& GetResultCounts() const { return m_resultCounts; }
75 inline bool ResultCountsHasBeenSet() const { return m_resultCountsHasBeenSet; }
76 template <typename ResultCountsT = IntentClassificationTestResultItemCounts>
77 void SetResultCounts(ResultCountsT&& value) {
78 m_resultCountsHasBeenSet = true;
79 m_resultCounts = std::forward<ResultCountsT>(value);
80 }
81 template <typename ResultCountsT = IntentClassificationTestResultItemCounts>
83 SetResultCounts(std::forward<ResultCountsT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_intentName;
89
90 bool m_multiTurnConversation{false};
91
92 IntentClassificationTestResultItemCounts m_resultCounts;
93 bool m_intentNameHasBeenSet = false;
94 bool m_multiTurnConversationHasBeenSet = false;
95 bool m_resultCountsHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace LexModelsV2
100} // namespace Aws
IntentClassificationTestResultItem & WithMultiTurnConversation(bool value)
const IntentClassificationTestResultItemCounts & GetResultCounts() const
IntentClassificationTestResultItem & WithIntentName(IntentNameT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API IntentClassificationTestResultItem()=default
AWS_LEXMODELSV2_API IntentClassificationTestResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API IntentClassificationTestResultItem(Aws::Utils::Json::JsonView jsonValue)
IntentClassificationTestResultItem & WithResultCounts(ResultCountsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue