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>
50 inline void SetCommitTimestampInMillis(
long long value) { m_commitTimestampInMillisHasBeenSet =
true; m_commitTimestampInMillis = value; }
60 template<
typename EventIdT = Aws::Map<Aws::String, Aws::String>>
61 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
62 template<
typename EventIdT = Aws::Map<Aws::String, Aws::String>>
64 template<
typename EventIdKeyT = Aws::String,
typename EventIdValueT = Aws::String>
66 m_eventIdHasBeenSet =
true; m_eventId.emplace(std::forward<EventIdKeyT>(key), std::forward<EventIdValueT>(value));
return *
this;
79 template<
typename DataT = SparqlData>
80 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
81 template<
typename DataT = SparqlData>
91 template<
typename OpT = Aws::String>
92 void SetOp(OpT&& value) { m_opHasBeenSet =
true; m_op = std::forward<OpT>(value); }
93 template<
typename OpT = Aws::String>
105 inline void SetIsLastOp(
bool value) { m_isLastOpHasBeenSet =
true; m_isLastOp = value; }
110 long long m_commitTimestampInMillis{0};
111 bool m_commitTimestampInMillisHasBeenSet =
false;
114 bool m_eventIdHasBeenSet =
false;
117 bool m_dataHasBeenSet =
false;
120 bool m_opHasBeenSet =
false;
122 bool m_isLastOp{
false};
123 bool m_isLastOpHasBeenSet =
false;
SparqlRecord & AddEventId(EventIdKeyT &&key, EventIdValueT &&value)
AWS_NEPTUNEDATA_API SparqlRecord()=default
bool DataHasBeenSet() const
bool CommitTimestampInMillisHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEventId() const
const Aws::String & GetOp() const
AWS_NEPTUNEDATA_API SparqlRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OpHasBeenSet() const
void SetCommitTimestampInMillis(long long value)
long long GetCommitTimestampInMillis() const
SparqlRecord & WithOp(OpT &&value)
AWS_NEPTUNEDATA_API SparqlRecord(Aws::Utils::Json::JsonView jsonValue)
const SparqlData & GetData() const
SparqlRecord & WithCommitTimestampInMillis(long long value)
void SetData(DataT &&value)
SparqlRecord & WithData(DataT &&value)
bool IsLastOpHasBeenSet() const
bool EventIdHasBeenSet() const
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventId(EventIdT &&value)
SparqlRecord & WithEventId(EventIdT &&value)
SparqlRecord & WithIsLastOp(bool value)
void SetIsLastOp(bool 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