AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetUserDefinedFunctionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/FunctionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API GetUserDefinedFunctionsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetUserDefinedFunctions"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
40 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
41 template <typename CatalogIdT = Aws::String>
42 void SetCatalogId(CatalogIdT&& value) {
43 m_catalogIdHasBeenSet = true;
44 m_catalogId = std::forward<CatalogIdT>(value);
45 }
46 template <typename CatalogIdT = Aws::String>
48 SetCatalogId(std::forward<CatalogIdT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 template <typename DatabaseNameT = Aws::String>
62 void SetDatabaseName(DatabaseNameT&& value) {
63 m_databaseNameHasBeenSet = true;
64 m_databaseName = std::forward<DatabaseNameT>(value);
65 }
66 template <typename DatabaseNameT = Aws::String>
68 SetDatabaseName(std::forward<DatabaseNameT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetPattern() const { return m_pattern; }
79 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
80 template <typename PatternT = Aws::String>
81 void SetPattern(PatternT&& value) {
82 m_patternHasBeenSet = true;
83 m_pattern = std::forward<PatternT>(value);
84 }
85 template <typename PatternT = Aws::String>
87 SetPattern(std::forward<PatternT>(value));
88 return *this;
89 }
91
93
100 inline FunctionType GetFunctionType() const { return m_functionType; }
101 inline bool FunctionTypeHasBeenSet() const { return m_functionTypeHasBeenSet; }
102 inline void SetFunctionType(FunctionType value) {
103 m_functionTypeHasBeenSet = true;
104 m_functionType = value;
105 }
107 SetFunctionType(value);
108 return *this;
109 }
111
113
116 inline const Aws::String& GetNextToken() const { return m_nextToken; }
117 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
118 template <typename NextTokenT = Aws::String>
119 void SetNextToken(NextTokenT&& value) {
120 m_nextTokenHasBeenSet = true;
121 m_nextToken = std::forward<NextTokenT>(value);
122 }
123 template <typename NextTokenT = Aws::String>
125 SetNextToken(std::forward<NextTokenT>(value));
126 return *this;
127 }
129
131
134 inline int GetMaxResults() const { return m_maxResults; }
135 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
136 inline void SetMaxResults(int value) {
137 m_maxResultsHasBeenSet = true;
138 m_maxResults = value;
139 }
141 SetMaxResults(value);
142 return *this;
143 }
145 private:
146 Aws::String m_catalogId;
147
148 Aws::String m_databaseName;
149
150 Aws::String m_pattern;
151
152 FunctionType m_functionType{FunctionType::NOT_SET};
153
154 Aws::String m_nextToken;
155
156 int m_maxResults{0};
157 bool m_catalogIdHasBeenSet = false;
158 bool m_databaseNameHasBeenSet = false;
159 bool m_patternHasBeenSet = false;
160 bool m_functionTypeHasBeenSet = false;
161 bool m_nextTokenHasBeenSet = false;
162 bool m_maxResultsHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace Glue
167} // namespace Aws
GetUserDefinedFunctionsRequest & WithPattern(PatternT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
GetUserDefinedFunctionsRequest & WithFunctionType(FunctionType value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetUserDefinedFunctionsRequest & WithNextToken(NextTokenT &&value)
GetUserDefinedFunctionsRequest & WithDatabaseName(DatabaseNameT &&value)
GetUserDefinedFunctionsRequest & WithMaxResults(int value)
GetUserDefinedFunctionsRequest & WithCatalogId(CatalogIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String