AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EdgeStructure.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NeptuneGraph {
21namespace Model {
22
30 public:
31 AWS_NEPTUNEGRAPH_API EdgeStructure() = default;
32 AWS_NEPTUNEGRAPH_API EdgeStructure(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NEPTUNEGRAPH_API EdgeStructure& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline long long GetCount() const { return m_count; }
41 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
42 inline void SetCount(long long value) {
43 m_countHasBeenSet = true;
44 m_count = value;
45 }
46 inline EdgeStructure& WithCount(long long value) {
47 SetCount(value);
48 return *this;
49 }
51
53
56 inline const Aws::Vector<Aws::String>& GetEdgeProperties() const { return m_edgeProperties; }
57 inline bool EdgePropertiesHasBeenSet() const { return m_edgePropertiesHasBeenSet; }
58 template <typename EdgePropertiesT = Aws::Vector<Aws::String>>
59 void SetEdgeProperties(EdgePropertiesT&& value) {
60 m_edgePropertiesHasBeenSet = true;
61 m_edgeProperties = std::forward<EdgePropertiesT>(value);
62 }
63 template <typename EdgePropertiesT = Aws::Vector<Aws::String>>
64 EdgeStructure& WithEdgeProperties(EdgePropertiesT&& value) {
65 SetEdgeProperties(std::forward<EdgePropertiesT>(value));
66 return *this;
67 }
68 template <typename EdgePropertiesT = Aws::String>
69 EdgeStructure& AddEdgeProperties(EdgePropertiesT&& value) {
70 m_edgePropertiesHasBeenSet = true;
71 m_edgeProperties.emplace_back(std::forward<EdgePropertiesT>(value));
72 return *this;
73 }
75 private:
76 long long m_count{0};
77
78 Aws::Vector<Aws::String> m_edgeProperties;
79 bool m_countHasBeenSet = false;
80 bool m_edgePropertiesHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace NeptuneGraph
85} // namespace Aws
void SetEdgeProperties(EdgePropertiesT &&value)
EdgeStructure & WithCount(long long value)
const Aws::Vector< Aws::String > & GetEdgeProperties() const
AWS_NEPTUNEGRAPH_API EdgeStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API EdgeStructure(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
EdgeStructure & AddEdgeProperties(EdgePropertiesT &&value)
AWS_NEPTUNEGRAPH_API EdgeStructure()=default
EdgeStructure & WithEdgeProperties(EdgePropertiesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue