AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateRecipeJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/databrew/GlueDataBrewRequest.h>
10#include <aws/databrew/GlueDataBrew_EXPORTS.h>
11#include <aws/databrew/model/DataCatalogOutput.h>
12#include <aws/databrew/model/DatabaseOutput.h>
13#include <aws/databrew/model/EncryptionMode.h>
14#include <aws/databrew/model/LogSubscription.h>
15#include <aws/databrew/model/Output.h>
16
17#include <utility>
18
19namespace Aws {
20namespace GlueDataBrew {
21namespace Model {
22
26 public:
27 AWS_GLUEDATABREW_API UpdateRecipeJobRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateRecipeJob"; }
34
35 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
36
38
42 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
43 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
44 template <typename EncryptionKeyArnT = Aws::String>
45 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
46 m_encryptionKeyArnHasBeenSet = true;
47 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
48 }
49 template <typename EncryptionKeyArnT = Aws::String>
50 UpdateRecipeJobRequest& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
51 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
52 return *this;
53 }
55
57
63 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
64 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
65 inline void SetEncryptionMode(EncryptionMode value) {
66 m_encryptionModeHasBeenSet = true;
67 m_encryptionMode = value;
68 }
70 SetEncryptionMode(value);
71 return *this;
72 }
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template <typename NameT = Aws::String>
82 void SetName(NameT&& value) {
83 m_nameHasBeenSet = true;
84 m_name = std::forward<NameT>(value);
85 }
86 template <typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
89 return *this;
90 }
92
94
98 inline LogSubscription GetLogSubscription() const { return m_logSubscription; }
99 inline bool LogSubscriptionHasBeenSet() const { return m_logSubscriptionHasBeenSet; }
101 m_logSubscriptionHasBeenSet = true;
102 m_logSubscription = value;
103 }
105 SetLogSubscription(value);
106 return *this;
107 }
109
111
115 inline int GetMaxCapacity() const { return m_maxCapacity; }
116 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
117 inline void SetMaxCapacity(int value) {
118 m_maxCapacityHasBeenSet = true;
119 m_maxCapacity = value;
120 }
122 SetMaxCapacity(value);
123 return *this;
124 }
126
128
131 inline int GetMaxRetries() const { return m_maxRetries; }
132 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
133 inline void SetMaxRetries(int value) {
134 m_maxRetriesHasBeenSet = true;
135 m_maxRetries = value;
136 }
138 SetMaxRetries(value);
139 return *this;
140 }
142
144
147 inline const Aws::Vector<Output>& GetOutputs() const { return m_outputs; }
148 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
149 template <typename OutputsT = Aws::Vector<Output>>
150 void SetOutputs(OutputsT&& value) {
151 m_outputsHasBeenSet = true;
152 m_outputs = std::forward<OutputsT>(value);
153 }
154 template <typename OutputsT = Aws::Vector<Output>>
156 SetOutputs(std::forward<OutputsT>(value));
157 return *this;
158 }
159 template <typename OutputsT = Output>
161 m_outputsHasBeenSet = true;
162 m_outputs.emplace_back(std::forward<OutputsT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const { return m_dataCatalogOutputs; }
173 inline bool DataCatalogOutputsHasBeenSet() const { return m_dataCatalogOutputsHasBeenSet; }
174 template <typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
175 void SetDataCatalogOutputs(DataCatalogOutputsT&& value) {
176 m_dataCatalogOutputsHasBeenSet = true;
177 m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value);
178 }
179 template <typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
180 UpdateRecipeJobRequest& WithDataCatalogOutputs(DataCatalogOutputsT&& value) {
181 SetDataCatalogOutputs(std::forward<DataCatalogOutputsT>(value));
182 return *this;
183 }
184 template <typename DataCatalogOutputsT = DataCatalogOutput>
185 UpdateRecipeJobRequest& AddDataCatalogOutputs(DataCatalogOutputsT&& value) {
186 m_dataCatalogOutputsHasBeenSet = true;
187 m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const { return m_databaseOutputs; }
198 inline bool DatabaseOutputsHasBeenSet() const { return m_databaseOutputsHasBeenSet; }
199 template <typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
200 void SetDatabaseOutputs(DatabaseOutputsT&& value) {
201 m_databaseOutputsHasBeenSet = true;
202 m_databaseOutputs = std::forward<DatabaseOutputsT>(value);
203 }
204 template <typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
205 UpdateRecipeJobRequest& WithDatabaseOutputs(DatabaseOutputsT&& value) {
206 SetDatabaseOutputs(std::forward<DatabaseOutputsT>(value));
207 return *this;
208 }
209 template <typename DatabaseOutputsT = DatabaseOutput>
210 UpdateRecipeJobRequest& AddDatabaseOutputs(DatabaseOutputsT&& value) {
211 m_databaseOutputsHasBeenSet = true;
212 m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value));
213 return *this;
214 }
216
218
222 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
223 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
224 template <typename RoleArnT = Aws::String>
225 void SetRoleArn(RoleArnT&& value) {
226 m_roleArnHasBeenSet = true;
227 m_roleArn = std::forward<RoleArnT>(value);
228 }
229 template <typename RoleArnT = Aws::String>
231 SetRoleArn(std::forward<RoleArnT>(value));
232 return *this;
233 }
235
237
241 inline int GetTimeout() const { return m_timeout; }
242 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
243 inline void SetTimeout(int value) {
244 m_timeoutHasBeenSet = true;
245 m_timeout = value;
246 }
248 SetTimeout(value);
249 return *this;
250 }
252 private:
253 Aws::String m_encryptionKeyArn;
254
255 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
256
257 Aws::String m_name;
258
259 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
260
261 int m_maxCapacity{0};
262
263 int m_maxRetries{0};
264
265 Aws::Vector<Output> m_outputs;
266
267 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
268
269 Aws::Vector<DatabaseOutput> m_databaseOutputs;
270
271 Aws::String m_roleArn;
272
273 int m_timeout{0};
274 bool m_encryptionKeyArnHasBeenSet = false;
275 bool m_encryptionModeHasBeenSet = false;
276 bool m_nameHasBeenSet = false;
277 bool m_logSubscriptionHasBeenSet = false;
278 bool m_maxCapacityHasBeenSet = false;
279 bool m_maxRetriesHasBeenSet = false;
280 bool m_outputsHasBeenSet = false;
281 bool m_dataCatalogOutputsHasBeenSet = false;
282 bool m_databaseOutputsHasBeenSet = false;
283 bool m_roleArnHasBeenSet = false;
284 bool m_timeoutHasBeenSet = false;
285};
286
287} // namespace Model
288} // namespace GlueDataBrew
289} // namespace Aws
UpdateRecipeJobRequest & AddDataCatalogOutputs(DataCatalogOutputsT &&value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
AWS_GLUEDATABREW_API UpdateRecipeJobRequest()=default
UpdateRecipeJobRequest & WithRoleArn(RoleArnT &&value)
UpdateRecipeJobRequest & WithName(NameT &&value)
UpdateRecipeJobRequest & WithOutputs(OutputsT &&value)
const Aws::Vector< Output > & GetOutputs() const
UpdateRecipeJobRequest & WithMaxCapacity(int value)
UpdateRecipeJobRequest & WithDataCatalogOutputs(DataCatalogOutputsT &&value)
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
UpdateRecipeJobRequest & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
UpdateRecipeJobRequest & WithEncryptionMode(EncryptionMode value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
UpdateRecipeJobRequest & AddDatabaseOutputs(DatabaseOutputsT &&value)
UpdateRecipeJobRequest & AddOutputs(OutputsT &&value)
void SetDataCatalogOutputs(DataCatalogOutputsT &&value)
UpdateRecipeJobRequest & WithDatabaseOutputs(DatabaseOutputsT &&value)
UpdateRecipeJobRequest & WithLogSubscription(LogSubscription value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector