AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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/neptunedata/Neptunedata_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace neptunedata {
21namespace Model {
22
29 public:
30 AWS_NEPTUNEDATA_API EdgeStructure() = default;
31 AWS_NEPTUNEDATA_API EdgeStructure(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NEPTUNEDATA_API EdgeStructure& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline long long GetCount() const { return m_count; }
40 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
41 inline void SetCount(long long value) {
42 m_countHasBeenSet = true;
43 m_count = value;
44 }
45 inline EdgeStructure& WithCount(long long value) {
46 SetCount(value);
47 return *this;
48 }
50
52
55 inline const Aws::Vector<Aws::String>& GetEdgeProperties() const { return m_edgeProperties; }
56 inline bool EdgePropertiesHasBeenSet() const { return m_edgePropertiesHasBeenSet; }
57 template <typename EdgePropertiesT = Aws::Vector<Aws::String>>
58 void SetEdgeProperties(EdgePropertiesT&& value) {
59 m_edgePropertiesHasBeenSet = true;
60 m_edgeProperties = std::forward<EdgePropertiesT>(value);
61 }
62 template <typename EdgePropertiesT = Aws::Vector<Aws::String>>
63 EdgeStructure& WithEdgeProperties(EdgePropertiesT&& value) {
64 SetEdgeProperties(std::forward<EdgePropertiesT>(value));
65 return *this;
66 }
67 template <typename EdgePropertiesT = Aws::String>
68 EdgeStructure& AddEdgeProperties(EdgePropertiesT&& value) {
69 m_edgePropertiesHasBeenSet = true;
70 m_edgeProperties.emplace_back(std::forward<EdgePropertiesT>(value));
71 return *this;
72 }
74 private:
75 long long m_count{0};
76
77 Aws::Vector<Aws::String> m_edgeProperties;
78 bool m_countHasBeenSet = false;
79 bool m_edgePropertiesHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace neptunedata
84} // namespace Aws
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NEPTUNEDATA_API EdgeStructure & operator=(Aws::Utils::Json::JsonView jsonValue)
EdgeStructure & AddEdgeProperties(EdgePropertiesT &&value)
EdgeStructure & WithEdgeProperties(EdgePropertiesT &&value)
AWS_NEPTUNEDATA_API EdgeStructure(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEdgeProperties() const
EdgeStructure & WithCount(long long value)
void SetEdgeProperties(EdgePropertiesT &&value)
AWS_NEPTUNEDATA_API EdgeStructure()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue