AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSparqlStreamResult.h
1
6#pragma once
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/SparqlRecord.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace neptunedata
27{
28namespace Model
29{
31 {
32 public:
33 AWS_NEPTUNEDATA_API GetSparqlStreamResult();
36
37
39
45 inline const Aws::Map<Aws::String, Aws::String>& GetLastEventId() const{ return m_lastEventId; }
46 inline void SetLastEventId(const Aws::Map<Aws::String, Aws::String>& value) { m_lastEventId = value; }
47 inline void SetLastEventId(Aws::Map<Aws::String, Aws::String>&& value) { m_lastEventId = std::move(value); }
50 inline GetSparqlStreamResult& AddLastEventId(const Aws::String& key, const Aws::String& value) { m_lastEventId.emplace(key, value); return *this; }
51 inline GetSparqlStreamResult& AddLastEventId(Aws::String&& key, const Aws::String& value) { m_lastEventId.emplace(std::move(key), value); return *this; }
52 inline GetSparqlStreamResult& AddLastEventId(const Aws::String& key, Aws::String&& value) { m_lastEventId.emplace(key, std::move(value)); return *this; }
53 inline GetSparqlStreamResult& AddLastEventId(Aws::String&& key, Aws::String&& value) { m_lastEventId.emplace(std::move(key), std::move(value)); return *this; }
54 inline GetSparqlStreamResult& AddLastEventId(const char* key, Aws::String&& value) { m_lastEventId.emplace(key, std::move(value)); return *this; }
55 inline GetSparqlStreamResult& AddLastEventId(Aws::String&& key, const char* value) { m_lastEventId.emplace(std::move(key), value); return *this; }
56 inline GetSparqlStreamResult& AddLastEventId(const char* key, const char* value) { m_lastEventId.emplace(key, value); return *this; }
58
60
64 inline long long GetLastTrxTimestampInMillis() const{ return m_lastTrxTimestampInMillis; }
65 inline void SetLastTrxTimestampInMillis(long long value) { m_lastTrxTimestampInMillis = value; }
66 inline GetSparqlStreamResult& WithLastTrxTimestampInMillis(long long value) { SetLastTrxTimestampInMillis(value); return *this;}
68
70
74 inline const Aws::String& GetFormat() const{ return m_format; }
75 inline void SetFormat(const Aws::String& value) { m_format = value; }
76 inline void SetFormat(Aws::String&& value) { m_format = std::move(value); }
77 inline void SetFormat(const char* value) { m_format.assign(value); }
78 inline GetSparqlStreamResult& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
79 inline GetSparqlStreamResult& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
80 inline GetSparqlStreamResult& WithFormat(const char* value) { SetFormat(value); return *this;}
82
84
88 inline const Aws::Vector<SparqlRecord>& GetRecords() const{ return m_records; }
89 inline void SetRecords(const Aws::Vector<SparqlRecord>& value) { m_records = value; }
90 inline void SetRecords(Aws::Vector<SparqlRecord>&& value) { m_records = std::move(value); }
91 inline GetSparqlStreamResult& WithRecords(const Aws::Vector<SparqlRecord>& value) { SetRecords(value); return *this;}
92 inline GetSparqlStreamResult& WithRecords(Aws::Vector<SparqlRecord>&& value) { SetRecords(std::move(value)); return *this;}
93 inline GetSparqlStreamResult& AddRecords(const SparqlRecord& value) { m_records.push_back(value); return *this; }
94 inline GetSparqlStreamResult& AddRecords(SparqlRecord&& value) { m_records.push_back(std::move(value)); return *this; }
96
98
101 inline int GetTotalRecords() const{ return m_totalRecords; }
102 inline void SetTotalRecords(int value) { m_totalRecords = value; }
103 inline GetSparqlStreamResult& WithTotalRecords(int value) { SetTotalRecords(value); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const{ return m_requestId; }
109 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
110 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
111 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
112 inline GetSparqlStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline GetSparqlStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline GetSparqlStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
116 private:
117
119
120 long long m_lastTrxTimestampInMillis;
121
122 Aws::String m_format;
123
125
126 int m_totalRecords;
127
128 Aws::String m_requestId;
129 };
130
131} // namespace Model
132} // namespace neptunedata
133} // namespace Aws
GetSparqlStreamResult & WithLastTrxTimestampInMillis(long long value)
GetSparqlStreamResult & AddLastEventId(Aws::String &&key, const char *value)
GetSparqlStreamResult & WithRequestId(Aws::String &&value)
GetSparqlStreamResult & WithRequestId(const char *value)
GetSparqlStreamResult & AddRecords(const SparqlRecord &value)
GetSparqlStreamResult & WithFormat(Aws::String &&value)
GetSparqlStreamResult & AddLastEventId(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetLastEventId() const
GetSparqlStreamResult & WithFormat(const Aws::String &value)
GetSparqlStreamResult & WithRequestId(const Aws::String &value)
GetSparqlStreamResult & WithRecords(const Aws::Vector< SparqlRecord > &value)
GetSparqlStreamResult & AddLastEventId(const char *key, const char *value)
GetSparqlStreamResult & WithFormat(const char *value)
const Aws::Vector< SparqlRecord > & GetRecords() const
GetSparqlStreamResult & AddLastEventId(const Aws::String &key, Aws::String &&value)
GetSparqlStreamResult & AddLastEventId(const Aws::String &key, const Aws::String &value)
AWS_NEPTUNEDATA_API GetSparqlStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastEventId(Aws::Map< Aws::String, Aws::String > &&value)
GetSparqlStreamResult & WithLastEventId(const Aws::Map< Aws::String, Aws::String > &value)
GetSparqlStreamResult & WithRecords(Aws::Vector< SparqlRecord > &&value)
GetSparqlStreamResult & WithLastEventId(Aws::Map< Aws::String, Aws::String > &&value)
GetSparqlStreamResult & AddRecords(SparqlRecord &&value)
GetSparqlStreamResult & AddLastEventId(Aws::String &&key, const Aws::String &value)
GetSparqlStreamResult & WithTotalRecords(int value)
AWS_NEPTUNEDATA_API GetSparqlStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRecords(Aws::Vector< SparqlRecord > &&value)
void SetLastEventId(const Aws::Map< Aws::String, Aws::String > &value)
GetSparqlStreamResult & AddLastEventId(Aws::String &&key, Aws::String &&value)
void SetRecords(const Aws::Vector< SparqlRecord > &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