AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename NodeLabelsT = Aws::Vector<Aws::String>>
91 void SetNodeLabels(NodeLabelsT&& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels = std::forward<NodeLabelsT>(value); }
92 template<typename NodeLabelsT = Aws::Vector<Aws::String>>
93 GraphDataSummary& WithNodeLabels(NodeLabelsT&& value) { SetNodeLabels(std::forward<NodeLabelsT>(value)); return *this;}
94 template<typename NodeLabelsT = Aws::String>
95 GraphDataSummary& AddNodeLabels(NodeLabelsT&& value) { m_nodeLabelsHasBeenSet = true; m_nodeLabels.emplace_back(std::forward<NodeLabelsT>(value)); return *this; }
97
99
102 inline const Aws::Vector<Aws::String>& GetEdgeLabels() const { return m_edgeLabels; }
103 inline bool EdgeLabelsHasBeenSet() const { return m_edgeLabelsHasBeenSet; }
104 template<typename EdgeLabelsT = Aws::Vector<Aws::String>>
105 void SetEdgeLabels(EdgeLabelsT&& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels = std::forward<EdgeLabelsT>(value); }
106 template<typename EdgeLabelsT = Aws::Vector<Aws::String>>
107 GraphDataSummary& WithEdgeLabels(EdgeLabelsT&& value) { SetEdgeLabels(std::forward<EdgeLabelsT>(value)); return *this;}
108 template<typename EdgeLabelsT = Aws::String>
109 GraphDataSummary& AddEdgeLabels(EdgeLabelsT&& value) { m_edgeLabelsHasBeenSet = true; m_edgeLabels.emplace_back(std::forward<EdgeLabelsT>(value)); return *this; }
111
113
116 inline long long GetNumNodeProperties() const { return m_numNodeProperties; }
117 inline bool NumNodePropertiesHasBeenSet() const { return m_numNodePropertiesHasBeenSet; }
118 inline void SetNumNodeProperties(long long value) { m_numNodePropertiesHasBeenSet = true; m_numNodeProperties = value; }
119 inline GraphDataSummary& WithNumNodeProperties(long long value) { SetNumNodeProperties(value); return *this;}
121
123
126 inline long long GetNumEdgeProperties() const { return m_numEdgeProperties; }
127 inline bool NumEdgePropertiesHasBeenSet() const { return m_numEdgePropertiesHasBeenSet; }
128 inline void SetNumEdgeProperties(long long value) { m_numEdgePropertiesHasBeenSet = true; m_numEdgeProperties = value; }
129 inline GraphDataSummary& WithNumEdgeProperties(long long value) { SetNumEdgeProperties(value); return *this;}
131
133
137 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetNodeProperties() const { return m_nodeProperties; }
138 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
139 template<typename NodePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
140 void SetNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = std::forward<NodePropertiesT>(value); }
141 template<typename NodePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
142 GraphDataSummary& WithNodeProperties(NodePropertiesT&& value) { SetNodeProperties(std::forward<NodePropertiesT>(value)); return *this;}
143 template<typename NodePropertiesT = Aws::Map<Aws::String, long long>>
144 GraphDataSummary& AddNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.emplace_back(std::forward<NodePropertiesT>(value)); return *this; }
146
148
152 inline const Aws::Vector<Aws::Map<Aws::String, long long>>& GetEdgeProperties() const { return m_edgeProperties; }
153 inline bool EdgePropertiesHasBeenSet() const { return m_edgePropertiesHasBeenSet; }
154 template<typename EdgePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
155 void SetEdgeProperties(EdgePropertiesT&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties = std::forward<EdgePropertiesT>(value); }
156 template<typename EdgePropertiesT = Aws::Vector<Aws::Map<Aws::String, long long>>>
157 GraphDataSummary& WithEdgeProperties(EdgePropertiesT&& value) { SetEdgeProperties(std::forward<EdgePropertiesT>(value)); return *this;}
158 template<typename EdgePropertiesT = Aws::Map<Aws::String, long long>>
159 GraphDataSummary& AddEdgeProperties(EdgePropertiesT&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties.emplace_back(std::forward<EdgePropertiesT>(value)); return *this; }
161
163
166 inline long long GetTotalNodePropertyValues() const { return m_totalNodePropertyValues; }
167 inline bool TotalNodePropertyValuesHasBeenSet() const { return m_totalNodePropertyValuesHasBeenSet; }
168 inline void SetTotalNodePropertyValues(long long value) { m_totalNodePropertyValuesHasBeenSet = true; m_totalNodePropertyValues = value; }
169 inline GraphDataSummary& WithTotalNodePropertyValues(long long value) { SetTotalNodePropertyValues(value); return *this;}
171
173
176 inline long long GetTotalEdgePropertyValues() const { return m_totalEdgePropertyValues; }
177 inline bool TotalEdgePropertyValuesHasBeenSet() const { return m_totalEdgePropertyValuesHasBeenSet; }
178 inline void SetTotalEdgePropertyValues(long long value) { m_totalEdgePropertyValuesHasBeenSet = true; m_totalEdgePropertyValues = value; }
179 inline GraphDataSummary& WithTotalEdgePropertyValues(long long value) { SetTotalEdgePropertyValues(value); return *this;}
181
183
187 inline const Aws::Vector<NodeStructure>& GetNodeStructures() const { return m_nodeStructures; }
188 inline bool NodeStructuresHasBeenSet() const { return m_nodeStructuresHasBeenSet; }
189 template<typename NodeStructuresT = Aws::Vector<NodeStructure>>
190 void SetNodeStructures(NodeStructuresT&& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures = std::forward<NodeStructuresT>(value); }
191 template<typename NodeStructuresT = Aws::Vector<NodeStructure>>
192 GraphDataSummary& WithNodeStructures(NodeStructuresT&& value) { SetNodeStructures(std::forward<NodeStructuresT>(value)); return *this;}
193 template<typename NodeStructuresT = NodeStructure>
194 GraphDataSummary& AddNodeStructures(NodeStructuresT&& value) { m_nodeStructuresHasBeenSet = true; m_nodeStructures.emplace_back(std::forward<NodeStructuresT>(value)); return *this; }
196
198
202 inline const Aws::Vector<EdgeStructure>& GetEdgeStructures() const { return m_edgeStructures; }
203 inline bool EdgeStructuresHasBeenSet() const { return m_edgeStructuresHasBeenSet; }
204 template<typename EdgeStructuresT = Aws::Vector<EdgeStructure>>
205 void SetEdgeStructures(EdgeStructuresT&& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures = std::forward<EdgeStructuresT>(value); }
206 template<typename EdgeStructuresT = Aws::Vector<EdgeStructure>>
207 GraphDataSummary& WithEdgeStructures(EdgeStructuresT&& value) { SetEdgeStructures(std::forward<EdgeStructuresT>(value)); return *this;}
208 template<typename EdgeStructuresT = EdgeStructure>
209 GraphDataSummary& AddEdgeStructures(EdgeStructuresT&& value) { m_edgeStructuresHasBeenSet = true; m_edgeStructures.emplace_back(std::forward<EdgeStructuresT>(value)); return *this; }
211 private:
212
213 long long m_numNodes{0};
214 bool m_numNodesHasBeenSet = false;
215
216 long long m_numEdges{0};
217 bool m_numEdgesHasBeenSet = false;
218
219 long long m_numNodeLabels{0};
220 bool m_numNodeLabelsHasBeenSet = false;
221
222 long long m_numEdgeLabels{0};
223 bool m_numEdgeLabelsHasBeenSet = false;
224
225 Aws::Vector<Aws::String> m_nodeLabels;
226 bool m_nodeLabelsHasBeenSet = false;
227
228 Aws::Vector<Aws::String> m_edgeLabels;
229 bool m_edgeLabelsHasBeenSet = false;
230
231 long long m_numNodeProperties{0};
232 bool m_numNodePropertiesHasBeenSet = false;
233
234 long long m_numEdgeProperties{0};
235 bool m_numEdgePropertiesHasBeenSet = false;
236
238 bool m_nodePropertiesHasBeenSet = false;
239
241 bool m_edgePropertiesHasBeenSet = false;
242
243 long long m_totalNodePropertyValues{0};
244 bool m_totalNodePropertyValuesHasBeenSet = false;
245
246 long long m_totalEdgePropertyValues{0};
247 bool m_totalEdgePropertyValuesHasBeenSet = false;
248
249 Aws::Vector<NodeStructure> m_nodeStructures;
250 bool m_nodeStructuresHasBeenSet = false;
251
252 Aws::Vector<EdgeStructure> m_edgeStructures;
253 bool m_edgeStructuresHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace NeptuneGraph
258} // 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