AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PropertygraphData.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.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 PropertygraphData() = default;
36 AWS_NEPTUNEDATA_API PropertygraphData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 PropertygraphData& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
64 inline const Aws::String& GetType() const { return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 template<typename TypeT = Aws::String>
67 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
68 template<typename TypeT = Aws::String>
69 PropertygraphData& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
71
73
76 inline const Aws::String& GetKey() const { return m_key; }
77 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
78 template<typename KeyT = Aws::String>
79 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
80 template<typename KeyT = Aws::String>
81 PropertygraphData& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
83
85
89 inline Aws::Utils::DocumentView GetValue() const { return m_value; }
90 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
91 template<typename ValueT = Aws::Utils::Document>
92 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
93 template<typename ValueT = Aws::Utils::Document>
94 PropertygraphData& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
96
98
102 inline const Aws::String& GetFrom() const { return m_from; }
103 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
104 template<typename FromT = Aws::String>
105 void SetFrom(FromT&& value) { m_fromHasBeenSet = true; m_from = std::forward<FromT>(value); }
106 template<typename FromT = Aws::String>
107 PropertygraphData& WithFrom(FromT&& value) { SetFrom(std::forward<FromT>(value)); return *this;}
109
111
115 inline const Aws::String& GetTo() const { return m_to; }
116 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
117 template<typename ToT = Aws::String>
118 void SetTo(ToT&& value) { m_toHasBeenSet = true; m_to = std::forward<ToT>(value); }
119 template<typename ToT = Aws::String>
120 PropertygraphData& WithTo(ToT&& value) { SetTo(std::forward<ToT>(value)); return *this;}
122 private:
123
124 Aws::String m_id;
125 bool m_idHasBeenSet = false;
126
127 Aws::String m_type;
128 bool m_typeHasBeenSet = false;
129
130 Aws::String m_key;
131 bool m_keyHasBeenSet = false;
132
133 Aws::Utils::Document m_value;
134 bool m_valueHasBeenSet = false;
135
136 Aws::String m_from;
137 bool m_fromHasBeenSet = false;
138
139 Aws::String m_to;
140 bool m_toHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace neptunedata
145} // namespace Aws
PropertygraphData & WithValue(ValueT &&value)
PropertygraphData & WithTo(ToT &&value)
Aws::Utils::DocumentView GetValue() const
AWS_NEPTUNEDATA_API PropertygraphData(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEDATA_API PropertygraphData & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertygraphData & WithKey(KeyT &&value)
PropertygraphData & WithFrom(FromT &&value)
PropertygraphData & WithType(TypeT &&value)
PropertygraphData & WithId(IdT &&value)
AWS_NEPTUNEDATA_API PropertygraphData()=default
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue