AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CursorConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ExtractedParameter.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API CursorConfiguration() = default;
34
36
40 inline const ExtractedParameter& GetNextPage() const { return m_nextPage; }
41 inline bool NextPageHasBeenSet() const { return m_nextPageHasBeenSet; }
42 template <typename NextPageT = ExtractedParameter>
43 void SetNextPage(NextPageT&& value) {
44 m_nextPageHasBeenSet = true;
45 m_nextPage = std::forward<NextPageT>(value);
46 }
47 template <typename NextPageT = ExtractedParameter>
48 CursorConfiguration& WithNextPage(NextPageT&& value) {
49 SetNextPage(std::forward<NextPageT>(value));
50 return *this;
51 }
53
55
59 inline const ExtractedParameter& GetLimitParameter() const { return m_limitParameter; }
60 inline bool LimitParameterHasBeenSet() const { return m_limitParameterHasBeenSet; }
61 template <typename LimitParameterT = ExtractedParameter>
62 void SetLimitParameter(LimitParameterT&& value) {
63 m_limitParameterHasBeenSet = true;
64 m_limitParameter = std::forward<LimitParameterT>(value);
65 }
66 template <typename LimitParameterT = ExtractedParameter>
67 CursorConfiguration& WithLimitParameter(LimitParameterT&& value) {
68 SetLimitParameter(std::forward<LimitParameterT>(value));
69 return *this;
70 }
72 private:
73 ExtractedParameter m_nextPage;
74
75 ExtractedParameter m_limitParameter;
76 bool m_nextPageHasBeenSet = false;
77 bool m_limitParameterHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
AWS_GLUE_API CursorConfiguration()=default
CursorConfiguration & WithNextPage(NextPageT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const ExtractedParameter & GetLimitParameter() const
CursorConfiguration & WithLimitParameter(LimitParameterT &&value)
void SetLimitParameter(LimitParameterT &&value)
const ExtractedParameter & GetNextPage() const
AWS_GLUE_API CursorConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API CursorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue