AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPropertygraphStreamResult.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/PropertygraphRecord.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 GetPropertygraphStreamResult();
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 GetPropertygraphStreamResult& AddLastEventId(const Aws::String& key, const Aws::String& value) { m_lastEventId.emplace(key, value); return *this; }
51 inline GetPropertygraphStreamResult& AddLastEventId(Aws::String&& key, const Aws::String& value) { m_lastEventId.emplace(std::move(key), value); return *this; }
52 inline GetPropertygraphStreamResult& AddLastEventId(const Aws::String& key, Aws::String&& value) { m_lastEventId.emplace(key, std::move(value)); return *this; }
53 inline GetPropertygraphStreamResult& AddLastEventId(Aws::String&& key, Aws::String&& value) { m_lastEventId.emplace(std::move(key), std::move(value)); return *this; }
54 inline GetPropertygraphStreamResult& AddLastEventId(const char* key, Aws::String&& value) { m_lastEventId.emplace(key, std::move(value)); return *this; }
55 inline GetPropertygraphStreamResult& AddLastEventId(Aws::String&& key, const char* value) { m_lastEventId.emplace(std::move(key), value); return *this; }
56 inline GetPropertygraphStreamResult& 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; }
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 GetPropertygraphStreamResult& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
79 inline GetPropertygraphStreamResult& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
80 inline GetPropertygraphStreamResult& WithFormat(const char* value) { SetFormat(value); return *this;}
82
84
88 inline const Aws::Vector<PropertygraphRecord>& GetRecords() const{ return m_records; }
89 inline void SetRecords(const Aws::Vector<PropertygraphRecord>& value) { m_records = value; }
90 inline void SetRecords(Aws::Vector<PropertygraphRecord>&& value) { m_records = std::move(value); }
92 inline GetPropertygraphStreamResult& WithRecords(Aws::Vector<PropertygraphRecord>&& value) { SetRecords(std::move(value)); return *this;}
93 inline GetPropertygraphStreamResult& AddRecords(const PropertygraphRecord& value) { m_records.push_back(value); return *this; }
94 inline GetPropertygraphStreamResult& AddRecords(PropertygraphRecord&& 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 GetPropertygraphStreamResult& 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 GetPropertygraphStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline GetPropertygraphStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline GetPropertygraphStreamResult& 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
void SetLastEventId(const Aws::Map< Aws::String, Aws::String > &value)
GetPropertygraphStreamResult & AddRecords(const PropertygraphRecord &value)
AWS_NEPTUNEDATA_API GetPropertygraphStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPropertygraphStreamResult & AddLastEventId(const Aws::String &key, Aws::String &&value)
GetPropertygraphStreamResult & AddLastEventId(const char *key, Aws::String &&value)
GetPropertygraphStreamResult & AddLastEventId(Aws::String &&key, const char *value)
GetPropertygraphStreamResult & WithFormat(const char *value)
GetPropertygraphStreamResult & WithLastEventId(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastEventId(Aws::Map< Aws::String, Aws::String > &&value)
GetPropertygraphStreamResult & WithLastTrxTimestampInMillis(long long value)
GetPropertygraphStreamResult & WithRecords(Aws::Vector< PropertygraphRecord > &&value)
GetPropertygraphStreamResult & AddLastEventId(const Aws::String &key, const Aws::String &value)
const Aws::Vector< PropertygraphRecord > & GetRecords() const
GetPropertygraphStreamResult & WithRecords(const Aws::Vector< PropertygraphRecord > &value)
AWS_NEPTUNEDATA_API GetPropertygraphStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPropertygraphStreamResult & WithRequestId(Aws::String &&value)
GetPropertygraphStreamResult & WithLastEventId(const Aws::Map< Aws::String, Aws::String > &value)
GetPropertygraphStreamResult & AddLastEventId(Aws::String &&key, Aws::String &&value)
GetPropertygraphStreamResult & AddRecords(PropertygraphRecord &&value)
void SetRecords(Aws::Vector< PropertygraphRecord > &&value)
GetPropertygraphStreamResult & WithRequestId(const char *value)
void SetRecords(const Aws::Vector< PropertygraphRecord > &value)
GetPropertygraphStreamResult & WithRequestId(const Aws::String &value)
GetPropertygraphStreamResult & AddLastEventId(const char *key, const char *value)
GetPropertygraphStreamResult & WithFormat(Aws::String &&value)
GetPropertygraphStreamResult & WithFormat(const Aws::String &value)
GetPropertygraphStreamResult & AddLastEventId(Aws::String &&key, const Aws::String &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