AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EdgeStructure.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 EdgeStructure() = default;
36 AWS_NEPTUNEDATA_API EdgeStructure(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEDATA_API EdgeStructure& 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 EdgeStructure& WithCount(long long value) { SetCount(value); return *this;}
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) { m_edgePropertiesHasBeenSet = true; m_edgeProperties = std::forward<EdgePropertiesT>(value); }
59 template<typename EdgePropertiesT = Aws::Vector<Aws::String>>
60 EdgeStructure& WithEdgeProperties(EdgePropertiesT&& value) { SetEdgeProperties(std::forward<EdgePropertiesT>(value)); return *this;}
61 template<typename EdgePropertiesT = Aws::String>
62 EdgeStructure& AddEdgeProperties(EdgePropertiesT&& value) { m_edgePropertiesHasBeenSet = true; m_edgeProperties.emplace_back(std::forward<EdgePropertiesT>(value)); return *this; }
64 private:
65
66 long long m_count{0};
67 bool m_countHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_edgeProperties;
70 bool m_edgePropertiesHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace neptunedata
75} // 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