AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
NodeStructure.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace NeptuneGraph
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNEGRAPH_API NodeStructure() = default;
36 AWS_NEPTUNEGRAPH_API NodeStructure(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEGRAPH_API NodeStructure& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetCount() const { return m_count; }
46 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
47 inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; }
48 inline NodeStructure& WithCount(long long value) { SetCount(value); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetNodeProperties() const { return m_nodeProperties; }
56 inline bool NodePropertiesHasBeenSet() const { return m_nodePropertiesHasBeenSet; }
57 template<typename NodePropertiesT = Aws::Vector<Aws::String>>
58 void SetNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = std::forward<NodePropertiesT>(value); }
59 template<typename NodePropertiesT = Aws::Vector<Aws::String>>
60 NodeStructure& WithNodeProperties(NodePropertiesT&& value) { SetNodeProperties(std::forward<NodePropertiesT>(value)); return *this;}
61 template<typename NodePropertiesT = Aws::String>
62 NodeStructure& AddNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.emplace_back(std::forward<NodePropertiesT>(value)); return *this; }
64
66
69 inline const Aws::Vector<Aws::String>& GetDistinctOutgoingEdgeLabels() const { return m_distinctOutgoingEdgeLabels; }
70 inline bool DistinctOutgoingEdgeLabelsHasBeenSet() const { return m_distinctOutgoingEdgeLabelsHasBeenSet; }
71 template<typename DistinctOutgoingEdgeLabelsT = Aws::Vector<Aws::String>>
72 void SetDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT&& value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels = std::forward<DistinctOutgoingEdgeLabelsT>(value); }
73 template<typename DistinctOutgoingEdgeLabelsT = Aws::Vector<Aws::String>>
74 NodeStructure& WithDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT&& value) { SetDistinctOutgoingEdgeLabels(std::forward<DistinctOutgoingEdgeLabelsT>(value)); return *this;}
75 template<typename DistinctOutgoingEdgeLabelsT = Aws::String>
76 NodeStructure& AddDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT&& value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels.emplace_back(std::forward<DistinctOutgoingEdgeLabelsT>(value)); return *this; }
78 private:
79
80 long long m_count{0};
81 bool m_countHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_nodeProperties;
84 bool m_nodePropertiesHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_distinctOutgoingEdgeLabels;
87 bool m_distinctOutgoingEdgeLabelsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace NeptuneGraph
92} // namespace Aws
NodeStructure & AddNodeProperties(NodePropertiesT &&value)
NodeStructure & AddDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT &&value)
void SetNodeProperties(NodePropertiesT &&value)
const Aws::Vector< Aws::String > & GetDistinctOutgoingEdgeLabels() const
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
NodeStructure & WithCount(long long value)
NodeStructure & WithDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT &&value)
AWS_NEPTUNEGRAPH_API NodeStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API NodeStructure()=default
AWS_NEPTUNEGRAPH_API NodeStructure(Aws::Utils::Json::JsonView jsonValue)
void SetDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT &&value)
NodeStructure & WithNodeProperties(NodePropertiesT &&value)
const Aws::Vector< Aws::String > & GetNodeProperties() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue