7#include <aws/neptunedata/Neptunedata_EXPORTS.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/model/PropertygraphRecord.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
46 template<
typename LastEventIdT = Aws::Map<Aws::String, Aws::String>>
47 void SetLastEventId(LastEventIdT&& value) { m_lastEventIdHasBeenSet =
true; m_lastEventId = std::forward<LastEventIdT>(value); }
48 template<
typename LastEventIdT = Aws::Map<Aws::String, Aws::String>>
50 template<
typename LastEventIdKeyT = Aws::String,
typename LastEventIdValueT = Aws::String>
52 m_lastEventIdHasBeenSet =
true; m_lastEventId.emplace(std::forward<LastEventIdKeyT>(key), std::forward<LastEventIdValueT>(value));
return *
this;
72 template<
typename FormatT = Aws::String>
73 void SetFormat(FormatT&& value) { m_formatHasBeenSet =
true; m_format = std::forward<FormatT>(value); }
74 template<
typename FormatT = Aws::String>
84 template<
typename RecordsT = Aws::Vector<PropertygraphRecord>>
85 void SetRecords(RecordsT&& value) { m_recordsHasBeenSet =
true; m_records = std::forward<RecordsT>(value); }
86 template<
typename RecordsT = Aws::Vector<PropertygraphRecord>>
88 template<
typename RecordsT = PropertygraphRecord>
97 inline void SetTotalRecords(
int value) { m_totalRecordsHasBeenSet =
true; m_totalRecords = value; }
104 template<
typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
106 template<
typename RequestIdT = Aws::String>
112 bool m_lastEventIdHasBeenSet =
false;
114 long long m_lastTrxTimestampInMillis{0};
115 bool m_lastTrxTimestampInMillisHasBeenSet =
false;
118 bool m_formatHasBeenSet =
false;
121 bool m_recordsHasBeenSet =
false;
123 int m_totalRecords{0};
124 bool m_totalRecordsHasBeenSet =
false;
127 bool m_requestIdHasBeenSet =
false;
AWS_NEPTUNEDATA_API GetPropertygraphStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPropertygraphStreamResult & AddLastEventId(LastEventIdKeyT &&key, LastEventIdValueT &&value)
GetPropertygraphStreamResult & WithFormat(FormatT &&value)
void SetRecords(RecordsT &&value)
void SetTotalRecords(int value)
GetPropertygraphStreamResult & AddRecords(RecordsT &&value)
void SetFormat(FormatT &&value)
long long GetLastTrxTimestampInMillis() const
const Aws::String & GetRequestId() const
AWS_NEPTUNEDATA_API GetPropertygraphStreamResult()=default
GetPropertygraphStreamResult & WithLastEventId(LastEventIdT &&value)
void SetLastTrxTimestampInMillis(long long value)
GetPropertygraphStreamResult & WithLastTrxTimestampInMillis(long long value)
int GetTotalRecords() const
void SetRequestId(RequestIdT &&value)
const Aws::Vector< PropertygraphRecord > & GetRecords() const
GetPropertygraphStreamResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetFormat() const
AWS_NEPTUNEDATA_API GetPropertygraphStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPropertygraphStreamResult & WithTotalRecords(int value)
void SetLastEventId(LastEventIdT &&value)
GetPropertygraphStreamResult & WithRecords(RecordsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetLastEventId() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue