AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NodeStructure.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace neptunedata
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNEDATA_API NodeStructure() = default;
36 AWS_NEPTUNEDATA_API NodeStructure(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEDATA_API NodeStructure& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEDATA_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
70 inline const Aws::Vector<Aws::String>& GetDistinctOutgoingEdgeLabels() const { return m_distinctOutgoingEdgeLabels; }
71 inline bool DistinctOutgoingEdgeLabelsHasBeenSet() const { return m_distinctOutgoingEdgeLabelsHasBeenSet; }
72 template<typename DistinctOutgoingEdgeLabelsT = Aws::Vector<Aws::String>>
73 void SetDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT&& value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels = std::forward<DistinctOutgoingEdgeLabelsT>(value); }
74 template<typename DistinctOutgoingEdgeLabelsT = Aws::Vector<Aws::String>>
75 NodeStructure& WithDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT&& value) { SetDistinctOutgoingEdgeLabels(std::forward<DistinctOutgoingEdgeLabelsT>(value)); return *this;}
76 template<typename DistinctOutgoingEdgeLabelsT = Aws::String>
77 NodeStructure& AddDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT&& value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels.emplace_back(std::forward<DistinctOutgoingEdgeLabelsT>(value)); return *this; }
79 private:
80
81 long long m_count{0};
82 bool m_countHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_nodeProperties;
85 bool m_nodePropertiesHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_distinctOutgoingEdgeLabels;
88 bool m_distinctOutgoingEdgeLabelsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace neptunedata
93} // namespace Aws
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEDATA_API NodeStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEDATA_API NodeStructure()=default
void SetNodeProperties(NodePropertiesT &&value)
NodeStructure & WithDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT &&value)
NodeStructure & WithCount(long long value)
NodeStructure & WithNodeProperties(NodePropertiesT &&value)
const Aws::Vector< Aws::String > & GetNodeProperties() const
NodeStructure & AddNodeProperties(NodePropertiesT &&value)
AWS_NEPTUNEDATA_API NodeStructure(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetDistinctOutgoingEdgeLabels() const
NodeStructure & AddDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT &&value)
void SetDistinctOutgoingEdgeLabels(DistinctOutgoingEdgeLabelsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue