AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline PropertygraphData& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline PropertygraphData& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline PropertygraphData& WithId(const char* value) { SetId(value); return *this;}
54
56
66 inline const Aws::String& GetType() const{ return m_type; }
67 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
68 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
69 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
70 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
71 inline PropertygraphData& WithType(const Aws::String& value) { SetType(value); return *this;}
72 inline PropertygraphData& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
73 inline PropertygraphData& WithType(const char* value) { SetType(value); return *this;}
75
77
80 inline const Aws::String& GetKey() const{ return m_key; }
81 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
82 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
83 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
84 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
85 inline PropertygraphData& WithKey(const Aws::String& value) { SetKey(value); return *this;}
86 inline PropertygraphData& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
87 inline PropertygraphData& WithKey(const char* value) { SetKey(value); return *this;}
89
91
95 inline Aws::Utils::DocumentView GetValue() const{ return m_value; }
96 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
97 inline void SetValue(const Aws::Utils::Document& value) { m_valueHasBeenSet = true; m_value = value; }
98 inline void SetValue(Aws::Utils::Document&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
99 inline PropertygraphData& WithValue(const Aws::Utils::Document& value) { SetValue(value); return *this;}
100 inline PropertygraphData& WithValue(Aws::Utils::Document&& value) { SetValue(std::move(value)); return *this;}
102
104
108 inline const Aws::String& GetFrom() const{ return m_from; }
109 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
110 inline void SetFrom(const Aws::String& value) { m_fromHasBeenSet = true; m_from = value; }
111 inline void SetFrom(Aws::String&& value) { m_fromHasBeenSet = true; m_from = std::move(value); }
112 inline void SetFrom(const char* value) { m_fromHasBeenSet = true; m_from.assign(value); }
113 inline PropertygraphData& WithFrom(const Aws::String& value) { SetFrom(value); return *this;}
114 inline PropertygraphData& WithFrom(Aws::String&& value) { SetFrom(std::move(value)); return *this;}
115 inline PropertygraphData& WithFrom(const char* value) { SetFrom(value); return *this;}
117
119
123 inline const Aws::String& GetTo() const{ return m_to; }
124 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
125 inline void SetTo(const Aws::String& value) { m_toHasBeenSet = true; m_to = value; }
126 inline void SetTo(Aws::String&& value) { m_toHasBeenSet = true; m_to = std::move(value); }
127 inline void SetTo(const char* value) { m_toHasBeenSet = true; m_to.assign(value); }
128 inline PropertygraphData& WithTo(const Aws::String& value) { SetTo(value); return *this;}
129 inline PropertygraphData& WithTo(Aws::String&& value) { SetTo(std::move(value)); return *this;}
130 inline PropertygraphData& WithTo(const char* value) { SetTo(value); return *this;}
132 private:
133
134 Aws::String m_id;
135 bool m_idHasBeenSet = false;
136
137 Aws::String m_type;
138 bool m_typeHasBeenSet = false;
139
140 Aws::String m_key;
141 bool m_keyHasBeenSet = false;
142
143 Aws::Utils::Document m_value;
144 bool m_valueHasBeenSet = false;
145
146 Aws::String m_from;
147 bool m_fromHasBeenSet = false;
148
149 Aws::String m_to;
150 bool m_toHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace neptunedata
155} // namespace Aws
void SetKey(const Aws::String &value)
PropertygraphData & WithId(const Aws::String &value)
PropertygraphData & WithFrom(Aws::String &&value)
PropertygraphData & WithFrom(const char *value)
PropertygraphData & WithKey(Aws::String &&value)
PropertygraphData & WithFrom(const Aws::String &value)
PropertygraphData & WithTo(const char *value)
Aws::Utils::DocumentView GetValue() const
PropertygraphData & WithType(const Aws::String &value)
AWS_NEPTUNEDATA_API PropertygraphData(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::Utils::Document &value)
PropertygraphData & WithId(const char *value)
PropertygraphData & WithKey(const Aws::String &value)
PropertygraphData & WithType(Aws::String &&value)
PropertygraphData & WithValue(Aws::Utils::Document &&value)
PropertygraphData & WithTo(Aws::String &&value)
void SetValue(Aws::Utils::Document &&value)
void SetType(const Aws::String &value)
AWS_NEPTUNEDATA_API PropertygraphData & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertygraphData & WithValue(const Aws::Utils::Document &value)
PropertygraphData & WithKey(const char *value)
PropertygraphData & WithTo(const Aws::String &value)
PropertygraphData & WithType(const char *value)
PropertygraphData & WithId(Aws::String &&value)
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