AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AnalyticsIntentNodeSummary.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/AnalyticsNodeType.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 AnalyticsIntentNodeSummary() = 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 const Aws::String& GetIntentPath() const { return m_intentPath; }
59 inline bool IntentPathHasBeenSet() const { return m_intentPathHasBeenSet; }
60 template <typename IntentPathT = Aws::String>
61 void SetIntentPath(IntentPathT&& value) {
62 m_intentPathHasBeenSet = true;
63 m_intentPath = std::forward<IntentPathT>(value);
64 }
65 template <typename IntentPathT = Aws::String>
67 SetIntentPath(std::forward<IntentPathT>(value));
68 return *this;
69 }
71
73
77 inline int GetIntentCount() const { return m_intentCount; }
78 inline bool IntentCountHasBeenSet() const { return m_intentCountHasBeenSet; }
79 inline void SetIntentCount(int value) {
80 m_intentCountHasBeenSet = true;
81 m_intentCount = value;
82 }
84 SetIntentCount(value);
85 return *this;
86 }
88
90
93 inline int GetIntentLevel() const { return m_intentLevel; }
94 inline bool IntentLevelHasBeenSet() const { return m_intentLevelHasBeenSet; }
95 inline void SetIntentLevel(int value) {
96 m_intentLevelHasBeenSet = true;
97 m_intentLevel = value;
98 }
100 SetIntentLevel(value);
101 return *this;
102 }
104
106
110 inline AnalyticsNodeType GetNodeType() const { return m_nodeType; }
111 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
112 inline void SetNodeType(AnalyticsNodeType value) {
113 m_nodeTypeHasBeenSet = true;
114 m_nodeType = value;
115 }
117 SetNodeType(value);
118 return *this;
119 }
121 private:
122 Aws::String m_intentName;
123
124 Aws::String m_intentPath;
125
126 int m_intentCount{0};
127
128 int m_intentLevel{0};
129
131 bool m_intentNameHasBeenSet = false;
132 bool m_intentPathHasBeenSet = false;
133 bool m_intentCountHasBeenSet = false;
134 bool m_intentLevelHasBeenSet = false;
135 bool m_nodeTypeHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace LexModelsV2
140} // namespace Aws
AWS_LEXMODELSV2_API AnalyticsIntentNodeSummary()=default
AWS_LEXMODELSV2_API AnalyticsIntentNodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalyticsIntentNodeSummary & WithIntentName(IntentNameT &&value)
AnalyticsIntentNodeSummary & WithIntentCount(int value)
AnalyticsIntentNodeSummary & WithIntentPath(IntentPathT &&value)
AnalyticsIntentNodeSummary & WithIntentLevel(int value)
AnalyticsIntentNodeSummary & WithNodeType(AnalyticsNodeType value)
AWS_LEXMODELSV2_API AnalyticsIntentNodeSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue