AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetPropertygraphStreamRequest.h
1
6#pragma once
7#include <aws/neptunedata/NeptunedataRequest.h>
8#include <aws/neptunedata/Neptunedata_EXPORTS.h>
9#include <aws/neptunedata/model/Encoding.h>
10#include <aws/neptunedata/model/IteratorType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace neptunedata {
19namespace Model {
20
24 public:
25 AWS_NEPTUNEDATA_API GetPropertygraphStreamRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetPropertygraphStream"; }
32
33 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
34
35 AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
37 AWS_NEPTUNEDATA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
40
48 inline long long GetLimit() const { return m_limit; }
49 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
50 inline void SetLimit(long long value) {
51 m_limitHasBeenSet = true;
52 m_limit = value;
53 }
54 inline GetPropertygraphStreamRequest& WithLimit(long long value) {
55 SetLimit(value);
56 return *this;
57 }
59
61
75 inline IteratorType GetIteratorType() const { return m_iteratorType; }
76 inline bool IteratorTypeHasBeenSet() const { return m_iteratorTypeHasBeenSet; }
77 inline void SetIteratorType(IteratorType value) {
78 m_iteratorTypeHasBeenSet = true;
79 m_iteratorType = value;
80 }
82 SetIteratorType(value);
83 return *this;
84 }
86
88
95 inline long long GetCommitNum() const { return m_commitNum; }
96 inline bool CommitNumHasBeenSet() const { return m_commitNumHasBeenSet; }
97 inline void SetCommitNum(long long value) {
98 m_commitNumHasBeenSet = true;
99 m_commitNum = value;
100 }
102 SetCommitNum(value);
103 return *this;
104 }
106
108
112 inline long long GetOpNum() const { return m_opNum; }
113 inline bool OpNumHasBeenSet() const { return m_opNumHasBeenSet; }
114 inline void SetOpNum(long long value) {
115 m_opNumHasBeenSet = true;
116 m_opNum = value;
117 }
118 inline GetPropertygraphStreamRequest& WithOpNum(long long value) {
119 SetOpNum(value);
120 return *this;
121 }
123
125
128 inline Encoding GetEncoding() const { return m_encoding; }
129 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
130 inline void SetEncoding(Encoding value) {
131 m_encodingHasBeenSet = true;
132 m_encoding = value;
133 }
135 SetEncoding(value);
136 return *this;
137 }
139 private:
140 long long m_limit{0};
141
142 IteratorType m_iteratorType{IteratorType::NOT_SET};
143
144 long long m_commitNum{0};
145
146 long long m_opNum{0};
147
148 Encoding m_encoding{Encoding::NOT_SET};
149 bool m_limitHasBeenSet = false;
150 bool m_iteratorTypeHasBeenSet = false;
151 bool m_commitNumHasBeenSet = false;
152 bool m_opNumHasBeenSet = false;
153 bool m_encodingHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace neptunedata
158} // namespace Aws
GetPropertygraphStreamRequest & WithCommitNum(long long value)
GetPropertygraphStreamRequest & WithLimit(long long value)
GetPropertygraphStreamRequest & WithIteratorType(IteratorType value)
GetPropertygraphStreamRequest & WithOpNum(long long value)
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_NEPTUNEDATA_API GetPropertygraphStreamRequest()=default
GetPropertygraphStreamRequest & WithEncoding(Encoding value)
AWS_NEPTUNEDATA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String