AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GraphDataSummary.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_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/neptune-graph/model/NodeStructure.h>
12#include <aws/neptune-graph/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 NeptuneGraph
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_NEPTUNEGRAPH_API GraphDataSummary();
39 AWS_NEPTUNEGRAPH_API GraphDataSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NEPTUNEGRAPH_API GraphDataSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline long long GetNumNodes() const{ return m_numNodes; }
49 inline bool NumNodesHasBeenSet() const { return m_numNodesHasBeenSet; }
50 inline void SetNumNodes(long long value) { m_numNodesHasBeenSet = true; m_numNodes = value; }
51 inline GraphDataSummary& WithNumNodes(long long value) { SetNumNodes(value); return *this;}
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) { m_numEdgesHasBeenSet = true; m_numEdges = value; }
61 inline GraphDataSummary& WithNumEdges(long long value) { SetNumEdges(value); return *this;}
63
65
68 inline long long GetNumNodeLabels() const{ return m_numNodeLabels; }
69 inline bool NumNodeLabelsHasBeenSet() const { return m_numNodeLabelsHasBeenSet; }
70 inline void SetNumNodeLabels(long long value) { m_numNodeLabelsHasBeenSet = true; m_numNodeLabels = value; }
71 inline GraphDataSummary& WithNumNodeLabels(long long value) { SetNumNodeLabels(value); return *this;}
73
75
78 inline long long GetNumEdgeLabels() const{ return m_numEdgeLabels; }
79 inline bool NumEdgeLabelsHasBeenSet() const { return m_numEdgeLabelsHasBeenSet; }
80 inline void SetNumEdgeLabels(long long value) { m_numEdgeLabelsHasBeenSet = true; m_numEdgeLabels = value; }
81 inline GraphDataSummary& WithNumEdgeLabels(long long value) { SetNumEdgeLabels(value); return *this;}
83
85
88 inline const Aws::Vector<Aws::String>& GetNodeLabels() const{ return m_nodeLabels; }
89 inline bool NodeLabelsHasBeenSet() const { return m_nodeLabelsHasBeenSet; }
90 inline void SetNodeLabels(const Aws::Vector<Aws::String>& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels = value; }
91 inline void SetNodeLabels(Aws::Vector<Aws::String>&& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels = std::move(value); }
92 inline GraphDataSummary& WithNodeLabels(const Aws::Vector<Aws::String>& value) { SetNodeLabels(value); return *this;}
93 inline GraphDataSummary& WithNodeLabels(Aws::Vector<Aws::String>&& value) { SetNodeLabels(std::move(value)); return *this;}
94 inline GraphDataSummary& AddNodeLabels(const Aws::String& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels.push_back(value); return *this; }
95 inline GraphDataSummary& AddNodeLabels(Aws::String&& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels.push_back(std::move(value)); return *this; }
96 inline GraphDataSummary& AddNodeLabels(const char* value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels.push_back(value); return *this; }
98
100
103 inline const Aws::Vector<Aws::String>& GetEdgeLabels() const{ return m_edgeLabels; }
104 inline bool EdgeLabelsHasBeenSet() const { return m_edgeLabelsHasBeenSet; }
105 inline void SetEdgeLabels(const Aws::Vector<Aws::String>& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels = value; }
106 inline void SetEdgeLabels(Aws::Vector<Aws::String>&& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels = std::move(value); }
107 inline GraphDataSummary& WithEdgeLabels(const Aws::Vector<Aws::String>& value) { SetEdgeLabels(value); return *this;}
108 inline GraphDataSummary& WithEdgeLabels(Aws::Vector<Aws::String>&& value) { SetEdgeLabels(std::move(value)); return *this;}
109 inline GraphDataSummary& AddEdgeLabels(const Aws::String& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels.push_back(value); return *this; }
110 inline GraphDataSummary& AddEdgeLabels(Aws::String&& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels.push_back(std::move(value)); return *this; }
111 inline GraphDataSummary& AddEdgeLabels(const char* value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels.push_back(value); return *this; }
113
115
118 inline long long GetNumNodeProperties() const{ return m_numNodeProperties; }
119 inline bool NumNodePropertiesHasBeenSet() const { return m_numNodePropertiesHasBeenSet; }
120 inline void SetNumNodeProperties(long long value) { m_numNodePropertiesHasBeenSet = true; m_numNodeProperties = value; }
121 inline GraphDataSummary& WithNumNodeProperties(long long value) { SetNumNodeProperties(value); return *this;}
123
125
128 inline long long GetNumEdgeProperties() const{ return m_numEdgeProperties; }
129 inline bool NumEdgePropertiesHasBeenSet() const { return m_numEdgePropertiesHasBeenSet; }
130 inline void SetNumEdgeProperties(long long value) { m_numEdgePropertiesHasBeenSet = true; m_numEdgeProperties = value; }
131 inline GraphDataSummary& WithNumEdgeProperties(long long value) { SetNumEdgeProperties(value); return *this;}
133
135
139 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetNodeProperties() const{ return m_nodeProperties; }
140 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
141 inline void SetNodeProperties(const Aws::Vector<Aws::Map<Aws::String, long long>>& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = value; }
142 inline void SetNodeProperties(Aws::Vector<Aws::Map<Aws::String, long long>>&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = std::move(value); }
145 inline GraphDataSummary& AddNodeProperties(const Aws::Map<Aws::String, long long>& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.push_back(value); return *this; }
146 inline GraphDataSummary& AddNodeProperties(Aws::Map<Aws::String, long long>&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.push_back(std::move(value)); return *this; }
148
150
154 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetEdgeProperties() const{ return m_edgeProperties; }
155 inline bool EdgePropertiesHasBeenSet() const { return m_edgePropertiesHasBeenSet; }
156 inline void SetEdgeProperties(const Aws::Vector<Aws::Map<Aws::String, long long>>& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties = value; }
157 inline void SetEdgeProperties(Aws::Vector<Aws::Map<Aws::String, long long>>&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties = std::move(value); }
160 inline GraphDataSummary& AddEdgeProperties(const Aws::Map<Aws::String, long long>& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties.push_back(value); return *this; }
161 inline GraphDataSummary& AddEdgeProperties(Aws::Map<Aws::String, long long>&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties.push_back(std::move(value)); return *this; }
163
165
168 inline long long GetTotalNodePropertyValues() const{ return m_totalNodePropertyValues; }
169 inline bool TotalNodePropertyValuesHasBeenSet() const { return m_totalNodePropertyValuesHasBeenSet; }
170 inline void SetTotalNodePropertyValues(long long value) { m_totalNodePropertyValuesHasBeenSet = true; m_totalNodePropertyValues = value; }
171 inline GraphDataSummary& WithTotalNodePropertyValues(long long value) { SetTotalNodePropertyValues(value); return *this;}
173
175
178 inline long long GetTotalEdgePropertyValues() const{ return m_totalEdgePropertyValues; }
179 inline bool TotalEdgePropertyValuesHasBeenSet() const { return m_totalEdgePropertyValuesHasBeenSet; }
180 inline void SetTotalEdgePropertyValues(long long value) { m_totalEdgePropertyValuesHasBeenSet = true; m_totalEdgePropertyValues = value; }
181 inline GraphDataSummary& WithTotalEdgePropertyValues(long long value) { SetTotalEdgePropertyValues(value); return *this;}
183
185
189 inline const Aws::Vector<NodeStructure>& GetNodeStructures() const{ return m_nodeStructures; }
190 inline bool NodeStructuresHasBeenSet() const { return m_nodeStructuresHasBeenSet; }
191 inline void SetNodeStructures(const Aws::Vector<NodeStructure>& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures = value; }
192 inline void SetNodeStructures(Aws::Vector<NodeStructure>&& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures = std::move(value); }
194 inline GraphDataSummary& WithNodeStructures(Aws::Vector<NodeStructure>&& value) { SetNodeStructures(std::move(value)); return *this;}
195 inline GraphDataSummary& AddNodeStructures(const NodeStructure& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures.push_back(value); return *this; }
196 inline GraphDataSummary& AddNodeStructures(NodeStructure&& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures.push_back(std::move(value)); return *this; }
198
200
204 inline const Aws::Vector<EdgeStructure>& GetEdgeStructures() const{ return m_edgeStructures; }
205 inline bool EdgeStructuresHasBeenSet() const { return m_edgeStructuresHasBeenSet; }
206 inline void SetEdgeStructures(const Aws::Vector<EdgeStructure>& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures = value; }
207 inline void SetEdgeStructures(Aws::Vector<EdgeStructure>&& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures = std::move(value); }
209 inline GraphDataSummary& WithEdgeStructures(Aws::Vector<EdgeStructure>&& value) { SetEdgeStructures(std::move(value)); return *this;}
210 inline GraphDataSummary& AddEdgeStructures(const EdgeStructure& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures.push_back(value); return *this; }
211 inline GraphDataSummary& AddEdgeStructures(EdgeStructure&& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures.push_back(std::move(value)); return *this; }
213 private:
214
215 long long m_numNodes;
216 bool m_numNodesHasBeenSet = false;
217
218 long long m_numEdges;
219 bool m_numEdgesHasBeenSet = false;
220
221 long long m_numNodeLabels;
222 bool m_numNodeLabelsHasBeenSet = false;
223
224 long long m_numEdgeLabels;
225 bool m_numEdgeLabelsHasBeenSet = false;
226
227 Aws::Vector<Aws::String> m_nodeLabels;
228 bool m_nodeLabelsHasBeenSet = false;
229
230 Aws::Vector<Aws::String> m_edgeLabels;
231 bool m_edgeLabelsHasBeenSet = false;
232
233 long long m_numNodeProperties;
234 bool m_numNodePropertiesHasBeenSet = false;
235
236 long long m_numEdgeProperties;
237 bool m_numEdgePropertiesHasBeenSet = false;
238
240 bool m_nodePropertiesHasBeenSet = false;
241
243 bool m_edgePropertiesHasBeenSet = false;
244
245 long long m_totalNodePropertyValues;
246 bool m_totalNodePropertyValuesHasBeenSet = false;
247
248 long long m_totalEdgePropertyValues;
249 bool m_totalEdgePropertyValuesHasBeenSet = false;
250
251 Aws::Vector<NodeStructure> m_nodeStructures;
252 bool m_nodeStructuresHasBeenSet = false;
253
254 Aws::Vector<EdgeStructure> m_edgeStructures;
255 bool m_edgeStructuresHasBeenSet = false;
256 };
257
258} // namespace Model
259} // namespace NeptuneGraph
260} // namespace Aws
void SetNodeLabels(Aws::Vector< Aws::String > &&value)
const Aws::Vector< NodeStructure > & GetNodeStructures() const
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetNodeProperties() const
void SetEdgeProperties(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
GraphDataSummary & WithTotalEdgePropertyValues(long long value)
AWS_NEPTUNEGRAPH_API GraphDataSummary(Aws::Utils::Json::JsonView jsonValue)
GraphDataSummary & AddEdgeProperties(Aws::Map< Aws::String, long long > &&value)
void SetNodeProperties(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
void SetEdgeLabels(Aws::Vector< Aws::String > &&value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
GraphDataSummary & WithNodeLabels(const Aws::Vector< Aws::String > &value)
GraphDataSummary & WithEdgeStructures(const Aws::Vector< EdgeStructure > &value)
const Aws::Vector< Aws::String > & GetNodeLabels() const
GraphDataSummary & AddNodeProperties(const Aws::Map< Aws::String, long long > &value)
GraphDataSummary & AddEdgeStructures(EdgeStructure &&value)
const Aws::Vector< Aws::String > & GetEdgeLabels() const
GraphDataSummary & WithNumEdgeProperties(long long value)
GraphDataSummary & WithEdgeLabels(Aws::Vector< Aws::String > &&value)
void SetEdgeProperties(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
GraphDataSummary & WithNodeStructures(const Aws::Vector< NodeStructure > &value)
GraphDataSummary & WithNumNodeProperties(long long value)
GraphDataSummary & WithEdgeProperties(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
GraphDataSummary & AddEdgeLabels(const Aws::String &value)
GraphDataSummary & AddEdgeStructures(const EdgeStructure &value)
void SetNodeStructures(const Aws::Vector< NodeStructure > &value)
GraphDataSummary & AddEdgeLabels(const char *value)
GraphDataSummary & WithEdgeLabels(const Aws::Vector< Aws::String > &value)
AWS_NEPTUNEGRAPH_API GraphDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEdgeLabels(const Aws::Vector< Aws::String > &value)
GraphDataSummary & AddEdgeProperties(const Aws::Map< Aws::String, long long > &value)
GraphDataSummary & AddNodeStructures(NodeStructure &&value)
GraphDataSummary & WithEdgeStructures(Aws::Vector< EdgeStructure > &&value)
GraphDataSummary & AddNodeProperties(Aws::Map< Aws::String, long long > &&value)
GraphDataSummary & AddNodeLabels(Aws::String &&value)
GraphDataSummary & WithTotalNodePropertyValues(long long value)
void SetEdgeStructures(const Aws::Vector< EdgeStructure > &value)
GraphDataSummary & WithNodeProperties(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
GraphDataSummary & AddNodeLabels(const Aws::String &value)
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetEdgeProperties() const
void SetNodeLabels(const Aws::Vector< Aws::String > &value)
GraphDataSummary & WithNumEdgeLabels(long long value)
GraphDataSummary & WithNodeStructures(Aws::Vector< NodeStructure > &&value)
GraphDataSummary & WithNodeProperties(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
GraphDataSummary & AddEdgeLabels(Aws::String &&value)
void SetEdgeStructures(Aws::Vector< EdgeStructure > &&value)
GraphDataSummary & WithNumEdges(long long value)
GraphDataSummary & WithEdgeProperties(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
const Aws::Vector< EdgeStructure > & GetEdgeStructures() const
void SetNodeStructures(Aws::Vector< NodeStructure > &&value)
GraphDataSummary & AddNodeLabels(const char *value)
GraphDataSummary & WithNumNodes(long long value)
void SetNodeProperties(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
GraphDataSummary & AddNodeStructures(const NodeStructure &value)
GraphDataSummary & WithNumNodeLabels(long long value)
GraphDataSummary & WithNodeLabels(Aws::Vector< Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue