AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename DatasetNameT = Aws::String>
50 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
51 template<typename DatasetNameT = Aws::String>
52 CreateRecipeJobRequest& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
54
56
60 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
61 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
62 template<typename EncryptionKeyArnT = Aws::String>
63 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
64 template<typename EncryptionKeyArnT = Aws::String>
65 CreateRecipeJobRequest& WithEncryptionKeyArn(EncryptionKeyArnT&& value) { SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value)); return *this;}
67
69
75 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
76 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
77 inline void SetEncryptionMode(EncryptionMode value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
80
82
86 inline const Aws::String& GetName() const { return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 template<typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
90 template<typename NameT = Aws::String>
91 CreateRecipeJobRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
93
95
99 inline LogSubscription GetLogSubscription() const { return m_logSubscription; }
100 inline bool LogSubscriptionHasBeenSet() const { return m_logSubscriptionHasBeenSet; }
101 inline void SetLogSubscription(LogSubscription value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = value; }
104
106
110 inline int GetMaxCapacity() const { return m_maxCapacity; }
111 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
112 inline void SetMaxCapacity(int value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
113 inline CreateRecipeJobRequest& WithMaxCapacity(int value) { SetMaxCapacity(value); return *this;}
115
117
120 inline int GetMaxRetries() const { return m_maxRetries; }
121 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
122 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
123 inline CreateRecipeJobRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
125
127
130 inline const Aws::Vector<Output>& GetOutputs() const { return m_outputs; }
131 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
132 template<typename OutputsT = Aws::Vector<Output>>
133 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs = std::forward<OutputsT>(value); }
134 template<typename OutputsT = Aws::Vector<Output>>
135 CreateRecipeJobRequest& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
136 template<typename OutputsT = Output>
137 CreateRecipeJobRequest& AddOutputs(OutputsT&& value) { m_outputsHasBeenSet = true; m_outputs.emplace_back(std::forward<OutputsT>(value)); return *this; }
139
141
145 inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const { return m_dataCatalogOutputs; }
146 inline bool DataCatalogOutputsHasBeenSet() const { return m_dataCatalogOutputsHasBeenSet; }
147 template<typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
148 void SetDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs = std::forward<DataCatalogOutputsT>(value); }
149 template<typename DataCatalogOutputsT = Aws::Vector<DataCatalogOutput>>
150 CreateRecipeJobRequest& WithDataCatalogOutputs(DataCatalogOutputsT&& value) { SetDataCatalogOutputs(std::forward<DataCatalogOutputsT>(value)); return *this;}
151 template<typename DataCatalogOutputsT = DataCatalogOutput>
152 CreateRecipeJobRequest& AddDataCatalogOutputs(DataCatalogOutputsT&& value) { m_dataCatalogOutputsHasBeenSet = true; m_dataCatalogOutputs.emplace_back(std::forward<DataCatalogOutputsT>(value)); return *this; }
154
156
160 inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const { return m_databaseOutputs; }
161 inline bool DatabaseOutputsHasBeenSet() const { return m_databaseOutputsHasBeenSet; }
162 template<typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
163 void SetDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs = std::forward<DatabaseOutputsT>(value); }
164 template<typename DatabaseOutputsT = Aws::Vector<DatabaseOutput>>
165 CreateRecipeJobRequest& WithDatabaseOutputs(DatabaseOutputsT&& value) { SetDatabaseOutputs(std::forward<DatabaseOutputsT>(value)); return *this;}
166 template<typename DatabaseOutputsT = DatabaseOutput>
167 CreateRecipeJobRequest& AddDatabaseOutputs(DatabaseOutputsT&& value) { m_databaseOutputsHasBeenSet = true; m_databaseOutputs.emplace_back(std::forward<DatabaseOutputsT>(value)); return *this; }
169
171
175 inline const Aws::String& GetProjectName() const { return m_projectName; }
176 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
177 template<typename ProjectNameT = Aws::String>
178 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
179 template<typename ProjectNameT = Aws::String>
180 CreateRecipeJobRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
182
184
185 inline const RecipeReference& GetRecipeReference() const { return m_recipeReference; }
186 inline bool RecipeReferenceHasBeenSet() const { return m_recipeReferenceHasBeenSet; }
187 template<typename RecipeReferenceT = RecipeReference>
188 void SetRecipeReference(RecipeReferenceT&& value) { m_recipeReferenceHasBeenSet = true; m_recipeReference = std::forward<RecipeReferenceT>(value); }
189 template<typename RecipeReferenceT = RecipeReference>
190 CreateRecipeJobRequest& WithRecipeReference(RecipeReferenceT&& value) { SetRecipeReference(std::forward<RecipeReferenceT>(value)); return *this;}
192
194
198 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
199 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
200 template<typename RoleArnT = Aws::String>
201 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
202 template<typename RoleArnT = Aws::String>
203 CreateRecipeJobRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
205
207
210 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
211 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
212 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
214 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
215 CreateRecipeJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
216 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
217 CreateRecipeJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
218 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
219 }
221
223
227 inline int GetTimeout() const { return m_timeout; }
228 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
229 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
230 inline CreateRecipeJobRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
232 private:
233
234 Aws::String m_datasetName;
235 bool m_datasetNameHasBeenSet = false;
236
237 Aws::String m_encryptionKeyArn;
238 bool m_encryptionKeyArnHasBeenSet = false;
239
240 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
241 bool m_encryptionModeHasBeenSet = false;
242
243 Aws::String m_name;
244 bool m_nameHasBeenSet = false;
245
246 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
247 bool m_logSubscriptionHasBeenSet = false;
248
249 int m_maxCapacity{0};
250 bool m_maxCapacityHasBeenSet = false;
251
252 int m_maxRetries{0};
253 bool m_maxRetriesHasBeenSet = false;
254
255 Aws::Vector<Output> m_outputs;
256 bool m_outputsHasBeenSet = false;
257
258 Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
259 bool m_dataCatalogOutputsHasBeenSet = false;
260
261 Aws::Vector<DatabaseOutput> m_databaseOutputs;
262 bool m_databaseOutputsHasBeenSet = false;
263
264 Aws::String m_projectName;
265 bool m_projectNameHasBeenSet = false;
266
267 RecipeReference m_recipeReference;
268 bool m_recipeReferenceHasBeenSet = false;
269
270 Aws::String m_roleArn;
271 bool m_roleArnHasBeenSet = false;
272
274 bool m_tagsHasBeenSet = false;
275
276 int m_timeout{0};
277 bool m_timeoutHasBeenSet = false;
278 };
279
280} // namespace Model
281} // namespace GlueDataBrew
282} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRecipeJobRequest & WithDatasetName(DatasetNameT &&value)
virtual const char * GetServiceRequestName() const override
CreateRecipeJobRequest & WithName(NameT &&value)
AWS_GLUEDATABREW_API CreateRecipeJobRequest()=default
CreateRecipeJobRequest & WithEncryptionMode(EncryptionMode value)
CreateRecipeJobRequest & AddDatabaseOutputs(DatabaseOutputsT &&value)
const Aws::Vector< DatabaseOutput > & GetDatabaseOutputs() const
CreateRecipeJobRequest & WithLogSubscription(LogSubscription value)
CreateRecipeJobRequest & WithDataCatalogOutputs(DataCatalogOutputsT &&value)
CreateRecipeJobRequest & AddDataCatalogOutputs(DataCatalogOutputsT &&value)
CreateRecipeJobRequest & WithRecipeReference(RecipeReferenceT &&value)
CreateRecipeJobRequest & WithTags(TagsT &&value)
CreateRecipeJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< Output > & GetOutputs() const
CreateRecipeJobRequest & AddOutputs(OutputsT &&value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
void SetDataCatalogOutputs(DataCatalogOutputsT &&value)
CreateRecipeJobRequest & WithProjectName(ProjectNameT &&value)
const Aws::Vector< DataCatalogOutput > & GetDataCatalogOutputs() const
CreateRecipeJobRequest & WithOutputs(OutputsT &&value)
CreateRecipeJobRequest & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
CreateRecipeJobRequest & WithMaxCapacity(int value)
CreateRecipeJobRequest & WithDatabaseOutputs(DatabaseOutputsT &&value)
CreateRecipeJobRequest & WithRoleArn(RoleArnT &&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