AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateProfileJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/databrew/GlueDataBrewRequest.h>
10#include <aws/databrew/GlueDataBrew_EXPORTS.h>
11#include <aws/databrew/model/EncryptionMode.h>
12#include <aws/databrew/model/JobSample.h>
13#include <aws/databrew/model/LogSubscription.h>
14#include <aws/databrew/model/ProfileConfiguration.h>
15#include <aws/databrew/model/S3Location.h>
16#include <aws/databrew/model/ValidationConfiguration.h>
17
18#include <utility>
19
20namespace Aws {
21namespace GlueDataBrew {
22namespace Model {
23
27 public:
28 AWS_GLUEDATABREW_API UpdateProfileJobRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfileJob"; }
35
36 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
37
39
44 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
45 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
46 template <typename ConfigurationT = ProfileConfiguration>
47 void SetConfiguration(ConfigurationT&& value) {
48 m_configurationHasBeenSet = true;
49 m_configuration = std::forward<ConfigurationT>(value);
50 }
51 template <typename ConfigurationT = ProfileConfiguration>
52 UpdateProfileJobRequest& WithConfiguration(ConfigurationT&& value) {
53 SetConfiguration(std::forward<ConfigurationT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
64 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
65 template <typename EncryptionKeyArnT = Aws::String>
66 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
67 m_encryptionKeyArnHasBeenSet = true;
68 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
69 }
70 template <typename EncryptionKeyArnT = Aws::String>
71 UpdateProfileJobRequest& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
72 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
73 return *this;
74 }
76
78
84 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
85 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
86 inline void SetEncryptionMode(EncryptionMode value) {
87 m_encryptionModeHasBeenSet = true;
88 m_encryptionMode = value;
89 }
91 SetEncryptionMode(value);
92 return *this;
93 }
95
97
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 UpdateProfileJobRequest& WithOutputLocation(OutputLocationT&& value) {
175 SetOutputLocation(std::forward<OutputLocationT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const { return m_validationConfigurations; }
185 inline bool ValidationConfigurationsHasBeenSet() const { return m_validationConfigurationsHasBeenSet; }
186 template <typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
187 void SetValidationConfigurations(ValidationConfigurationsT&& value) {
188 m_validationConfigurationsHasBeenSet = true;
189 m_validationConfigurations = std::forward<ValidationConfigurationsT>(value);
190 }
191 template <typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
192 UpdateProfileJobRequest& WithValidationConfigurations(ValidationConfigurationsT&& value) {
193 SetValidationConfigurations(std::forward<ValidationConfigurationsT>(value));
194 return *this;
195 }
196 template <typename ValidationConfigurationsT = ValidationConfiguration>
197 UpdateProfileJobRequest& AddValidationConfigurations(ValidationConfigurationsT&& value) {
198 m_validationConfigurationsHasBeenSet = true;
199 m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value));
200 return *this;
201 }
203
205
209 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
210 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
211 template <typename RoleArnT = Aws::String>
212 void SetRoleArn(RoleArnT&& value) {
213 m_roleArnHasBeenSet = true;
214 m_roleArn = std::forward<RoleArnT>(value);
215 }
216 template <typename RoleArnT = Aws::String>
218 SetRoleArn(std::forward<RoleArnT>(value));
219 return *this;
220 }
222
224
228 inline int GetTimeout() const { return m_timeout; }
229 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
230 inline void SetTimeout(int value) {
231 m_timeoutHasBeenSet = true;
232 m_timeout = value;
233 }
235 SetTimeout(value);
236 return *this;
237 }
239
241
247 inline const JobSample& GetJobSample() const { return m_jobSample; }
248 inline bool JobSampleHasBeenSet() const { return m_jobSampleHasBeenSet; }
249 template <typename JobSampleT = JobSample>
250 void SetJobSample(JobSampleT&& value) {
251 m_jobSampleHasBeenSet = true;
252 m_jobSample = std::forward<JobSampleT>(value);
253 }
254 template <typename JobSampleT = JobSample>
256 SetJobSample(std::forward<JobSampleT>(value));
257 return *this;
258 }
260 private:
261 ProfileConfiguration m_configuration;
262
263 Aws::String m_encryptionKeyArn;
264
265 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
266
267 Aws::String m_name;
268
269 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
270
271 int m_maxCapacity{0};
272
273 int m_maxRetries{0};
274
275 S3Location m_outputLocation;
276
277 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
278
279 Aws::String m_roleArn;
280
281 int m_timeout{0};
282
283 JobSample m_jobSample;
284 bool m_configurationHasBeenSet = false;
285 bool m_encryptionKeyArnHasBeenSet = false;
286 bool m_encryptionModeHasBeenSet = false;
287 bool m_nameHasBeenSet = false;
288 bool m_logSubscriptionHasBeenSet = false;
289 bool m_maxCapacityHasBeenSet = false;
290 bool m_maxRetriesHasBeenSet = false;
291 bool m_outputLocationHasBeenSet = false;
292 bool m_validationConfigurationsHasBeenSet = false;
293 bool m_roleArnHasBeenSet = false;
294 bool m_timeoutHasBeenSet = false;
295 bool m_jobSampleHasBeenSet = false;
296};
297
298} // namespace Model
299} // namespace GlueDataBrew
300} // namespace Aws
UpdateProfileJobRequest & WithValidationConfigurations(ValidationConfigurationsT &&value)
UpdateProfileJobRequest & WithLogSubscription(LogSubscription value)
UpdateProfileJobRequest & AddValidationConfigurations(ValidationConfigurationsT &&value)
const ProfileConfiguration & GetConfiguration() const
UpdateProfileJobRequest & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
UpdateProfileJobRequest & WithRoleArn(RoleArnT &&value)
UpdateProfileJobRequest & WithEncryptionMode(EncryptionMode value)
UpdateProfileJobRequest & WithJobSample(JobSampleT &&value)
void SetValidationConfigurations(ValidationConfigurationsT &&value)
UpdateProfileJobRequest & WithOutputLocation(OutputLocationT &&value)
virtual const char * GetServiceRequestName() const override
UpdateProfileJobRequest & WithName(NameT &&value)
UpdateProfileJobRequest & WithConfiguration(ConfigurationT &&value)
AWS_GLUEDATABREW_API UpdateProfileJobRequest()=default
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector