AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 AnalyticsIntentNodeSummary& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;}
52 inline AnalyticsIntentNodeSummary& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;}
53 inline AnalyticsIntentNodeSummary& WithIntentName(const char* value) { SetIntentName(value); return *this;}
55
57
60 inline const Aws::String& GetIntentPath() const{ return m_intentPath; }
61 inline bool IntentPathHasBeenSet() const { return m_intentPathHasBeenSet; }
62 inline void SetIntentPath(const Aws::String& value) { m_intentPathHasBeenSet = true; m_intentPath = value; }
63 inline void SetIntentPath(Aws::String&& value) { m_intentPathHasBeenSet = true; m_intentPath = std::move(value); }
64 inline void SetIntentPath(const char* value) { m_intentPathHasBeenSet = true; m_intentPath.assign(value); }
65 inline AnalyticsIntentNodeSummary& WithIntentPath(const Aws::String& value) { SetIntentPath(value); return *this;}
66 inline AnalyticsIntentNodeSummary& WithIntentPath(Aws::String&& value) { SetIntentPath(std::move(value)); return *this;}
67 inline AnalyticsIntentNodeSummary& WithIntentPath(const char* value) { SetIntentPath(value); return *this;}
69
71
75 inline int GetIntentCount() const{ return m_intentCount; }
76 inline bool IntentCountHasBeenSet() const { return m_intentCountHasBeenSet; }
77 inline void SetIntentCount(int value) { m_intentCountHasBeenSet = true; m_intentCount = value; }
78 inline AnalyticsIntentNodeSummary& WithIntentCount(int value) { SetIntentCount(value); return *this;}
80
82
85 inline int GetIntentLevel() const{ return m_intentLevel; }
86 inline bool IntentLevelHasBeenSet() const { return m_intentLevelHasBeenSet; }
87 inline void SetIntentLevel(int value) { m_intentLevelHasBeenSet = true; m_intentLevel = value; }
88 inline AnalyticsIntentNodeSummary& WithIntentLevel(int value) { SetIntentLevel(value); return *this;}
90
92
96 inline const AnalyticsNodeType& GetNodeType() const{ return m_nodeType; }
97 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
98 inline void SetNodeType(const AnalyticsNodeType& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
99 inline void SetNodeType(AnalyticsNodeType&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
100 inline AnalyticsIntentNodeSummary& WithNodeType(const AnalyticsNodeType& value) { SetNodeType(value); return *this;}
101 inline AnalyticsIntentNodeSummary& WithNodeType(AnalyticsNodeType&& value) { SetNodeType(std::move(value)); return *this;}
103 private:
104
105 Aws::String m_intentName;
106 bool m_intentNameHasBeenSet = false;
107
108 Aws::String m_intentPath;
109 bool m_intentPathHasBeenSet = false;
110
111 int m_intentCount;
112 bool m_intentCountHasBeenSet = false;
113
114 int m_intentLevel;
115 bool m_intentLevelHasBeenSet = false;
116
117 AnalyticsNodeType m_nodeType;
118 bool m_nodeTypeHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace LexModelsV2
123} // namespace Aws
AnalyticsIntentNodeSummary & WithIntentName(const char *value)
AnalyticsIntentNodeSummary & WithIntentPath(Aws::String &&value)
AWS_LEXMODELSV2_API AnalyticsIntentNodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalyticsIntentNodeSummary & WithIntentName(const Aws::String &value)
AnalyticsIntentNodeSummary & WithNodeType(AnalyticsNodeType &&value)
AnalyticsIntentNodeSummary & WithIntentCount(int value)
AnalyticsIntentNodeSummary & WithIntentName(Aws::String &&value)
AnalyticsIntentNodeSummary & WithIntentPath(const char *value)
AnalyticsIntentNodeSummary & WithIntentLevel(int value)
AnalyticsIntentNodeSummary & WithIntentPath(const Aws::String &value)
AWS_LEXMODELSV2_API AnalyticsIntentNodeSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyticsIntentNodeSummary & WithNodeType(const AnalyticsNodeType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue