AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNodeLabels(const Aws::Vector<Aws::String>& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels = value; }
94 inline void SetNodeLabels(Aws::Vector<Aws::String>&& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels = std::move(value); }
95 inline PropertygraphSummary& WithNodeLabels(const Aws::Vector<Aws::String>& value) { SetNodeLabels(value); return *this;}
96 inline PropertygraphSummary& WithNodeLabels(Aws::Vector<Aws::String>&& value) { SetNodeLabels(std::move(value)); return *this;}
97 inline PropertygraphSummary& AddNodeLabels(const Aws::String& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels.push_back(value); return *this; }
98 inline PropertygraphSummary& AddNodeLabels(Aws::String&& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels.push_back(std::move(value)); return *this; }
99 inline PropertygraphSummary& AddNodeLabels(const char* value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels.push_back(value); return *this; }
101
103
106 inline const Aws::Vector<Aws::String>& GetEdgeLabels() const{ return m_edgeLabels; }
107 inline bool EdgeLabelsHasBeenSet() const { return m_edgeLabelsHasBeenSet; }
108 inline void SetEdgeLabels(const Aws::Vector<Aws::String>& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels = value; }
109 inline void SetEdgeLabels(Aws::Vector<Aws::String>&& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels = std::move(value); }
110 inline PropertygraphSummary& WithEdgeLabels(const Aws::Vector<Aws::String>& value) { SetEdgeLabels(value); return *this;}
111 inline PropertygraphSummary& WithEdgeLabels(Aws::Vector<Aws::String>&& value) { SetEdgeLabels(std::move(value)); return *this;}
112 inline PropertygraphSummary& AddEdgeLabels(const Aws::String& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels.push_back(value); return *this; }
113 inline PropertygraphSummary& AddEdgeLabels(Aws::String&& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels.push_back(std::move(value)); return *this; }
114 inline PropertygraphSummary& AddEdgeLabels(const char* value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels.push_back(value); return *this; }
116
118
122 inline long long GetNumNodeProperties() const{ return m_numNodeProperties; }
123 inline bool NumNodePropertiesHasBeenSet() const { return m_numNodePropertiesHasBeenSet; }
124 inline void SetNumNodeProperties(long long value) { m_numNodePropertiesHasBeenSet = true; m_numNodeProperties = value; }
125 inline PropertygraphSummary& WithNumNodeProperties(long long value) { SetNumNodeProperties(value); return *this;}
127
129
132 inline long long GetNumEdgeProperties() const{ return m_numEdgeProperties; }
133 inline bool NumEdgePropertiesHasBeenSet() const { return m_numEdgePropertiesHasBeenSet; }
134 inline void SetNumEdgeProperties(long long value) { m_numEdgePropertiesHasBeenSet = true; m_numEdgeProperties = value; }
135 inline PropertygraphSummary& WithNumEdgeProperties(long long value) { SetNumEdgeProperties(value); return *this;}
137
139
142 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetNodeProperties() const{ return m_nodeProperties; }
143 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
144 inline void SetNodeProperties(const Aws::Vector<Aws::Map<Aws::String, long long>>& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = value; }
145 inline void SetNodeProperties(Aws::Vector<Aws::Map<Aws::String, long long>>&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = std::move(value); }
148 inline PropertygraphSummary& AddNodeProperties(const Aws::Map<Aws::String, long long>& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.push_back(value); return *this; }
149 inline PropertygraphSummary& AddNodeProperties(Aws::Map<Aws::String, long long>&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.push_back(std::move(value)); return *this; }
151
153
157 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetEdgeProperties() const{ return m_edgeProperties; }
158 inline bool EdgePropertiesHasBeenSet() const { return m_edgePropertiesHasBeenSet; }
159 inline void SetEdgeProperties(const Aws::Vector<Aws::Map<Aws::String, long long>>& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties = value; }
160 inline void SetEdgeProperties(Aws::Vector<Aws::Map<Aws::String, long long>>&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties = std::move(value); }
163 inline PropertygraphSummary& AddEdgeProperties(const Aws::Map<Aws::String, long long>& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties.push_back(value); return *this; }
164 inline PropertygraphSummary& AddEdgeProperties(Aws::Map<Aws::String, long long>&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties.push_back(std::move(value)); return *this; }
166
168
171 inline long long GetTotalNodePropertyValues() const{ return m_totalNodePropertyValues; }
172 inline bool TotalNodePropertyValuesHasBeenSet() const { return m_totalNodePropertyValuesHasBeenSet; }
173 inline void SetTotalNodePropertyValues(long long value) { m_totalNodePropertyValuesHasBeenSet = true; m_totalNodePropertyValues = value; }
174 inline PropertygraphSummary& WithTotalNodePropertyValues(long long value) { SetTotalNodePropertyValues(value); return *this;}
176
178
181 inline long long GetTotalEdgePropertyValues() const{ return m_totalEdgePropertyValues; }
182 inline bool TotalEdgePropertyValuesHasBeenSet() const { return m_totalEdgePropertyValuesHasBeenSet; }
183 inline void SetTotalEdgePropertyValues(long long value) { m_totalEdgePropertyValuesHasBeenSet = true; m_totalEdgePropertyValues = value; }
184 inline PropertygraphSummary& WithTotalEdgePropertyValues(long long value) { SetTotalEdgePropertyValues(value); return *this;}
186
188
192 inline const Aws::Vector<NodeStructure>& GetNodeStructures() const{ return m_nodeStructures; }
193 inline bool NodeStructuresHasBeenSet() const { return m_nodeStructuresHasBeenSet; }
194 inline void SetNodeStructures(const Aws::Vector<NodeStructure>& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures = value; }
195 inline void SetNodeStructures(Aws::Vector<NodeStructure>&& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures = std::move(value); }
197 inline PropertygraphSummary& WithNodeStructures(Aws::Vector<NodeStructure>&& value) { SetNodeStructures(std::move(value)); return *this;}
198 inline PropertygraphSummary& AddNodeStructures(const NodeStructure& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures.push_back(value); return *this; }
199 inline PropertygraphSummary& AddNodeStructures(NodeStructure&& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures.push_back(std::move(value)); return *this; }
201
203
207 inline const Aws::Vector<EdgeStructure>& GetEdgeStructures() const{ return m_edgeStructures; }
208 inline bool EdgeStructuresHasBeenSet() const { return m_edgeStructuresHasBeenSet; }
209 inline void SetEdgeStructures(const Aws::Vector<EdgeStructure>& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures = value; }
210 inline void SetEdgeStructures(Aws::Vector<EdgeStructure>&& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures = std::move(value); }
212 inline PropertygraphSummary& WithEdgeStructures(Aws::Vector<EdgeStructure>&& value) { SetEdgeStructures(std::move(value)); return *this;}
213 inline PropertygraphSummary& AddEdgeStructures(const EdgeStructure& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures.push_back(value); return *this; }
214 inline PropertygraphSummary& AddEdgeStructures(EdgeStructure&& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures.push_back(std::move(value)); return *this; }
216 private:
217
218 long long m_numNodes;
219 bool m_numNodesHasBeenSet = false;
220
221 long long m_numEdges;
222 bool m_numEdgesHasBeenSet = false;
223
224 long long m_numNodeLabels;
225 bool m_numNodeLabelsHasBeenSet = false;
226
227 long long m_numEdgeLabels;
228 bool m_numEdgeLabelsHasBeenSet = false;
229
230 Aws::Vector<Aws::String> m_nodeLabels;
231 bool m_nodeLabelsHasBeenSet = false;
232
233 Aws::Vector<Aws::String> m_edgeLabels;
234 bool m_edgeLabelsHasBeenSet = false;
235
236 long long m_numNodeProperties;
237 bool m_numNodePropertiesHasBeenSet = false;
238
239 long long m_numEdgeProperties;
240 bool m_numEdgePropertiesHasBeenSet = false;
241
243 bool m_nodePropertiesHasBeenSet = false;
244
246 bool m_edgePropertiesHasBeenSet = false;
247
248 long long m_totalNodePropertyValues;
249 bool m_totalNodePropertyValuesHasBeenSet = false;
250
251 long long m_totalEdgePropertyValues;
252 bool m_totalEdgePropertyValuesHasBeenSet = false;
253
254 Aws::Vector<NodeStructure> m_nodeStructures;
255 bool m_nodeStructuresHasBeenSet = false;
256
257 Aws::Vector<EdgeStructure> m_edgeStructures;
258 bool m_edgeStructuresHasBeenSet = false;
259 };
260
261} // namespace Model
262} // namespace neptunedata
263} // namespace Aws
PropertygraphSummary & WithTotalNodePropertyValues(long long value)
PropertygraphSummary & AddEdgeStructures(const EdgeStructure &value)
AWS_NEPTUNEDATA_API PropertygraphSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertygraphSummary & AddEdgeProperties(const Aws::Map< Aws::String, long long > &value)
PropertygraphSummary & AddEdgeLabels(const Aws::String &value)
const Aws::Vector< NodeStructure > & GetNodeStructures() const
void SetNodeLabels(const Aws::Vector< Aws::String > &value)
PropertygraphSummary & WithNodeStructures(const Aws::Vector< NodeStructure > &value)
void SetEdgeStructures(const Aws::Vector< EdgeStructure > &value)
PropertygraphSummary & WithEdgeProperties(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
void SetNodeLabels(Aws::Vector< Aws::String > &&value)
PropertygraphSummary & WithNodeLabels(const Aws::Vector< Aws::String > &value)
void SetNodeStructures(const Aws::Vector< NodeStructure > &value)
void SetEdgeProperties(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
PropertygraphSummary & AddNodeLabels(const char *value)
PropertygraphSummary & AddEdgeLabels(Aws::String &&value)
PropertygraphSummary & WithNumEdgeLabels(long long value)
PropertygraphSummary & WithNodeStructures(Aws::Vector< NodeStructure > &&value)
PropertygraphSummary & WithEdgeLabels(const Aws::Vector< Aws::String > &value)
PropertygraphSummary & AddNodeLabels(const Aws::String &value)
PropertygraphSummary & WithEdgeStructures(const Aws::Vector< EdgeStructure > &value)
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetNodeProperties() const
PropertygraphSummary & AddEdgeStructures(EdgeStructure &&value)
PropertygraphSummary & WithNodeLabels(Aws::Vector< Aws::String > &&value)
PropertygraphSummary & AddNodeProperties(const Aws::Map< Aws::String, long long > &value)
void SetNodeProperties(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
PropertygraphSummary & WithEdgeLabels(Aws::Vector< Aws::String > &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetNodeLabels() const
PropertygraphSummary & AddNodeStructures(NodeStructure &&value)
const Aws::Vector< Aws::Map< Aws::String, long long > > & GetEdgeProperties() const
const Aws::Vector< Aws::String > & GetEdgeLabels() const
void SetEdgeProperties(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
PropertygraphSummary & WithNodeProperties(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
void SetEdgeLabels(Aws::Vector< Aws::String > &&value)
const Aws::Vector< EdgeStructure > & GetEdgeStructures() const
PropertygraphSummary & AddEdgeLabels(const char *value)
PropertygraphSummary & WithNumNodes(long long value)
AWS_NEPTUNEDATA_API PropertygraphSummary(Aws::Utils::Json::JsonView jsonValue)
PropertygraphSummary & AddEdgeProperties(Aws::Map< Aws::String, long long > &&value)
void SetEdgeStructures(Aws::Vector< EdgeStructure > &&value)
PropertygraphSummary & AddNodeProperties(Aws::Map< Aws::String, long long > &&value)
PropertygraphSummary & WithEdgeStructures(Aws::Vector< EdgeStructure > &&value)
PropertygraphSummary & AddNodeStructures(const NodeStructure &value)
PropertygraphSummary & AddNodeLabels(Aws::String &&value)
PropertygraphSummary & WithEdgeProperties(const Aws::Vector< Aws::Map< Aws::String, long long > > &value)
PropertygraphSummary & WithNumNodeLabels(long long value)
PropertygraphSummary & WithTotalEdgePropertyValues(long long value)
void SetEdgeLabels(const Aws::Vector< Aws::String > &value)
PropertygraphSummary & WithNumEdges(long long value)
PropertygraphSummary & WithNumNodeProperties(long long value)
PropertygraphSummary & WithNodeProperties(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
void SetNodeStructures(Aws::Vector< NodeStructure > &&value)
void SetNodeProperties(Aws::Vector< Aws::Map< Aws::String, long long > > &&value)
PropertygraphSummary & WithNumEdgeProperties(long long 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