AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 "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 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 CreateProfileJobRequest& 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 CreateProfileJobRequest& 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 CreateProfileJobRequest& 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 CreateProfileJobRequest& 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 CreateProfileJobRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
125
127
128 inline const S3Location& GetOutputLocation() const { return m_outputLocation; }
129 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
130 template<typename OutputLocationT = S3Location>
131 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
132 template<typename OutputLocationT = S3Location>
133 CreateProfileJobRequest& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
135
137
142 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
143 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
144 template<typename ConfigurationT = ProfileConfiguration>
145 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
146 template<typename ConfigurationT = ProfileConfiguration>
147 CreateProfileJobRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
149
151
154 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const { return m_validationConfigurations; }
155 inline bool ValidationConfigurationsHasBeenSet() const { return m_validationConfigurationsHasBeenSet; }
156 template<typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
157 void SetValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations = std::forward<ValidationConfigurationsT>(value); }
158 template<typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
159 CreateProfileJobRequest& WithValidationConfigurations(ValidationConfigurationsT&& value) { SetValidationConfigurations(std::forward<ValidationConfigurationsT>(value)); return *this;}
160 template<typename ValidationConfigurationsT = ValidationConfiguration>
161 CreateProfileJobRequest& AddValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value)); return *this; }
163
165
169 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
170 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
171 template<typename RoleArnT = Aws::String>
172 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
173 template<typename RoleArnT = Aws::String>
174 CreateProfileJobRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
176
178
181 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
182 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
183 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
184 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
185 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 CreateProfileJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
187 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
188 CreateProfileJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
189 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
190 }
192
194
198 inline int GetTimeout() const { return m_timeout; }
199 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
200 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
201 inline CreateProfileJobRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
203
205
211 inline const JobSample& GetJobSample() const { return m_jobSample; }
212 inline bool JobSampleHasBeenSet() const { return m_jobSampleHasBeenSet; }
213 template<typename JobSampleT = JobSample>
214 void SetJobSample(JobSampleT&& value) { m_jobSampleHasBeenSet = true; m_jobSample = std::forward<JobSampleT>(value); }
215 template<typename JobSampleT = JobSample>
216 CreateProfileJobRequest& WithJobSample(JobSampleT&& value) { SetJobSample(std::forward<JobSampleT>(value)); return *this;}
218 private:
219
220 Aws::String m_datasetName;
221 bool m_datasetNameHasBeenSet = false;
222
223 Aws::String m_encryptionKeyArn;
224 bool m_encryptionKeyArnHasBeenSet = false;
225
226 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
227 bool m_encryptionModeHasBeenSet = false;
228
229 Aws::String m_name;
230 bool m_nameHasBeenSet = false;
231
232 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
233 bool m_logSubscriptionHasBeenSet = false;
234
235 int m_maxCapacity{0};
236 bool m_maxCapacityHasBeenSet = false;
237
238 int m_maxRetries{0};
239 bool m_maxRetriesHasBeenSet = false;
240
241 S3Location m_outputLocation;
242 bool m_outputLocationHasBeenSet = false;
243
244 ProfileConfiguration m_configuration;
245 bool m_configurationHasBeenSet = false;
246
247 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
248 bool m_validationConfigurationsHasBeenSet = false;
249
250 Aws::String m_roleArn;
251 bool m_roleArnHasBeenSet = false;
252
254 bool m_tagsHasBeenSet = false;
255
256 int m_timeout{0};
257 bool m_timeoutHasBeenSet = false;
258
259 JobSample m_jobSample;
260 bool m_jobSampleHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace GlueDataBrew
265} // 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