AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProfileJobRequest.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/databrew/model/S3Location.h>
13#include <aws/databrew/model/ProfileConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/databrew/model/JobSample.h>
17#include <aws/databrew/model/ValidationConfiguration.h>
18#include <utility>
19
20namespace Aws
21{
22namespace GlueDataBrew
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_GLUEDATABREW_API CreateProfileJobRequest();
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 "CreateProfileJob"; }
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 CreateProfileJobRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
53 inline CreateProfileJobRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
54 inline CreateProfileJobRequest& 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 CreateProfileJobRequest& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
68 inline CreateProfileJobRequest& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
69 inline CreateProfileJobRequest& 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 CreateProfileJobRequest& WithEncryptionMode(const EncryptionMode& value) { SetEncryptionMode(value); return *this;}
84 inline CreateProfileJobRequest& 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 CreateProfileJobRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline CreateProfileJobRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline CreateProfileJobRequest& 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 CreateProfileJobRequest& 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 CreateProfileJobRequest& 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 CreateProfileJobRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
135
137
138 inline const S3Location& GetOutputLocation() const{ return m_outputLocation; }
139 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
140 inline void SetOutputLocation(const S3Location& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
141 inline void SetOutputLocation(S3Location&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
142 inline CreateProfileJobRequest& WithOutputLocation(const S3Location& value) { SetOutputLocation(value); return *this;}
143 inline CreateProfileJobRequest& WithOutputLocation(S3Location&& value) { SetOutputLocation(std::move(value)); return *this;}
145
147
152 inline const ProfileConfiguration& GetConfiguration() const{ return m_configuration; }
153 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
154 inline void SetConfiguration(const ProfileConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
155 inline void SetConfiguration(ProfileConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
157 inline CreateProfileJobRequest& WithConfiguration(ProfileConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
159
161
164 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const{ return m_validationConfigurations; }
165 inline bool ValidationConfigurationsHasBeenSet() const { return m_validationConfigurationsHasBeenSet; }
166 inline void SetValidationConfigurations(const Aws::Vector<ValidationConfiguration>& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations = value; }
167 inline void SetValidationConfigurations(Aws::Vector<ValidationConfiguration>&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations = std::move(value); }
170 inline CreateProfileJobRequest& AddValidationConfigurations(const ValidationConfiguration& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations.push_back(value); return *this; }
171 inline CreateProfileJobRequest& AddValidationConfigurations(ValidationConfiguration&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations.push_back(std::move(value)); return *this; }
173
175
179 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
180 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
181 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
182 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
183 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
184 inline CreateProfileJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
185 inline CreateProfileJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
186 inline CreateProfileJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
188
190
193 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
194 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
195 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
196 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
197 inline CreateProfileJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
198 inline CreateProfileJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
199 inline CreateProfileJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
200 inline CreateProfileJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
201 inline CreateProfileJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
202 inline CreateProfileJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
203 inline CreateProfileJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
204 inline CreateProfileJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
205 inline CreateProfileJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
207
209
213 inline int GetTimeout() const{ return m_timeout; }
214 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
215 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
216 inline CreateProfileJobRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
218
220
226 inline const JobSample& GetJobSample() const{ return m_jobSample; }
227 inline bool JobSampleHasBeenSet() const { return m_jobSampleHasBeenSet; }
228 inline void SetJobSample(const JobSample& value) { m_jobSampleHasBeenSet = true; m_jobSample = value; }
229 inline void SetJobSample(JobSample&& value) { m_jobSampleHasBeenSet = true; m_jobSample = std::move(value); }
230 inline CreateProfileJobRequest& WithJobSample(const JobSample& value) { SetJobSample(value); return *this;}
231 inline CreateProfileJobRequest& WithJobSample(JobSample&& value) { SetJobSample(std::move(value)); return *this;}
233 private:
234
235 Aws::String m_datasetName;
236 bool m_datasetNameHasBeenSet = false;
237
238 Aws::String m_encryptionKeyArn;
239 bool m_encryptionKeyArnHasBeenSet = false;
240
241 EncryptionMode m_encryptionMode;
242 bool m_encryptionModeHasBeenSet = false;
243
244 Aws::String m_name;
245 bool m_nameHasBeenSet = false;
246
247 LogSubscription m_logSubscription;
248 bool m_logSubscriptionHasBeenSet = false;
249
250 int m_maxCapacity;
251 bool m_maxCapacityHasBeenSet = false;
252
253 int m_maxRetries;
254 bool m_maxRetriesHasBeenSet = false;
255
256 S3Location m_outputLocation;
257 bool m_outputLocationHasBeenSet = false;
258
259 ProfileConfiguration m_configuration;
260 bool m_configurationHasBeenSet = false;
261
262 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
263 bool m_validationConfigurationsHasBeenSet = false;
264
265 Aws::String m_roleArn;
266 bool m_roleArnHasBeenSet = false;
267
269 bool m_tagsHasBeenSet = false;
270
271 int m_timeout;
272 bool m_timeoutHasBeenSet = false;
273
274 JobSample m_jobSample;
275 bool m_jobSampleHasBeenSet = false;
276 };
277
278} // namespace Model
279} // namespace GlueDataBrew
280} // namespace Aws
CreateProfileJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateProfileJobRequest & AddTags(Aws::String &&key, const char *value)
CreateProfileJobRequest & WithJobSample(JobSample &&value)
void SetValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
CreateProfileJobRequest & WithEncryptionMode(const EncryptionMode &value)
CreateProfileJobRequest & WithValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
void SetConfiguration(const ProfileConfiguration &value)
CreateProfileJobRequest & WithRoleArn(const char *value)
CreateProfileJobRequest & WithDatasetName(const char *value)
CreateProfileJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateProfileJobRequest & WithDatasetName(Aws::String &&value)
CreateProfileJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
CreateProfileJobRequest & WithRoleArn(Aws::String &&value)
CreateProfileJobRequest & AddValidationConfigurations(ValidationConfiguration &&value)
CreateProfileJobRequest & WithEncryptionKeyArn(const char *value)
CreateProfileJobRequest & WithLogSubscription(const LogSubscription &value)
CreateProfileJobRequest & AddTags(const char *key, const char *value)
CreateProfileJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateProfileJobRequest & WithName(const char *value)
CreateProfileJobRequest & WithEncryptionMode(EncryptionMode &&value)
virtual const char * GetServiceRequestName() const override
CreateProfileJobRequest & WithName(const Aws::String &value)
CreateProfileJobRequest & AddValidationConfigurations(const ValidationConfiguration &value)
CreateProfileJobRequest & WithDatasetName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateProfileJobRequest & WithOutputLocation(const S3Location &value)
CreateProfileJobRequest & WithOutputLocation(S3Location &&value)
CreateProfileJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateProfileJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateProfileJobRequest & WithRoleArn(const Aws::String &value)
CreateProfileJobRequest & AddTags(const char *key, Aws::String &&value)
CreateProfileJobRequest & WithConfiguration(const ProfileConfiguration &value)
CreateProfileJobRequest & WithEncryptionKeyArn(Aws::String &&value)
CreateProfileJobRequest & WithEncryptionKeyArn(const Aws::String &value)
CreateProfileJobRequest & WithName(Aws::String &&value)
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
CreateProfileJobRequest & WithJobSample(const JobSample &value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
CreateProfileJobRequest & WithConfiguration(ProfileConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateProfileJobRequest & WithValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
const ProfileConfiguration & GetConfiguration() const
CreateProfileJobRequest & WithLogSubscription(LogSubscription &&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