AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
CreateProfileJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/databrew/GlueDataBrewRequest.h>
11#include <aws/databrew/GlueDataBrew_EXPORTS.h>
12#include <aws/databrew/model/EncryptionMode.h>
13#include <aws/databrew/model/JobSample.h>
14#include <aws/databrew/model/LogSubscription.h>
15#include <aws/databrew/model/ProfileConfiguration.h>
16#include <aws/databrew/model/S3Location.h>
17#include <aws/databrew/model/ValidationConfiguration.h>
18
19#include <utility>
20
21namespace Aws {
22namespace GlueDataBrew {
23namespace Model {
24
28 public:
29 AWS_GLUEDATABREW_API CreateProfileJobRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateProfileJob"; }
36
37 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
38
40
43 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
44 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
45 template <typename DatasetNameT = Aws::String>
46 void SetDatasetName(DatasetNameT&& value) {
47 m_datasetNameHasBeenSet = true;
48 m_datasetName = std::forward<DatasetNameT>(value);
49 }
50 template <typename DatasetNameT = Aws::String>
52 SetDatasetName(std::forward<DatasetNameT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
63 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
64 template <typename EncryptionKeyArnT = Aws::String>
65 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
66 m_encryptionKeyArnHasBeenSet = true;
67 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
68 }
69 template <typename EncryptionKeyArnT = Aws::String>
70 CreateProfileJobRequest& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
71 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
72 return *this;
73 }
75
77
83 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
84 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
85 inline void SetEncryptionMode(EncryptionMode value) {
86 m_encryptionModeHasBeenSet = true;
87 m_encryptionMode = value;
88 }
90 SetEncryptionMode(value);
91 return *this;
92 }
94
96
100 inline const Aws::String& GetName() const { return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 template <typename NameT = Aws::String>
103 void SetName(NameT&& value) {
104 m_nameHasBeenSet = true;
105 m_name = std::forward<NameT>(value);
106 }
107 template <typename NameT = Aws::String>
109 SetName(std::forward<NameT>(value));
110 return *this;
111 }
113
115
119 inline LogSubscription GetLogSubscription() const { return m_logSubscription; }
120 inline bool LogSubscriptionHasBeenSet() const { return m_logSubscriptionHasBeenSet; }
122 m_logSubscriptionHasBeenSet = true;
123 m_logSubscription = value;
124 }
126 SetLogSubscription(value);
127 return *this;
128 }
130
132
136 inline int GetMaxCapacity() const { return m_maxCapacity; }
137 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
138 inline void SetMaxCapacity(int value) {
139 m_maxCapacityHasBeenSet = true;
140 m_maxCapacity = value;
141 }
143 SetMaxCapacity(value);
144 return *this;
145 }
147
149
152 inline int GetMaxRetries() const { return m_maxRetries; }
153 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
154 inline void SetMaxRetries(int value) {
155 m_maxRetriesHasBeenSet = true;
156 m_maxRetries = value;
157 }
159 SetMaxRetries(value);
160 return *this;
161 }
163
165
166 inline const S3Location& GetOutputLocation() const { return m_outputLocation; }
167 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
168 template <typename OutputLocationT = S3Location>
169 void SetOutputLocation(OutputLocationT&& value) {
170 m_outputLocationHasBeenSet = true;
171 m_outputLocation = std::forward<OutputLocationT>(value);
172 }
173 template <typename OutputLocationT = S3Location>
174 CreateProfileJobRequest& WithOutputLocation(OutputLocationT&& value) {
175 SetOutputLocation(std::forward<OutputLocationT>(value));
176 return *this;
177 }
179
181
186 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
187 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
188 template <typename ConfigurationT = ProfileConfiguration>
189 void SetConfiguration(ConfigurationT&& value) {
190 m_configurationHasBeenSet = true;
191 m_configuration = std::forward<ConfigurationT>(value);
192 }
193 template <typename ConfigurationT = ProfileConfiguration>
195 SetConfiguration(std::forward<ConfigurationT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const { return m_validationConfigurations; }
205 inline bool ValidationConfigurationsHasBeenSet() const { return m_validationConfigurationsHasBeenSet; }
206 template <typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
207 void SetValidationConfigurations(ValidationConfigurationsT&& value) {
208 m_validationConfigurationsHasBeenSet = true;
209 m_validationConfigurations = std::forward<ValidationConfigurationsT>(value);
210 }
211 template <typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
212 CreateProfileJobRequest& WithValidationConfigurations(ValidationConfigurationsT&& value) {
213 SetValidationConfigurations(std::forward<ValidationConfigurationsT>(value));
214 return *this;
215 }
216 template <typename ValidationConfigurationsT = ValidationConfiguration>
217 CreateProfileJobRequest& AddValidationConfigurations(ValidationConfigurationsT&& value) {
218 m_validationConfigurationsHasBeenSet = true;
219 m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value));
220 return *this;
221 }
223
225
229 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
230 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
231 template <typename RoleArnT = Aws::String>
232 void SetRoleArn(RoleArnT&& value) {
233 m_roleArnHasBeenSet = true;
234 m_roleArn = std::forward<RoleArnT>(value);
235 }
236 template <typename RoleArnT = Aws::String>
238 SetRoleArn(std::forward<RoleArnT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
248 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
249 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
250 void SetTags(TagsT&& value) {
251 m_tagsHasBeenSet = true;
252 m_tags = std::forward<TagsT>(value);
253 }
254 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
256 SetTags(std::forward<TagsT>(value));
257 return *this;
258 }
259 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
260 CreateProfileJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
261 m_tagsHasBeenSet = true;
262 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
263 return *this;
264 }
266
268
272 inline int GetTimeout() const { return m_timeout; }
273 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
274 inline void SetTimeout(int value) {
275 m_timeoutHasBeenSet = true;
276 m_timeout = value;
277 }
279 SetTimeout(value);
280 return *this;
281 }
283
285
291 inline const JobSample& GetJobSample() const { return m_jobSample; }
292 inline bool JobSampleHasBeenSet() const { return m_jobSampleHasBeenSet; }
293 template <typename JobSampleT = JobSample>
294 void SetJobSample(JobSampleT&& value) {
295 m_jobSampleHasBeenSet = true;
296 m_jobSample = std::forward<JobSampleT>(value);
297 }
298 template <typename JobSampleT = JobSample>
300 SetJobSample(std::forward<JobSampleT>(value));
301 return *this;
302 }
304 private:
305 Aws::String m_datasetName;
306
307 Aws::String m_encryptionKeyArn;
308
309 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
310
311 Aws::String m_name;
312
313 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
314
315 int m_maxCapacity{0};
316
317 int m_maxRetries{0};
318
319 S3Location m_outputLocation;
320
321 ProfileConfiguration m_configuration;
322
323 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
324
325 Aws::String m_roleArn;
326
328
329 int m_timeout{0};
330
331 JobSample m_jobSample;
332 bool m_datasetNameHasBeenSet = false;
333 bool m_encryptionKeyArnHasBeenSet = false;
334 bool m_encryptionModeHasBeenSet = false;
335 bool m_nameHasBeenSet = false;
336 bool m_logSubscriptionHasBeenSet = false;
337 bool m_maxCapacityHasBeenSet = false;
338 bool m_maxRetriesHasBeenSet = false;
339 bool m_outputLocationHasBeenSet = false;
340 bool m_configurationHasBeenSet = false;
341 bool m_validationConfigurationsHasBeenSet = false;
342 bool m_roleArnHasBeenSet = false;
343 bool m_tagsHasBeenSet = false;
344 bool m_timeoutHasBeenSet = false;
345 bool m_jobSampleHasBeenSet = false;
346};
347
348} // namespace Model
349} // namespace GlueDataBrew
350} // namespace Aws
CreateProfileJobRequest & WithDatasetName(DatasetNameT &&value)
CreateProfileJobRequest & WithEncryptionMode(EncryptionMode value)
CreateProfileJobRequest & WithRoleArn(RoleArnT &&value)
void SetValidationConfigurations(ValidationConfigurationsT &&value)
CreateProfileJobRequest & WithValidationConfigurations(ValidationConfigurationsT &&value)
virtual const char * GetServiceRequestName() const override
CreateProfileJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateProfileJobRequest & WithTags(TagsT &&value)
CreateProfileJobRequest & WithOutputLocation(OutputLocationT &&value)
CreateProfileJobRequest & AddValidationConfigurations(ValidationConfigurationsT &&value)
CreateProfileJobRequest & WithJobSample(JobSampleT &&value)
CreateProfileJobRequest & WithName(NameT &&value)
CreateProfileJobRequest & WithConfiguration(ConfigurationT &&value)
CreateProfileJobRequest & WithLogSubscription(LogSubscription value)
AWS_GLUEDATABREW_API CreateProfileJobRequest()=default
CreateProfileJobRequest & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const ProfileConfiguration & GetConfiguration() const
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