AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PropertygraphSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptunedata/Neptunedata_EXPORTS.h>
11#include <aws/neptunedata/model/EdgeStructure.h>
12#include <aws/neptunedata/model/NodeStructure.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace neptunedata {
24namespace Model {
25
35 public:
36 AWS_NEPTUNEDATA_API PropertygraphSummary() = default;
37 AWS_NEPTUNEDATA_API PropertygraphSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline long long GetNumNodes() const { return m_numNodes; }
46 inline bool NumNodesHasBeenSet() const { return m_numNodesHasBeenSet; }
47 inline void SetNumNodes(long long value) {
48 m_numNodesHasBeenSet = true;
49 m_numNodes = value;
50 }
51 inline PropertygraphSummary& WithNumNodes(long long value) {
52 SetNumNodes(value);
53 return *this;
54 }
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) {
64 m_numEdgesHasBeenSet = true;
65 m_numEdges = value;
66 }
67 inline PropertygraphSummary& WithNumEdges(long long value) {
68 SetNumEdges(value);
69 return *this;
70 }
72
74
77 inline long long GetNumNodeLabels() const { return m_numNodeLabels; }
78 inline bool NumNodeLabelsHasBeenSet() const { return m_numNodeLabelsHasBeenSet; }
79 inline void SetNumNodeLabels(long long value) {
80 m_numNodeLabelsHasBeenSet = true;
81 m_numNodeLabels = value;
82 }
83 inline PropertygraphSummary& WithNumNodeLabels(long long value) {
84 SetNumNodeLabels(value);
85 return *this;
86 }
88
90
93 inline long long GetNumEdgeLabels() const { return m_numEdgeLabels; }
94 inline bool NumEdgeLabelsHasBeenSet() const { return m_numEdgeLabelsHasBeenSet; }
95 inline void SetNumEdgeLabels(long long value) {
96 m_numEdgeLabelsHasBeenSet = true;
97 m_numEdgeLabels = value;
98 }
99 inline PropertygraphSummary& WithNumEdgeLabels(long long value) {
100 SetNumEdgeLabels(value);
101 return *this;
102 }
104
106
109 inline const Aws::Vector<Aws::String>& GetNodeLabels() const { return m_nodeLabels; }
110 inline bool NodeLabelsHasBeenSet() const { return m_nodeLabelsHasBeenSet; }
111 template <typename NodeLabelsT = Aws::Vector<Aws::String>>
112 void SetNodeLabels(NodeLabelsT&& value) {
113 m_nodeLabelsHasBeenSet = true;
114 m_nodeLabels = std::forward<NodeLabelsT>(value);
115 }
116 template <typename NodeLabelsT = Aws::Vector<Aws::String>>
117 PropertygraphSummary& WithNodeLabels(NodeLabelsT&& value) {
118 SetNodeLabels(std::forward<NodeLabelsT>(value));
119 return *this;
120 }
121 template <typename NodeLabelsT = Aws::String>
122 PropertygraphSummary& AddNodeLabels(NodeLabelsT&& value) {
123 m_nodeLabelsHasBeenSet = true;
124 m_nodeLabels.emplace_back(std::forward<NodeLabelsT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Vector<Aws::String>& GetEdgeLabels() const { return m_edgeLabels; }
134 inline bool EdgeLabelsHasBeenSet() const { return m_edgeLabelsHasBeenSet; }
135 template <typename EdgeLabelsT = Aws::Vector<Aws::String>>
136 void SetEdgeLabels(EdgeLabelsT&& value) {
137 m_edgeLabelsHasBeenSet = true;
138 m_edgeLabels = std::forward<EdgeLabelsT>(value);
139 }
140 template <typename EdgeLabelsT = Aws::Vector<Aws::String>>
141 PropertygraphSummary& WithEdgeLabels(EdgeLabelsT&& value) {
142 SetEdgeLabels(std::forward<EdgeLabelsT>(value));
143 return *this;
144 }
145 template <typename EdgeLabelsT = Aws::String>
146 PropertygraphSummary& AddEdgeLabels(EdgeLabelsT&& value) {
147 m_edgeLabelsHasBeenSet = true;
148 m_edgeLabels.emplace_back(std::forward<EdgeLabelsT>(value));
149 return *this;
150 }
152
154
158 inline long long GetNumNodeProperties() const { return m_numNodeProperties; }
159 inline bool NumNodePropertiesHasBeenSet() const { return m_numNodePropertiesHasBeenSet; }
160 inline void SetNumNodeProperties(long long value) {
161 m_numNodePropertiesHasBeenSet = true;
162 m_numNodeProperties = value;
163 }
166 return *this;
167 }
169
171
174 inline long long GetNumEdgeProperties() const { return m_numEdgeProperties; }
175 inline bool NumEdgePropertiesHasBeenSet() const { return m_numEdgePropertiesHasBeenSet; }
176 inline void SetNumEdgeProperties(long long value) {
177 m_numEdgePropertiesHasBeenSet = true;
178 m_numEdgeProperties = value;
179 }
182 return *this;
183 }
185
187
190 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetNodeProperties() const { return m_nodeProperties; }
191 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
192 template <typename NodePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
193 void SetNodeProperties(NodePropertiesT&& value) {
194 m_nodePropertiesHasBeenSet = true;
195 m_nodeProperties = std::forward<NodePropertiesT>(value);
196 }
197 template <typename NodePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
198 PropertygraphSummary& WithNodeProperties(NodePropertiesT&& value) {
199 SetNodeProperties(std::forward<NodePropertiesT>(value));
200 return *this;
201 }
202 template <typename NodePropertiesT = Aws::Map<Aws::String, long long>>
203 PropertygraphSummary& AddNodeProperties(NodePropertiesT&& value) {
204 m_nodePropertiesHasBeenSet = true;
205 m_nodeProperties.emplace_back(std::forward<NodePropertiesT>(value));
206 return *this;
207 }
209
211
215 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetEdgeProperties() const { return m_edgeProperties; }
216 inline bool EdgePropertiesHasBeenSet() const { return m_edgePropertiesHasBeenSet; }
217 template <typename EdgePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
218 void SetEdgeProperties(EdgePropertiesT&& value) {
219 m_edgePropertiesHasBeenSet = true;
220 m_edgeProperties = std::forward<EdgePropertiesT>(value);
221 }
222 template <typename EdgePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
223 PropertygraphSummary& WithEdgeProperties(EdgePropertiesT&& value) {
224 SetEdgeProperties(std::forward<EdgePropertiesT>(value));
225 return *this;
226 }
227 template <typename EdgePropertiesT = Aws::Map<Aws::String, long long>>
228 PropertygraphSummary& AddEdgeProperties(EdgePropertiesT&& value) {
229 m_edgePropertiesHasBeenSet = true;
230 m_edgeProperties.emplace_back(std::forward<EdgePropertiesT>(value));
231 return *this;
232 }
234
236
239 inline long long GetTotalNodePropertyValues() const { return m_totalNodePropertyValues; }
240 inline bool TotalNodePropertyValuesHasBeenSet() const { return m_totalNodePropertyValuesHasBeenSet; }
241 inline void SetTotalNodePropertyValues(long long value) {
242 m_totalNodePropertyValuesHasBeenSet = true;
243 m_totalNodePropertyValues = value;
244 }
247 return *this;
248 }
250
252
255 inline long long GetTotalEdgePropertyValues() const { return m_totalEdgePropertyValues; }
256 inline bool TotalEdgePropertyValuesHasBeenSet() const { return m_totalEdgePropertyValuesHasBeenSet; }
257 inline void SetTotalEdgePropertyValues(long long value) {
258 m_totalEdgePropertyValuesHasBeenSet = true;
259 m_totalEdgePropertyValues = value;
260 }
263 return *this;
264 }
266
268
272 inline const Aws::Vector<NodeStructure>& GetNodeStructures() const { return m_nodeStructures; }
273 inline bool NodeStructuresHasBeenSet() const { return m_nodeStructuresHasBeenSet; }
274 template <typename NodeStructuresT = Aws::Vector<NodeStructure>>
275 void SetNodeStructures(NodeStructuresT&& value) {
276 m_nodeStructuresHasBeenSet = true;
277 m_nodeStructures = std::forward<NodeStructuresT>(value);
278 }
279 template <typename NodeStructuresT = Aws::Vector<NodeStructure>>
280 PropertygraphSummary& WithNodeStructures(NodeStructuresT&& value) {
281 SetNodeStructures(std::forward<NodeStructuresT>(value));
282 return *this;
283 }
284 template <typename NodeStructuresT = NodeStructure>
285 PropertygraphSummary& AddNodeStructures(NodeStructuresT&& value) {
286 m_nodeStructuresHasBeenSet = true;
287 m_nodeStructures.emplace_back(std::forward<NodeStructuresT>(value));
288 return *this;
289 }
291
293
297 inline const Aws::Vector<EdgeStructure>& GetEdgeStructures() const { return m_edgeStructures; }
298 inline bool EdgeStructuresHasBeenSet() const { return m_edgeStructuresHasBeenSet; }
299 template <typename EdgeStructuresT = Aws::Vector<EdgeStructure>>
300 void SetEdgeStructures(EdgeStructuresT&& value) {
301 m_edgeStructuresHasBeenSet = true;
302 m_edgeStructures = std::forward<EdgeStructuresT>(value);
303 }
304 template <typename EdgeStructuresT = Aws::Vector<EdgeStructure>>
305 PropertygraphSummary& WithEdgeStructures(EdgeStructuresT&& value) {
306 SetEdgeStructures(std::forward<EdgeStructuresT>(value));
307 return *this;
308 }
309 template <typename EdgeStructuresT = EdgeStructure>
310 PropertygraphSummary& AddEdgeStructures(EdgeStructuresT&& value) {
311 m_edgeStructuresHasBeenSet = true;
312 m_edgeStructures.emplace_back(std::forward<EdgeStructuresT>(value));
313 return *this;
314 }
316 private:
317 long long m_numNodes{0};
318
319 long long m_numEdges{0};
320
321 long long m_numNodeLabels{0};
322
323 long long m_numEdgeLabels{0};
324
325 Aws::Vector<Aws::String> m_nodeLabels;
326
327 Aws::Vector<Aws::String> m_edgeLabels;
328
329 long long m_numNodeProperties{0};
330
331 long long m_numEdgeProperties{0};
332
334
336
337 long long m_totalNodePropertyValues{0};
338
339 long long m_totalEdgePropertyValues{0};
340
341 Aws::Vector<NodeStructure> m_nodeStructures;
342
343 Aws::Vector<EdgeStructure> m_edgeStructures;
344 bool m_numNodesHasBeenSet = false;
345 bool m_numEdgesHasBeenSet = false;
346 bool m_numNodeLabelsHasBeenSet = false;
347 bool m_numEdgeLabelsHasBeenSet = false;
348 bool m_nodeLabelsHasBeenSet = false;
349 bool m_edgeLabelsHasBeenSet = false;
350 bool m_numNodePropertiesHasBeenSet = false;
351 bool m_numEdgePropertiesHasBeenSet = false;
352 bool m_nodePropertiesHasBeenSet = false;
353 bool m_edgePropertiesHasBeenSet = false;
354 bool m_totalNodePropertyValuesHasBeenSet = false;
355 bool m_totalEdgePropertyValuesHasBeenSet = false;
356 bool m_nodeStructuresHasBeenSet = false;
357 bool m_edgeStructuresHasBeenSet = false;
358};
359
360} // namespace Model
361} // namespace neptunedata
362} // 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