AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertygraphRecord.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/neptunedata/model/PropertygraphData.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace neptunedata
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_NEPTUNEDATA_API PropertygraphRecord();
37 AWS_NEPTUNEDATA_API PropertygraphRecord(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline long long GetCommitTimestampInMillis() const{ return m_commitTimestampInMillis; }
48 inline bool CommitTimestampInMillisHasBeenSet() const { return m_commitTimestampInMillisHasBeenSet; }
49 inline void SetCommitTimestampInMillis(long long value) { m_commitTimestampInMillisHasBeenSet = true; m_commitTimestampInMillis = value; }
50 inline PropertygraphRecord& WithCommitTimestampInMillis(long long value) { SetCommitTimestampInMillis(value); return *this;}
52
54
57 inline const Aws::Map<Aws::String, Aws::String>& GetEventId() const{ return m_eventId; }
58 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
59 inline void SetEventId(const Aws::Map<Aws::String, Aws::String>& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
60 inline void SetEventId(Aws::Map<Aws::String, Aws::String>&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
62 inline PropertygraphRecord& WithEventId(Aws::Map<Aws::String, Aws::String>&& value) { SetEventId(std::move(value)); return *this;}
63 inline PropertygraphRecord& AddEventId(const Aws::String& key, const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(key, value); return *this; }
64 inline PropertygraphRecord& AddEventId(Aws::String&& key, const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(std::move(key), value); return *this; }
65 inline PropertygraphRecord& AddEventId(const Aws::String& key, Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(key, std::move(value)); return *this; }
66 inline PropertygraphRecord& AddEventId(Aws::String&& key, Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(std::move(key), std::move(value)); return *this; }
67 inline PropertygraphRecord& AddEventId(const char* key, Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(key, std::move(value)); return *this; }
68 inline PropertygraphRecord& AddEventId(Aws::String&& key, const char* value) { m_eventIdHasBeenSet = true; m_eventId.emplace(std::move(key), value); return *this; }
69 inline PropertygraphRecord& AddEventId(const char* key, const char* value) { m_eventIdHasBeenSet = true; m_eventId.emplace(key, value); return *this; }
71
73
76 inline const PropertygraphData& GetData() const{ return m_data; }
77 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
78 inline void SetData(const PropertygraphData& value) { m_dataHasBeenSet = true; m_data = value; }
79 inline void SetData(PropertygraphData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
80 inline PropertygraphRecord& WithData(const PropertygraphData& value) { SetData(value); return *this;}
81 inline PropertygraphRecord& WithData(PropertygraphData&& value) { SetData(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetOp() const{ return m_op; }
89 inline bool OpHasBeenSet() const { return m_opHasBeenSet; }
90 inline void SetOp(const Aws::String& value) { m_opHasBeenSet = true; m_op = value; }
91 inline void SetOp(Aws::String&& value) { m_opHasBeenSet = true; m_op = std::move(value); }
92 inline void SetOp(const char* value) { m_opHasBeenSet = true; m_op.assign(value); }
93 inline PropertygraphRecord& WithOp(const Aws::String& value) { SetOp(value); return *this;}
94 inline PropertygraphRecord& WithOp(Aws::String&& value) { SetOp(std::move(value)); return *this;}
95 inline PropertygraphRecord& WithOp(const char* value) { SetOp(value); return *this;}
97
99
104 inline bool GetIsLastOp() const{ return m_isLastOp; }
105 inline bool IsLastOpHasBeenSet() const { return m_isLastOpHasBeenSet; }
106 inline void SetIsLastOp(bool value) { m_isLastOpHasBeenSet = true; m_isLastOp = value; }
107 inline PropertygraphRecord& WithIsLastOp(bool value) { SetIsLastOp(value); return *this;}
109 private:
110
111 long long m_commitTimestampInMillis;
112 bool m_commitTimestampInMillisHasBeenSet = false;
113
115 bool m_eventIdHasBeenSet = false;
116
117 PropertygraphData m_data;
118 bool m_dataHasBeenSet = false;
119
120 Aws::String m_op;
121 bool m_opHasBeenSet = false;
122
123 bool m_isLastOp;
124 bool m_isLastOpHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace neptunedata
129} // namespace Aws
PropertygraphRecord & AddEventId(Aws::String &&key, Aws::String &&value)
void SetEventId(const Aws::Map< Aws::String, Aws::String > &value)
void SetEventId(Aws::Map< Aws::String, Aws::String > &&value)
PropertygraphRecord & AddEventId(const Aws::String &key, const Aws::String &value)
PropertygraphRecord & WithData(const PropertygraphData &value)
void SetData(const PropertygraphData &value)
PropertygraphRecord & WithIsLastOp(bool value)
AWS_NEPTUNEDATA_API PropertygraphRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertygraphRecord & AddEventId(Aws::String &&key, const char *value)
PropertygraphRecord & AddEventId(Aws::String &&key, const Aws::String &value)
PropertygraphRecord & AddEventId(const char *key, Aws::String &&value)
PropertygraphRecord & WithEventId(Aws::Map< Aws::String, Aws::String > &&value)
PropertygraphRecord & AddEventId(const char *key, const char *value)
PropertygraphRecord & WithOp(Aws::String &&value)
const PropertygraphData & GetData() const
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
PropertygraphRecord & AddEventId(const Aws::String &key, Aws::String &&value)
PropertygraphRecord & WithOp(const char *value)
PropertygraphRecord & WithOp(const Aws::String &value)
PropertygraphRecord & WithData(PropertygraphData &&value)
PropertygraphRecord & WithEventId(const Aws::Map< Aws::String, Aws::String > &value)
AWS_NEPTUNEDATA_API PropertygraphRecord(Aws::Utils::Json::JsonView jsonValue)
PropertygraphRecord & WithCommitTimestampInMillis(long long value)
const Aws::Map< Aws::String, Aws::String > & GetEventId() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue