AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GraphDataSummary.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/neptune-graph/NeptuneGraph_EXPORTS.h>
11#include <aws/neptune-graph/model/EdgeStructure.h>
12#include <aws/neptune-graph/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 NeptuneGraph {
24namespace Model {
25
32 public:
33 AWS_NEPTUNEGRAPH_API GraphDataSummary() = default;
34 AWS_NEPTUNEGRAPH_API GraphDataSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_NEPTUNEGRAPH_API GraphDataSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline long long GetNumNodes() const { return m_numNodes; }
43 inline bool NumNodesHasBeenSet() const { return m_numNodesHasBeenSet; }
44 inline void SetNumNodes(long long value) {
45 m_numNodesHasBeenSet = true;
46 m_numNodes = value;
47 }
48 inline GraphDataSummary& WithNumNodes(long long value) {
49 SetNumNodes(value);
50 return *this;
51 }
53
55
58 inline long long GetNumEdges() const { return m_numEdges; }
59 inline bool NumEdgesHasBeenSet() const { return m_numEdgesHasBeenSet; }
60 inline void SetNumEdges(long long value) {
61 m_numEdgesHasBeenSet = true;
62 m_numEdges = value;
63 }
64 inline GraphDataSummary& WithNumEdges(long long value) {
65 SetNumEdges(value);
66 return *this;
67 }
69
71
74 inline long long GetNumNodeLabels() const { return m_numNodeLabels; }
75 inline bool NumNodeLabelsHasBeenSet() const { return m_numNodeLabelsHasBeenSet; }
76 inline void SetNumNodeLabels(long long value) {
77 m_numNodeLabelsHasBeenSet = true;
78 m_numNodeLabels = value;
79 }
80 inline GraphDataSummary& WithNumNodeLabels(long long value) {
81 SetNumNodeLabels(value);
82 return *this;
83 }
85
87
90 inline long long GetNumEdgeLabels() const { return m_numEdgeLabels; }
91 inline bool NumEdgeLabelsHasBeenSet() const { return m_numEdgeLabelsHasBeenSet; }
92 inline void SetNumEdgeLabels(long long value) {
93 m_numEdgeLabelsHasBeenSet = true;
94 m_numEdgeLabels = value;
95 }
96 inline GraphDataSummary& WithNumEdgeLabels(long long value) {
97 SetNumEdgeLabels(value);
98 return *this;
99 }
101
103
106 inline const Aws::Vector<Aws::String>& GetNodeLabels() const { return m_nodeLabels; }
107 inline bool NodeLabelsHasBeenSet() const { return m_nodeLabelsHasBeenSet; }
108 template <typename NodeLabelsT = Aws::Vector<Aws::String>>
109 void SetNodeLabels(NodeLabelsT&& value) {
110 m_nodeLabelsHasBeenSet = true;
111 m_nodeLabels = std::forward<NodeLabelsT>(value);
112 }
113 template <typename NodeLabelsT = Aws::Vector<Aws::String>>
114 GraphDataSummary& WithNodeLabels(NodeLabelsT&& value) {
115 SetNodeLabels(std::forward<NodeLabelsT>(value));
116 return *this;
117 }
118 template <typename NodeLabelsT = Aws::String>
119 GraphDataSummary& AddNodeLabels(NodeLabelsT&& value) {
120 m_nodeLabelsHasBeenSet = true;
121 m_nodeLabels.emplace_back(std::forward<NodeLabelsT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Vector<Aws::String>& GetEdgeLabels() const { return m_edgeLabels; }
131 inline bool EdgeLabelsHasBeenSet() const { return m_edgeLabelsHasBeenSet; }
132 template <typename EdgeLabelsT = Aws::Vector<Aws::String>>
133 void SetEdgeLabels(EdgeLabelsT&& value) {
134 m_edgeLabelsHasBeenSet = true;
135 m_edgeLabels = std::forward<EdgeLabelsT>(value);
136 }
137 template <typename EdgeLabelsT = Aws::Vector<Aws::String>>
138 GraphDataSummary& WithEdgeLabels(EdgeLabelsT&& value) {
139 SetEdgeLabels(std::forward<EdgeLabelsT>(value));
140 return *this;
141 }
142 template <typename EdgeLabelsT = Aws::String>
143 GraphDataSummary& AddEdgeLabels(EdgeLabelsT&& value) {
144 m_edgeLabelsHasBeenSet = true;
145 m_edgeLabels.emplace_back(std::forward<EdgeLabelsT>(value));
146 return *this;
147 }
149
151
154 inline long long GetNumNodeProperties() const { return m_numNodeProperties; }
155 inline bool NumNodePropertiesHasBeenSet() const { return m_numNodePropertiesHasBeenSet; }
156 inline void SetNumNodeProperties(long long value) {
157 m_numNodePropertiesHasBeenSet = true;
158 m_numNodeProperties = value;
159 }
160 inline GraphDataSummary& WithNumNodeProperties(long long value) {
162 return *this;
163 }
165
167
170 inline long long GetNumEdgeProperties() const { return m_numEdgeProperties; }
171 inline bool NumEdgePropertiesHasBeenSet() const { return m_numEdgePropertiesHasBeenSet; }
172 inline void SetNumEdgeProperties(long long value) {
173 m_numEdgePropertiesHasBeenSet = true;
174 m_numEdgeProperties = value;
175 }
176 inline GraphDataSummary& WithNumEdgeProperties(long long value) {
178 return *this;
179 }
181
183
187 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetNodeProperties() const { return m_nodeProperties; }
188 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
189 template <typename NodePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
190 void SetNodeProperties(NodePropertiesT&& value) {
191 m_nodePropertiesHasBeenSet = true;
192 m_nodeProperties = std::forward<NodePropertiesT>(value);
193 }
194 template <typename NodePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
195 GraphDataSummary& WithNodeProperties(NodePropertiesT&& value) {
196 SetNodeProperties(std::forward<NodePropertiesT>(value));
197 return *this;
198 }
199 template <typename NodePropertiesT = Aws::Map<Aws::String, long long>>
200 GraphDataSummary& AddNodeProperties(NodePropertiesT&& value) {
201 m_nodePropertiesHasBeenSet = true;
202 m_nodeProperties.emplace_back(std::forward<NodePropertiesT>(value));
203 return *this;
204 }
206
208
212 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetEdgeProperties() const { return m_edgeProperties; }
213 inline bool EdgePropertiesHasBeenSet() const { return m_edgePropertiesHasBeenSet; }
214 template <typename EdgePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
215 void SetEdgeProperties(EdgePropertiesT&& value) {
216 m_edgePropertiesHasBeenSet = true;
217 m_edgeProperties = std::forward<EdgePropertiesT>(value);
218 }
219 template <typename EdgePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
220 GraphDataSummary& WithEdgeProperties(EdgePropertiesT&& value) {
221 SetEdgeProperties(std::forward<EdgePropertiesT>(value));
222 return *this;
223 }
224 template <typename EdgePropertiesT = Aws::Map<Aws::String, long long>>
225 GraphDataSummary& AddEdgeProperties(EdgePropertiesT&& value) {
226 m_edgePropertiesHasBeenSet = true;
227 m_edgeProperties.emplace_back(std::forward<EdgePropertiesT>(value));
228 return *this;
229 }
231
233
236 inline long long GetTotalNodePropertyValues() const { return m_totalNodePropertyValues; }
237 inline bool TotalNodePropertyValuesHasBeenSet() const { return m_totalNodePropertyValuesHasBeenSet; }
238 inline void SetTotalNodePropertyValues(long long value) {
239 m_totalNodePropertyValuesHasBeenSet = true;
240 m_totalNodePropertyValues = value;
241 }
244 return *this;
245 }
247
249
252 inline long long GetTotalEdgePropertyValues() const { return m_totalEdgePropertyValues; }
253 inline bool TotalEdgePropertyValuesHasBeenSet() const { return m_totalEdgePropertyValuesHasBeenSet; }
254 inline void SetTotalEdgePropertyValues(long long value) {
255 m_totalEdgePropertyValuesHasBeenSet = true;
256 m_totalEdgePropertyValues = value;
257 }
260 return *this;
261 }
263
265
269 inline const Aws::Vector<NodeStructure>& GetNodeStructures() const { return m_nodeStructures; }
270 inline bool NodeStructuresHasBeenSet() const { return m_nodeStructuresHasBeenSet; }
271 template <typename NodeStructuresT = Aws::Vector<NodeStructure>>
272 void SetNodeStructures(NodeStructuresT&& value) {
273 m_nodeStructuresHasBeenSet = true;
274 m_nodeStructures = std::forward<NodeStructuresT>(value);
275 }
276 template <typename NodeStructuresT = Aws::Vector<NodeStructure>>
277 GraphDataSummary& WithNodeStructures(NodeStructuresT&& value) {
278 SetNodeStructures(std::forward<NodeStructuresT>(value));
279 return *this;
280 }
281 template <typename NodeStructuresT = NodeStructure>
282 GraphDataSummary& AddNodeStructures(NodeStructuresT&& value) {
283 m_nodeStructuresHasBeenSet = true;
284 m_nodeStructures.emplace_back(std::forward<NodeStructuresT>(value));
285 return *this;
286 }
288
290
294 inline const Aws::Vector<EdgeStructure>& GetEdgeStructures() const { return m_edgeStructures; }
295 inline bool EdgeStructuresHasBeenSet() const { return m_edgeStructuresHasBeenSet; }
296 template <typename EdgeStructuresT = Aws::Vector<EdgeStructure>>
297 void SetEdgeStructures(EdgeStructuresT&& value) {
298 m_edgeStructuresHasBeenSet = true;
299 m_edgeStructures = std::forward<EdgeStructuresT>(value);
300 }
301 template <typename EdgeStructuresT = Aws::Vector<EdgeStructure>>
302 GraphDataSummary& WithEdgeStructures(EdgeStructuresT&& value) {
303 SetEdgeStructures(std::forward<EdgeStructuresT>(value));
304 return *this;
305 }
306 template <typename EdgeStructuresT = EdgeStructure>
307 GraphDataSummary& AddEdgeStructures(EdgeStructuresT&& value) {
308 m_edgeStructuresHasBeenSet = true;
309 m_edgeStructures.emplace_back(std::forward<EdgeStructuresT>(value));
310 return *this;
311 }
313 private:
314 long long m_numNodes{0};
315
316 long long m_numEdges{0};
317
318 long long m_numNodeLabels{0};
319
320 long long m_numEdgeLabels{0};
321
322 Aws::Vector<Aws::String> m_nodeLabels;
323
324 Aws::Vector<Aws::String> m_edgeLabels;
325
326 long long m_numNodeProperties{0};
327
328 long long m_numEdgeProperties{0};
329
331
333
334 long long m_totalNodePropertyValues{0};
335
336 long long m_totalEdgePropertyValues{0};
337
338 Aws::Vector<NodeStructure> m_nodeStructures;
339
340 Aws::Vector<EdgeStructure> m_edgeStructures;
341 bool m_numNodesHasBeenSet = false;
342 bool m_numEdgesHasBeenSet = false;
343 bool m_numNodeLabelsHasBeenSet = false;
344 bool m_numEdgeLabelsHasBeenSet = false;
345 bool m_nodeLabelsHasBeenSet = false;
346 bool m_edgeLabelsHasBeenSet = false;
347 bool m_numNodePropertiesHasBeenSet = false;
348 bool m_numEdgePropertiesHasBeenSet = false;
349 bool m_nodePropertiesHasBeenSet = false;
350 bool m_edgePropertiesHasBeenSet = false;
351 bool m_totalNodePropertyValuesHasBeenSet = false;
352 bool m_totalEdgePropertyValuesHasBeenSet = false;
353 bool m_nodeStructuresHasBeenSet = false;
354 bool m_edgeStructuresHasBeenSet = false;
355};
356
357} // namespace Model
358} // namespace NeptuneGraph
359} // namespace Aws
const Aws::Vector< NodeStructure > & GetNodeStructures() const
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetNodeProperties() const
GraphDataSummary & WithTotalEdgePropertyValues(long long value)
AWS_NEPTUNEGRAPH_API GraphDataSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
GraphDataSummary & WithNodeLabels(NodeLabelsT &&value)
const Aws::Vector< Aws::String > & GetNodeLabels() const
const Aws::Vector< Aws::String > & GetEdgeLabels() const
GraphDataSummary & WithNumEdgeProperties(long long value)
GraphDataSummary & WithEdgeProperties(EdgePropertiesT &&value)
GraphDataSummary & WithNumNodeProperties(long long value)
GraphDataSummary & AddEdgeLabels(EdgeLabelsT &&value)
AWS_NEPTUNEGRAPH_API GraphDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNodeProperties(NodePropertiesT &&value)
void SetEdgeProperties(EdgePropertiesT &&value)
GraphDataSummary & WithEdgeLabels(EdgeLabelsT &&value)
GraphDataSummary & WithTotalNodePropertyValues(long long value)
void SetEdgeStructures(EdgeStructuresT &&value)
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetEdgeProperties() const
GraphDataSummary & AddNodeProperties(NodePropertiesT &&value)
GraphDataSummary & AddEdgeProperties(EdgePropertiesT &&value)
GraphDataSummary & WithNodeProperties(NodePropertiesT &&value)
GraphDataSummary & WithNumEdgeLabels(long long value)
GraphDataSummary & WithEdgeStructures(EdgeStructuresT &&value)
GraphDataSummary & WithNodeStructures(NodeStructuresT &&value)
AWS_NEPTUNEGRAPH_API GraphDataSummary()=default
GraphDataSummary & WithNumEdges(long long value)
void SetNodeStructures(NodeStructuresT &&value)
GraphDataSummary & AddEdgeStructures(EdgeStructuresT &&value)
const Aws::Vector< EdgeStructure > & GetEdgeStructures() const
GraphDataSummary & WithNumNodes(long long value)
GraphDataSummary & WithNumNodeLabels(long long value)
GraphDataSummary & AddNodeStructures(NodeStructuresT &&value)
GraphDataSummary & AddNodeLabels(NodeLabelsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue