AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EdgeStructure.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
34 {
35 public:
36 AWS_NEPTUNEGRAPH_API EdgeStructure() = default;
37 AWS_NEPTUNEGRAPH_API EdgeStructure(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEGRAPH_API EdgeStructure& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline long long GetCount() const { return m_count; }
47 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
48 inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; }
49 inline EdgeStructure& WithCount(long long value) { SetCount(value); return *this;}
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) { m_edgePropertiesHasBeenSet = true; m_edgeProperties = std::forward<EdgePropertiesT>(value); }
60 template<typename EdgePropertiesT = Aws::Vector<Aws::String>>
61 EdgeStructure& WithEdgeProperties(EdgePropertiesT&& value) { SetEdgeProperties(std::forward<EdgePropertiesT>(value)); return *this;}
62 template<typename EdgePropertiesT = Aws::String>
63 EdgeStructure& AddEdgeProperties(EdgePropertiesT&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties.emplace_back(std::forward<EdgePropertiesT>(value)); return *this; }
65 private:
66
67 long long m_count{0};
68 bool m_countHasBeenSet = false;
69
70 Aws::Vector<Aws::String> m_edgeProperties;
71 bool m_edgePropertiesHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace NeptuneGraph
76} // 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