AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSparqlStreamRequest.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/neptunedata/NeptunedataRequest.h>
9#include <aws/neptunedata/model/IteratorType.h>
10#include <aws/neptunedata/model/Encoding.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace neptunedata
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_NEPTUNEDATA_API GetSparqlStreamRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetSparqlStream"; }
36
37 AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override;
38
39 AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41 AWS_NEPTUNEDATA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
53 inline long long GetLimit() const{ return m_limit; }
54 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
55 inline void SetLimit(long long value) { m_limitHasBeenSet = true; m_limit = value; }
56 inline GetSparqlStreamRequest& WithLimit(long long value) { SetLimit(value); return *this;}
58
60
74 inline const IteratorType& GetIteratorType() const{ return m_iteratorType; }
75 inline bool IteratorTypeHasBeenSet() const { return m_iteratorTypeHasBeenSet; }
76 inline void SetIteratorType(const IteratorType& value) { m_iteratorTypeHasBeenSet = true; m_iteratorType = value; }
77 inline void SetIteratorType(IteratorType&& value) { m_iteratorTypeHasBeenSet = true; m_iteratorType = std::move(value); }
78 inline GetSparqlStreamRequest& WithIteratorType(const IteratorType& value) { SetIteratorType(value); return *this;}
79 inline GetSparqlStreamRequest& WithIteratorType(IteratorType&& value) { SetIteratorType(std::move(value)); return *this;}
81
83
90 inline long long GetCommitNum() const{ return m_commitNum; }
91 inline bool CommitNumHasBeenSet() const { return m_commitNumHasBeenSet; }
92 inline void SetCommitNum(long long value) { m_commitNumHasBeenSet = true; m_commitNum = value; }
93 inline GetSparqlStreamRequest& WithCommitNum(long long value) { SetCommitNum(value); return *this;}
95
97
101 inline long long GetOpNum() const{ return m_opNum; }
102 inline bool OpNumHasBeenSet() const { return m_opNumHasBeenSet; }
103 inline void SetOpNum(long long value) { m_opNumHasBeenSet = true; m_opNum = value; }
104 inline GetSparqlStreamRequest& WithOpNum(long long value) { SetOpNum(value); return *this;}
106
108
111 inline const Encoding& GetEncoding() const{ return m_encoding; }
112 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
113 inline void SetEncoding(const Encoding& value) { m_encodingHasBeenSet = true; m_encoding = value; }
114 inline void SetEncoding(Encoding&& value) { m_encodingHasBeenSet = true; m_encoding = std::move(value); }
115 inline GetSparqlStreamRequest& WithEncoding(const Encoding& value) { SetEncoding(value); return *this;}
116 inline GetSparqlStreamRequest& WithEncoding(Encoding&& value) { SetEncoding(std::move(value)); return *this;}
118 private:
119
120 long long m_limit;
121 bool m_limitHasBeenSet = false;
122
123 IteratorType m_iteratorType;
124 bool m_iteratorTypeHasBeenSet = false;
125
126 long long m_commitNum;
127 bool m_commitNumHasBeenSet = false;
128
129 long long m_opNum;
130 bool m_opNumHasBeenSet = false;
131
132 Encoding m_encoding;
133 bool m_encodingHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace neptunedata
138} // namespace Aws
GetSparqlStreamRequest & WithLimit(long long value)
AWS_NEPTUNEDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
GetSparqlStreamRequest & WithIteratorType(const IteratorType &value)
AWS_NEPTUNEDATA_API Aws::String SerializePayload() const override
GetSparqlStreamRequest & WithIteratorType(IteratorType &&value)
GetSparqlStreamRequest & WithCommitNum(long long value)
GetSparqlStreamRequest & WithEncoding(const Encoding &value)
GetSparqlStreamRequest & WithEncoding(Encoding &&value)
AWS_NEPTUNEDATA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetSparqlStreamRequest & WithOpNum(long long value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String