AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNodeProperties(const Aws::Vector<Aws::String>& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = value; }
58 inline void SetNodeProperties(Aws::Vector<Aws::String>&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties = std::move(value); }
59 inline NodeStructure& WithNodeProperties(const Aws::Vector<Aws::String>& value) { SetNodeProperties(value); return *this;}
60 inline NodeStructure& WithNodeProperties(Aws::Vector<Aws::String>&& value) { SetNodeProperties(std::move(value)); return *this;}
61 inline NodeStructure& AddNodeProperties(const Aws::String& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.push_back(value); return *this; }
62 inline NodeStructure& AddNodeProperties(Aws::String&& value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.push_back(std::move(value)); return *this; }
63 inline NodeStructure& AddNodeProperties(const char* value) { m_nodePropertiesHasBeenSet = true; m_nodeProperties.push_back(value); return *this; }
65
67
71 inline const Aws::Vector<Aws::String>& GetDistinctOutgoingEdgeLabels() const{ return m_distinctOutgoingEdgeLabels; }
72 inline bool DistinctOutgoingEdgeLabelsHasBeenSet() const { return m_distinctOutgoingEdgeLabelsHasBeenSet; }
73 inline void SetDistinctOutgoingEdgeLabels(const Aws::Vector<Aws::String>& value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels = value; }
74 inline void SetDistinctOutgoingEdgeLabels(Aws::Vector<Aws::String>&& value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels = std::move(value); }
77 inline NodeStructure& AddDistinctOutgoingEdgeLabels(const Aws::String& value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels.push_back(value); return *this; }
78 inline NodeStructure& AddDistinctOutgoingEdgeLabels(Aws::String&& value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels.push_back(std::move(value)); return *this; }
79 inline NodeStructure& AddDistinctOutgoingEdgeLabels(const char* value) { m_distinctOutgoingEdgeLabelsHasBeenSet = true; m_distinctOutgoingEdgeLabels.push_back(value); return *this; }
81 private:
82
83 long long m_count;
84 bool m_countHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_nodeProperties;
87 bool m_nodePropertiesHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_distinctOutgoingEdgeLabels;
90 bool m_distinctOutgoingEdgeLabelsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace neptunedata
95} // namespace Aws
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEDATA_API NodeStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeStructure & AddNodeProperties(const Aws::String &value)
void SetDistinctOutgoingEdgeLabels(Aws::Vector< Aws::String > &&value)
NodeStructure & AddNodeProperties(Aws::String &&value)
NodeStructure & WithCount(long long value)
NodeStructure & AddDistinctOutgoingEdgeLabels(Aws::String &&value)
NodeStructure & AddDistinctOutgoingEdgeLabels(const char *value)
NodeStructure & WithDistinctOutgoingEdgeLabels(Aws::Vector< Aws::String > &&value)
void SetNodeProperties(Aws::Vector< Aws::String > &&value)
NodeStructure & AddDistinctOutgoingEdgeLabels(const Aws::String &value)
NodeStructure & WithNodeProperties(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetNodeProperties() const
AWS_NEPTUNEDATA_API NodeStructure(Aws::Utils::Json::JsonView jsonValue)
NodeStructure & WithNodeProperties(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetDistinctOutgoingEdgeLabels() const
void SetDistinctOutgoingEdgeLabels(const Aws::Vector< Aws::String > &value)
NodeStructure & AddNodeProperties(const char *value)
void SetNodeProperties(const Aws::Vector< Aws::String > &value)
NodeStructure & WithDistinctOutgoingEdgeLabels(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue