7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptunedata/Neptunedata_EXPORTS.h>
12#include <aws/neptunedata/model/SparqlRecord.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace neptunedata {
41 template <
typename LastEventIdT = Aws::Map<Aws::String, Aws::String>>
43 m_lastEventIdHasBeenSet =
true;
44 m_lastEventId = std::forward<LastEventIdT>(value);
46 template <
typename LastEventIdT = Aws::Map<Aws::String, Aws::String>>
51 template <
typename LastEventIdKeyT = Aws::String,
typename LastEventIdValueT = Aws::String>
53 m_lastEventIdHasBeenSet =
true;
54 m_lastEventId.emplace(std::forward<LastEventIdKeyT>(key), std::forward<LastEventIdValueT>(value));
66 m_lastTrxTimestampInMillisHasBeenSet =
true;
67 m_lastTrxTimestampInMillis = value;
81 template <
typename FormatT = Aws::String>
83 m_formatHasBeenSet =
true;
84 m_format = std::forward<FormatT>(value);
86 template <
typename FormatT = Aws::String>
99 template <
typename RecordsT = Aws::Vector<SparqlRecord>>
101 m_recordsHasBeenSet =
true;
102 m_records = std::forward<RecordsT>(value);
104 template <
typename RecordsT = Aws::Vector<SparqlRecord>>
109 template <
typename RecordsT = SparqlRecord>
111 m_recordsHasBeenSet =
true;
112 m_records.emplace_back(std::forward<RecordsT>(value));
123 m_totalRecordsHasBeenSet =
true;
124 m_totalRecords = value;
135 template <
typename RequestIdT = Aws::String>
137 m_requestIdHasBeenSet =
true;
138 m_requestId = std::forward<RequestIdT>(value);
140 template <
typename RequestIdT = Aws::String>
151 long long m_lastTrxTimestampInMillis{0};
157 int m_totalRecords{0};
161 bool m_lastEventIdHasBeenSet =
false;
162 bool m_lastTrxTimestampInMillisHasBeenSet =
false;
163 bool m_formatHasBeenSet =
false;
164 bool m_recordsHasBeenSet =
false;
165 bool m_totalRecordsHasBeenSet =
false;
166 bool m_requestIdHasBeenSet =
false;
GetSparqlStreamResult & WithLastTrxTimestampInMillis(long long value)
GetSparqlStreamResult & WithFormat(FormatT &&value)
int GetTotalRecords() const
void SetLastEventId(LastEventIdT &&value)
GetSparqlStreamResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetLastEventId() const
void SetFormat(FormatT &&value)
void SetRequestId(RequestIdT &&value)
void SetLastTrxTimestampInMillis(long long value)
GetSparqlStreamResult & AddRecords(RecordsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetSparqlStreamResult & WithRecords(RecordsT &&value)
const Aws::Vector< SparqlRecord > & GetRecords() const
void SetRecords(RecordsT &&value)
GetSparqlStreamResult & AddLastEventId(LastEventIdKeyT &&key, LastEventIdValueT &&value)
AWS_NEPTUNEDATA_API GetSparqlStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NEPTUNEDATA_API GetSparqlStreamResult()=default
long long GetLastTrxTimestampInMillis() const
const Aws::String & GetRequestId() const
GetSparqlStreamResult & WithTotalRecords(int value)
AWS_NEPTUNEDATA_API GetSparqlStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetFormat() const
GetSparqlStreamResult & WithLastEventId(LastEventIdT &&value)
void SetTotalRecords(int 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue