AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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
74 inline IteratorType GetIteratorType() const { return m_iteratorType; }
75 inline bool IteratorTypeHasBeenSet() const { return m_iteratorTypeHasBeenSet; }
76 inline void SetIteratorType(IteratorType value) {
77 m_iteratorTypeHasBeenSet = true;
78 m_iteratorType = value;
79 }
81 SetIteratorType(value);
82 return *this;
83 }
85
87
94 inline long long GetCommitNum() const { return m_commitNum; }
95 inline bool CommitNumHasBeenSet() const { return m_commitNumHasBeenSet; }
96 inline void SetCommitNum(long long value) {
97 m_commitNumHasBeenSet = true;
98 m_commitNum = value;
99 }
101 SetCommitNum(value);
102 return *this;
103 }
105
107
111 inline long long GetOpNum() const { return m_opNum; }
112 inline bool OpNumHasBeenSet() const { return m_opNumHasBeenSet; }
113 inline void SetOpNum(long long value) {
114 m_opNumHasBeenSet = true;
115 m_opNum = value;
116 }
117 inline GetPropertygraphStreamRequest& WithOpNum(long long value) {
118 SetOpNum(value);
119 return *this;
120 }
122
124
127 inline Encoding GetEncoding() const { return m_encoding; }
128 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
129 inline void SetEncoding(Encoding value) {
130 m_encodingHasBeenSet = true;
131 m_encoding = value;
132 }
134 SetEncoding(value);
135 return *this;
136 }
138 private:
139 long long m_limit{0};
140
141 IteratorType m_iteratorType{IteratorType::NOT_SET};
142
143 long long m_commitNum{0};
144
145 long long m_opNum{0};
146
147 Encoding m_encoding{Encoding::NOT_SET};
148 bool m_limitHasBeenSet = false;
149 bool m_iteratorTypeHasBeenSet = false;
150 bool m_commitNumHasBeenSet = false;
151 bool m_opNumHasBeenSet = false;
152 bool m_encodingHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace neptunedata
157} // 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