AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRecipeJobRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/EncryptionMode.h>
11#include <aws/databrew/model/LogSubscription.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/databrew/model/RecipeReference.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/databrew/model/Output.h>
16#include <aws/databrew/model/DataCatalogOutput.h>
17#include <aws/databrew/model/DatabaseOutput.h>
18#include <utility>
19
20namespace Aws
21{
22namespace GlueDataBrew
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_GLUEDATABREW_API CreateRecipeJobRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateRecipeJob"; }
39
40 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
41
42
44
47 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
48 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
49 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
50 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
51 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
52 inline CreateRecipeJobRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
53 inline CreateRecipeJobRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
54 inline CreateRecipeJobRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
56
58
62 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
63 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
64 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
65 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
66 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
67 inline CreateRecipeJobRequest& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
68 inline CreateRecipeJobRequest& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
69 inline CreateRecipeJobRequest& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
71
73
79 inline const EncryptionMode& GetEncryptionMode() const{ return m_encryptionMode; }
80 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
81 inline void SetEncryptionMode(const EncryptionMode& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
82 inline void SetEncryptionMode(EncryptionMode&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::move(value); }
83 inline CreateRecipeJobRequest& WithEncryptionMode(const EncryptionMode& value) { SetEncryptionMode(value); return *this;}
84 inline CreateRecipeJobRequest& WithEncryptionMode(EncryptionMode&& value) { SetEncryptionMode(std::move(value)); return *this;}
86
88
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline CreateRecipeJobRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline CreateRecipeJobRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline CreateRecipeJobRequest& WithName(const char* value) { SetName(value); return *this;}
101
103
107 inline const LogSubscription& GetLogSubscription() const{ return m_logSubscription; }
108 inline bool LogSubscriptionHasBeenSet() const { return m_logSubscriptionHasBeenSet; }
109 inline void SetLogSubscription(const LogSubscription& value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = value; }
110 inline void SetLogSubscription(LogSubscription&& value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = std::move(value); }
112 inline CreateRecipeJobRequest& WithLogSubscription(LogSubscription&& value) { SetLogSubscription(std::move(value)); return *this;}
114
116
120 inline int GetMaxCapacity() const{ return m_maxCapacity; }
121 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
122 inline void SetMaxCapacity(int value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
123 inline CreateRecipeJobRequest& WithMaxCapacity(int value) { SetMaxCapacity(value); return *this;}
125
127
130 inline int GetMaxRetries() const{ return m_maxRetries; }
131 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
132 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
133 inline CreateRecipeJobRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
135
137
140 inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
141 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
142 inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
143 inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
144 inline CreateRecipeJobRequest& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
145 inline CreateRecipeJobRequest& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
146 inline CreateRecipeJobRequest& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
147 inline CreateRecipeJobRequest& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
149
151
155 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const{ return m_dataCatalogOutputs; }
156 inline bool DataCatalogOutputsHasBeenSet() const { return m_dataCatalogOutputsHasBeenSet; }
157 inline void SetDataCatalogOutputs(const Aws::Vector<DataCatalogOutput>& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs = value; }
158 inline void SetDataCatalogOutputs(Aws::Vector<DataCatalogOutput>&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs = std::move(value); }
161 inline CreateRecipeJobRequest& AddDataCatalogOutputs(const DataCatalogOutput& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs.push_back(value); return *this; }
162 inline CreateRecipeJobRequest& AddDataCatalogOutputs(DataCatalogOutput&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs.push_back(std::move(value)); return *this; }
164
166
170 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const{ return m_databaseOutputs; }
171 inline bool DatabaseOutputsHasBeenSet() const { return m_databaseOutputsHasBeenSet; }
172 inline void SetDatabaseOutputs(const Aws::Vector<DatabaseOutput>& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs = value; }
173 inline void SetDatabaseOutputs(Aws::Vector<DatabaseOutput>&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs = std::move(value); }
176 inline CreateRecipeJobRequest& AddDatabaseOutputs(const DatabaseOutput& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs.push_back(value); return *this; }
177 inline CreateRecipeJobRequest& AddDatabaseOutputs(DatabaseOutput&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs.push_back(std::move(value)); return *this; }
179
181
185 inline const Aws::String& GetProjectName() const{ return m_projectName; }
186 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
187 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
188 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
189 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
190 inline CreateRecipeJobRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
191 inline CreateRecipeJobRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
192 inline CreateRecipeJobRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
194
196
197 inline const RecipeReference& GetRecipeReference() const{ return m_recipeReference; }
198 inline bool RecipeReferenceHasBeenSet() const { return m_recipeReferenceHasBeenSet; }
199 inline void SetRecipeReference(const RecipeReference& value) { m_recipeReferenceHasBeenSet = true; m_recipeReference = value; }
200 inline void SetRecipeReference(RecipeReference&& value) { m_recipeReferenceHasBeenSet = true; m_recipeReference = std::move(value); }
202 inline CreateRecipeJobRequest& WithRecipeReference(RecipeReference&& value) { SetRecipeReference(std::move(value)); return *this;}
204
206
210 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
211 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
212 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
213 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
214 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
215 inline CreateRecipeJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
216 inline CreateRecipeJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
217 inline CreateRecipeJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
219
221
224 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
225 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
226 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
227 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
228 inline CreateRecipeJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
229 inline CreateRecipeJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
230 inline CreateRecipeJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
231 inline CreateRecipeJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
232 inline CreateRecipeJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
233 inline CreateRecipeJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
234 inline CreateRecipeJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
235 inline CreateRecipeJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
236 inline CreateRecipeJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
238
240
244 inline int GetTimeout() const{ return m_timeout; }
245 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
246 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
247 inline CreateRecipeJobRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
249 private:
250
251 Aws::String m_datasetName;
252 bool m_datasetNameHasBeenSet = false;
253
254 Aws::String m_encryptionKeyArn;
255 bool m_encryptionKeyArnHasBeenSet = false;
256
257 EncryptionMode m_encryptionMode;
258 bool m_encryptionModeHasBeenSet = false;
259
260 Aws::String m_name;
261 bool m_nameHasBeenSet = false;
262
263 LogSubscription m_logSubscription;
264 bool m_logSubscriptionHasBeenSet = false;
265
266 int m_maxCapacity;
267 bool m_maxCapacityHasBeenSet = false;
268
269 int m_maxRetries;
270 bool m_maxRetriesHasBeenSet = false;
271
272 Aws::Vector<Output> m_outputs;
273 bool m_outputsHasBeenSet = false;
274
275 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
276 bool m_dataCatalogOutputsHasBeenSet = false;
277
278 Aws::Vector<DatabaseOutput> m_databaseOutputs;
279 bool m_databaseOutputsHasBeenSet = false;
280
281 Aws::String m_projectName;
282 bool m_projectNameHasBeenSet = false;
283
284 RecipeReference m_recipeReference;
285 bool m_recipeReferenceHasBeenSet = false;
286
287 Aws::String m_roleArn;
288 bool m_roleArnHasBeenSet = false;
289
291 bool m_tagsHasBeenSet = false;
292
293 int m_timeout;
294 bool m_timeoutHasBeenSet = false;
295 };
296
297} // namespace Model
298} // namespace GlueDataBrew
299} // namespace Aws
CreateRecipeJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateRecipeJobRequest & AddTags(Aws::String &&key, const char *value)
void SetOutputs(const Aws::Vector< Output > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRecipeJobRequest & AddDataCatalogOutputs(const DataCatalogOutput &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLogSubscription(const LogSubscription &value)
CreateRecipeJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateRecipeJobRequest & AddDatabaseOutputs(DatabaseOutput &&value)
virtual const char * GetServiceRequestName() const override
void SetDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
CreateRecipeJobRequest & WithDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
CreateRecipeJobRequest & AddOutputs(Output &&value)
void SetDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
CreateRecipeJobRequest & WithRecipeReference(RecipeReference &&value)
CreateRecipeJobRequest & WithEncryptionKeyArn(const Aws::String &value)
CreateRecipeJobRequest & WithEncryptionKeyArn(Aws::String &&value)
CreateRecipeJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRecipeJobRequest & WithEncryptionMode(EncryptionMode &&value)
CreateRecipeJobRequest & WithName(const Aws::String &value)
CreateRecipeJobRequest & AddTags(const char *key, Aws::String &&value)
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
CreateRecipeJobRequest & WithRoleArn(const char *value)
CreateRecipeJobRequest & WithRoleArn(const Aws::String &value)
CreateRecipeJobRequest & WithDatasetName(const char *value)
CreateRecipeJobRequest & WithLogSubscription(const LogSubscription &value)
void SetDataCatalogOutputs(Aws::Vector< DataCatalogOutput > &&value)
void SetRecipeReference(const RecipeReference &value)
const Aws::Vector< Output > & GetOutputs() const
CreateRecipeJobRequest & WithOutputs(const Aws::Vector< Output > &value)
CreateRecipeJobRequest & AddDatabaseOutputs(const DatabaseOutput &value)
CreateRecipeJobRequest & WithLogSubscription(LogSubscription &&value)
CreateRecipeJobRequest & WithProjectName(const char *value)
CreateRecipeJobRequest & WithOutputs(Aws::Vector< Output > &&value)
CreateRecipeJobRequest & WithDatabaseOutputs(const Aws::Vector< DatabaseOutput > &value)
CreateRecipeJobRequest & WithEncryptionKeyArn(const char *value)
CreateRecipeJobRequest & AddOutputs(const Output &value)
void SetDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRecipeJobRequest & WithDatasetName(const Aws::String &value)
CreateRecipeJobRequest & WithDataCatalogOutputs(const Aws::Vector< DataCatalogOutput > &value)
CreateRecipeJobRequest & WithRoleArn(Aws::String &&value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
CreateRecipeJobRequest & WithName(const char *value)
CreateRecipeJobRequest & WithDatasetName(Aws::String &&value)
CreateRecipeJobRequest & WithMaxCapacity(int value)
CreateRecipeJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRecipeJobRequest & WithDatabaseOutputs(Aws::Vector< DatabaseOutput > &&value)
CreateRecipeJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateRecipeJobRequest & WithName(Aws::String &&value)
CreateRecipeJobRequest & AddTags(const char *key, const char *value)
CreateRecipeJobRequest & AddDataCatalogOutputs(DataCatalogOutput &&value)
CreateRecipeJobRequest & WithEncryptionMode(const EncryptionMode &value)
CreateRecipeJobRequest & WithProjectName(const Aws::String &value)
CreateRecipeJobRequest & WithRecipeReference(const RecipeReference &value)
CreateRecipeJobRequest & WithProjectName(Aws::String &&value)
CreateRecipeJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector