AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PropertygraphSummary.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/neptunedata/model/NodeStructure.h>
12#include <aws/neptunedata/model/EdgeStructure.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace neptunedata
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_NEPTUNEDATA_API PropertygraphSummary() = default;
42 AWS_NEPTUNEDATA_API PropertygraphSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline long long GetNumNodes() const { return m_numNodes; }
52 inline bool NumNodesHasBeenSet() const { return m_numNodesHasBeenSet; }
53 inline void SetNumNodes(long long value) { m_numNodesHasBeenSet = true; m_numNodes = value; }
54 inline PropertygraphSummary& WithNumNodes(long long value) { SetNumNodes(value); return *this;}
56
58
61 inline long long GetNumEdges() const { return m_numEdges; }
62 inline bool NumEdgesHasBeenSet() const { return m_numEdgesHasBeenSet; }
63 inline void SetNumEdges(long long value) { m_numEdgesHasBeenSet = true; m_numEdges = value; }
64 inline PropertygraphSummary& WithNumEdges(long long value) { SetNumEdges(value); return *this;}
66
68
71 inline long long GetNumNodeLabels() const { return m_numNodeLabels; }
72 inline bool NumNodeLabelsHasBeenSet() const { return m_numNodeLabelsHasBeenSet; }
73 inline void SetNumNodeLabels(long long value) { m_numNodeLabelsHasBeenSet = true; m_numNodeLabels = value; }
74 inline PropertygraphSummary& WithNumNodeLabels(long long value) { SetNumNodeLabels(value); return *this;}
76
78
81 inline long long GetNumEdgeLabels() const { return m_numEdgeLabels; }
82 inline bool NumEdgeLabelsHasBeenSet() const { return m_numEdgeLabelsHasBeenSet; }
83 inline void SetNumEdgeLabels(long long value) { m_numEdgeLabelsHasBeenSet = true; m_numEdgeLabels = value; }
84 inline PropertygraphSummary& WithNumEdgeLabels(long long value) { SetNumEdgeLabels(value); return *this;}
86
88
91 inline const Aws::Vector<Aws::String>& GetNodeLabels() const { return m_nodeLabels; }
92 inline bool NodeLabelsHasBeenSet() const { return m_nodeLabelsHasBeenSet; }
93 template<typename NodeLabelsT = Aws::Vector<Aws::String>>
94 void SetNodeLabels(NodeLabelsT&& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels = std::forward<NodeLabelsT>(value); }
95 template<typename NodeLabelsT = Aws::Vector<Aws::String>>
96 PropertygraphSummary& WithNodeLabels(NodeLabelsT&& value) { SetNodeLabels(std::forward<NodeLabelsT>(value)); return *this;}
97 template<typename NodeLabelsT = Aws::String>
98 PropertygraphSummary& AddNodeLabels(NodeLabelsT&& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels.emplace_back(std::forward<NodeLabelsT>(value)); return *this; }
100
102
105 inline const Aws::Vector<Aws::String>& GetEdgeLabels() const { return m_edgeLabels; }
106 inline bool EdgeLabelsHasBeenSet() const { return m_edgeLabelsHasBeenSet; }
107 template<typename EdgeLabelsT = Aws::Vector<Aws::String>>
108 void SetEdgeLabels(EdgeLabelsT&& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels = std::forward<EdgeLabelsT>(value); }
109 template<typename EdgeLabelsT = Aws::Vector<Aws::String>>
110 PropertygraphSummary& WithEdgeLabels(EdgeLabelsT&& value) { SetEdgeLabels(std::forward<EdgeLabelsT>(value)); return *this;}
111 template<typename EdgeLabelsT = Aws::String>
112 PropertygraphSummary& AddEdgeLabels(EdgeLabelsT&& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels.emplace_back(std::forward<EdgeLabelsT>(value)); return *this; }
114
116
120 inline long long GetNumNodeProperties() const { return m_numNodeProperties; }
121 inline bool NumNodePropertiesHasBeenSet() const { return m_numNodePropertiesHasBeenSet; }
122 inline void SetNumNodeProperties(long long value) { m_numNodePropertiesHasBeenSet = true; m_numNodeProperties = value; }
123 inline PropertygraphSummary& WithNumNodeProperties(long long value) { SetNumNodeProperties(value); return *this;}
125
127
130 inline long long GetNumEdgeProperties() const { return m_numEdgeProperties; }
131 inline bool NumEdgePropertiesHasBeenSet() const { return m_numEdgePropertiesHasBeenSet; }
132 inline void SetNumEdgeProperties(long long value) { m_numEdgePropertiesHasBeenSet = true; m_numEdgeProperties = value; }
133 inline PropertygraphSummary& WithNumEdgeProperties(long long value) { SetNumEdgeProperties(value); return *this;}
135
137
140 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetNodeProperties() const { return m_nodeProperties; }
141 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
142 template<typename NodePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
143 void SetNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = std::forward<NodePropertiesT>(value); }
144 template<typename NodePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
145 PropertygraphSummary& WithNodeProperties(NodePropertiesT&& value) { SetNodeProperties(std::forward<NodePropertiesT>(value)); return *this;}
146 template<typename NodePropertiesT = Aws::Map<Aws::String, long long>>
147 PropertygraphSummary& AddNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.emplace_back(std::forward<NodePropertiesT>(value)); return *this; }
149
151
155 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetEdgeProperties() const { return m_edgeProperties; }
156 inline bool EdgePropertiesHasBeenSet() const { return m_edgePropertiesHasBeenSet; }
157 template<typename EdgePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
158 void SetEdgeProperties(EdgePropertiesT&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties = std::forward<EdgePropertiesT>(value); }
159 template<typename EdgePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
160 PropertygraphSummary& WithEdgeProperties(EdgePropertiesT&& value) { SetEdgeProperties(std::forward<EdgePropertiesT>(value)); return *this;}
161 template<typename EdgePropertiesT = Aws::Map<Aws::String, long long>>
162 PropertygraphSummary& AddEdgeProperties(EdgePropertiesT&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties.emplace_back(std::forward<EdgePropertiesT>(value)); return *this; }
164
166
169 inline long long GetTotalNodePropertyValues() const { return m_totalNodePropertyValues; }
170 inline bool TotalNodePropertyValuesHasBeenSet() const { return m_totalNodePropertyValuesHasBeenSet; }
171 inline void SetTotalNodePropertyValues(long long value) { m_totalNodePropertyValuesHasBeenSet = true; m_totalNodePropertyValues = value; }
172 inline PropertygraphSummary& WithTotalNodePropertyValues(long long value) { SetTotalNodePropertyValues(value); return *this;}
174
176
179 inline long long GetTotalEdgePropertyValues() const { return m_totalEdgePropertyValues; }
180 inline bool TotalEdgePropertyValuesHasBeenSet() const { return m_totalEdgePropertyValuesHasBeenSet; }
181 inline void SetTotalEdgePropertyValues(long long value) { m_totalEdgePropertyValuesHasBeenSet = true; m_totalEdgePropertyValues = value; }
182 inline PropertygraphSummary& WithTotalEdgePropertyValues(long long value) { SetTotalEdgePropertyValues(value); return *this;}
184
186
190 inline const Aws::Vector<NodeStructure>& GetNodeStructures() const { return m_nodeStructures; }
191 inline bool NodeStructuresHasBeenSet() const { return m_nodeStructuresHasBeenSet; }
192 template<typename NodeStructuresT = Aws::Vector<NodeStructure>>
193 void SetNodeStructures(NodeStructuresT&& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures = std::forward<NodeStructuresT>(value); }
194 template<typename NodeStructuresT = Aws::Vector<NodeStructure>>
195 PropertygraphSummary& WithNodeStructures(NodeStructuresT&& value) { SetNodeStructures(std::forward<NodeStructuresT>(value)); return *this;}
196 template<typename NodeStructuresT = NodeStructure>
197 PropertygraphSummary& AddNodeStructures(NodeStructuresT&& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures.emplace_back(std::forward<NodeStructuresT>(value)); return *this; }
199
201
205 inline const Aws::Vector<EdgeStructure>& GetEdgeStructures() const { return m_edgeStructures; }
206 inline bool EdgeStructuresHasBeenSet() const { return m_edgeStructuresHasBeenSet; }
207 template<typename EdgeStructuresT = Aws::Vector<EdgeStructure>>
208 void SetEdgeStructures(EdgeStructuresT&& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures = std::forward<EdgeStructuresT>(value); }
209 template<typename EdgeStructuresT = Aws::Vector<EdgeStructure>>
210 PropertygraphSummary& WithEdgeStructures(EdgeStructuresT&& value) { SetEdgeStructures(std::forward<EdgeStructuresT>(value)); return *this;}
211 template<typename EdgeStructuresT = EdgeStructure>
212 PropertygraphSummary& AddEdgeStructures(EdgeStructuresT&& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures.emplace_back(std::forward<EdgeStructuresT>(value)); return *this; }
214 private:
215
216 long long m_numNodes{0};
217 bool m_numNodesHasBeenSet = false;
218
219 long long m_numEdges{0};
220 bool m_numEdgesHasBeenSet = false;
221
222 long long m_numNodeLabels{0};
223 bool m_numNodeLabelsHasBeenSet = false;
224
225 long long m_numEdgeLabels{0};
226 bool m_numEdgeLabelsHasBeenSet = false;
227
228 Aws::Vector<Aws::String> m_nodeLabels;
229 bool m_nodeLabelsHasBeenSet = false;
230
231 Aws::Vector<Aws::String> m_edgeLabels;
232 bool m_edgeLabelsHasBeenSet = false;
233
234 long long m_numNodeProperties{0};
235 bool m_numNodePropertiesHasBeenSet = false;
236
237 long long m_numEdgeProperties{0};
238 bool m_numEdgePropertiesHasBeenSet = false;
239
241 bool m_nodePropertiesHasBeenSet = false;
242
244 bool m_edgePropertiesHasBeenSet = false;
245
246 long long m_totalNodePropertyValues{0};
247 bool m_totalNodePropertyValuesHasBeenSet = false;
248
249 long long m_totalEdgePropertyValues{0};
250 bool m_totalEdgePropertyValuesHasBeenSet = false;
251
252 Aws::Vector<NodeStructure> m_nodeStructures;
253 bool m_nodeStructuresHasBeenSet = false;
254
255 Aws::Vector<EdgeStructure> m_edgeStructures;
256 bool m_edgeStructuresHasBeenSet = false;
257 };
258
259} // namespace Model
260} // namespace neptunedata
261} // namespace Aws
PropertygraphSummary & WithTotalNodePropertyValues(long long value)
AWS_NEPTUNEDATA_API PropertygraphSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< NodeStructure > & GetNodeStructures() const
PropertygraphSummary & WithNodeProperties(NodePropertiesT &&value)
PropertygraphSummary & AddEdgeStructures(EdgeStructuresT &&value)
PropertygraphSummary & WithEdgeLabels(EdgeLabelsT &&value)
PropertygraphSummary & WithNumEdgeLabels(long long value)
PropertygraphSummary & AddEdgeProperties(EdgePropertiesT &&value)
AWS_NEPTUNEDATA_API PropertygraphSummary()=default
PropertygraphSummary & WithNodeStructures(NodeStructuresT &&value)
PropertygraphSummary & WithEdgeProperties(EdgePropertiesT &&value)
PropertygraphSummary & WithEdgeStructures(EdgeStructuresT &&value)
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetNodeProperties() const
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetNodeLabels() const
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetEdgeProperties() const
const Aws::Vector< Aws::String > & GetEdgeLabels() const
const Aws::Vector< EdgeStructure > & GetEdgeStructures() const
PropertygraphSummary & WithNumNodes(long long value)
AWS_NEPTUNEDATA_API PropertygraphSummary(Aws::Utils::Json::JsonView jsonValue)
PropertygraphSummary & AddEdgeLabels(EdgeLabelsT &&value)
PropertygraphSummary & WithNumNodeLabels(long long value)
PropertygraphSummary & WithTotalEdgePropertyValues(long long value)
PropertygraphSummary & WithNumEdges(long long value)
PropertygraphSummary & WithNumNodeProperties(long long value)
PropertygraphSummary & AddNodeLabels(NodeLabelsT &&value)
PropertygraphSummary & AddNodeProperties(NodePropertiesT &&value)
PropertygraphSummary & WithNodeLabels(NodeLabelsT &&value)
PropertygraphSummary & AddNodeStructures(NodeStructuresT &&value)
PropertygraphSummary & WithNumEdgeProperties(long long value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue