AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SparqlRecord.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/SparqlData.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
35 {
36 public:
37 AWS_NEPTUNEDATA_API SparqlRecord();
38 AWS_NEPTUNEDATA_API SparqlRecord(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NEPTUNEDATA_API SparqlRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline long long GetCommitTimestampInMillis() const{ return m_commitTimestampInMillis; }
49 inline bool CommitTimestampInMillisHasBeenSet() const { return m_commitTimestampInMillisHasBeenSet; }
50 inline void SetCommitTimestampInMillis(long long value) { m_commitTimestampInMillisHasBeenSet = true; m_commitTimestampInMillis = value; }
51 inline SparqlRecord& WithCommitTimestampInMillis(long long value) { SetCommitTimestampInMillis(value); return *this;}
53
55
58 inline const Aws::Map<Aws::String, Aws::String>& GetEventId() const{ return m_eventId; }
59 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
60 inline void SetEventId(const Aws::Map<Aws::String, Aws::String>& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
61 inline void SetEventId(Aws::Map<Aws::String, Aws::String>&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
62 inline SparqlRecord& WithEventId(const Aws::Map<Aws::String, Aws::String>& value) { SetEventId(value); return *this;}
63 inline SparqlRecord& WithEventId(Aws::Map<Aws::String, Aws::String>&& value) { SetEventId(std::move(value)); return *this;}
64 inline SparqlRecord& AddEventId(const Aws::String& key, const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(key, value); return *this; }
65 inline SparqlRecord& AddEventId(Aws::String&& key, const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(std::move(key), value); return *this; }
66 inline SparqlRecord& AddEventId(const Aws::String& key, Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(key, std::move(value)); return *this; }
67 inline SparqlRecord& AddEventId(Aws::String&& key, Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(std::move(key), std::move(value)); return *this; }
68 inline SparqlRecord& AddEventId(const char* key, Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId.emplace(key, std::move(value)); return *this; }
69 inline SparqlRecord& AddEventId(Aws::String&& key, const char* value) { m_eventIdHasBeenSet = true; m_eventId.emplace(std::move(key), value); return *this; }
70 inline SparqlRecord& AddEventId(const char* key, const char* value) { m_eventIdHasBeenSet = true; m_eventId.emplace(key, value); return *this; }
72
74
80 inline const SparqlData& GetData() const{ return m_data; }
81 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
82 inline void SetData(const SparqlData& value) { m_dataHasBeenSet = true; m_data = value; }
83 inline void SetData(SparqlData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
84 inline SparqlRecord& WithData(const SparqlData& value) { SetData(value); return *this;}
85 inline SparqlRecord& WithData(SparqlData&& value) { SetData(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetOp() const{ return m_op; }
93 inline bool OpHasBeenSet() const { return m_opHasBeenSet; }
94 inline void SetOp(const Aws::String& value) { m_opHasBeenSet = true; m_op = value; }
95 inline void SetOp(Aws::String&& value) { m_opHasBeenSet = true; m_op = std::move(value); }
96 inline void SetOp(const char* value) { m_opHasBeenSet = true; m_op.assign(value); }
97 inline SparqlRecord& WithOp(const Aws::String& value) { SetOp(value); return *this;}
98 inline SparqlRecord& WithOp(Aws::String&& value) { SetOp(std::move(value)); return *this;}
99 inline SparqlRecord& WithOp(const char* value) { SetOp(value); return *this;}
101
103
108 inline bool GetIsLastOp() const{ return m_isLastOp; }
109 inline bool IsLastOpHasBeenSet() const { return m_isLastOpHasBeenSet; }
110 inline void SetIsLastOp(bool value) { m_isLastOpHasBeenSet = true; m_isLastOp = value; }
111 inline SparqlRecord& WithIsLastOp(bool value) { SetIsLastOp(value); return *this;}
113 private:
114
115 long long m_commitTimestampInMillis;
116 bool m_commitTimestampInMillisHasBeenSet = false;
117
119 bool m_eventIdHasBeenSet = false;
120
121 SparqlData m_data;
122 bool m_dataHasBeenSet = false;
123
124 Aws::String m_op;
125 bool m_opHasBeenSet = false;
126
127 bool m_isLastOp;
128 bool m_isLastOpHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace neptunedata
133} // namespace Aws
SparqlRecord & AddEventId(Aws::String &&key, const char *value)
void SetOp(Aws::String &&value)
SparqlRecord & WithEventId(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetEventId() const
SparqlRecord & WithData(SparqlData &&value)
void SetData(const SparqlData &value)
const Aws::String & GetOp() const
AWS_NEPTUNEDATA_API SparqlRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCommitTimestampInMillis(long long value)
void SetEventId(const Aws::Map< Aws::String, Aws::String > &value)
SparqlRecord & WithOp(Aws::String &&value)
long long GetCommitTimestampInMillis() const
void SetData(SparqlData &&value)
AWS_NEPTUNEDATA_API SparqlRecord(Aws::Utils::Json::JsonView jsonValue)
const SparqlData & GetData() const
SparqlRecord & AddEventId(Aws::String &&key, const Aws::String &value)
SparqlRecord & WithCommitTimestampInMillis(long long value)
AWS_NEPTUNEDATA_API SparqlRecord()
SparqlRecord & WithData(const SparqlData &value)
SparqlRecord & AddEventId(const char *key, const char *value)
void SetOp(const Aws::String &value)
SparqlRecord & WithOp(const Aws::String &value)
SparqlRecord & WithOp(const char *value)
SparqlRecord & AddEventId(const Aws::String &key, const Aws::String &value)
SparqlRecord & AddEventId(const char *key, Aws::String &&value)
SparqlRecord & AddEventId(const Aws::String &key, Aws::String &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventId(Aws::Map< Aws::String, Aws::String > &&value)
SparqlRecord & WithIsLastOp(bool value)
SparqlRecord & WithEventId(const Aws::Map< Aws::String, Aws::String > &value)
SparqlRecord & AddEventId(Aws::String &&key, Aws::String &&value)
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