AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AnalyticsIntentNodeSummary.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/AnalyticsNodeType.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:
36 AWS_LEXMODELSV2_API AnalyticsIntentNodeSummary() = default;
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 template<typename IntentNameT = Aws::String>
49 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet = true; m_intentName = std::forward<IntentNameT>(value); }
50 template<typename IntentNameT = Aws::String>
51 AnalyticsIntentNodeSummary& WithIntentName(IntentNameT&& value) { SetIntentName(std::forward<IntentNameT>(value)); return *this;}
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) { m_intentPathHasBeenSet = true; m_intentPath = std::forward<IntentPathT>(value); }
62 template<typename IntentPathT = Aws::String>
63 AnalyticsIntentNodeSummary& WithIntentPath(IntentPathT&& value) { SetIntentPath(std::forward<IntentPathT>(value)); return *this;}
65
67
71 inline int GetIntentCount() const { return m_intentCount; }
72 inline bool IntentCountHasBeenSet() const { return m_intentCountHasBeenSet; }
73 inline void SetIntentCount(int value) { m_intentCountHasBeenSet = true; m_intentCount = value; }
74 inline AnalyticsIntentNodeSummary& WithIntentCount(int value) { SetIntentCount(value); return *this;}
76
78
81 inline int GetIntentLevel() const { return m_intentLevel; }
82 inline bool IntentLevelHasBeenSet() const { return m_intentLevelHasBeenSet; }
83 inline void SetIntentLevel(int value) { m_intentLevelHasBeenSet = true; m_intentLevel = value; }
84 inline AnalyticsIntentNodeSummary& WithIntentLevel(int value) { SetIntentLevel(value); return *this;}
86
88
92 inline AnalyticsNodeType GetNodeType() const { return m_nodeType; }
93 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
94 inline void SetNodeType(AnalyticsNodeType value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
97 private:
98
99 Aws::String m_intentName;
100 bool m_intentNameHasBeenSet = false;
101
102 Aws::String m_intentPath;
103 bool m_intentPathHasBeenSet = false;
104
105 int m_intentCount{0};
106 bool m_intentCountHasBeenSet = false;
107
108 int m_intentLevel{0};
109 bool m_intentLevelHasBeenSet = false;
110
112 bool m_nodeTypeHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace LexModelsV2
117} // 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