AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateProfileJobRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/databrew/model/ProfileConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/databrew/model/EncryptionMode.h>
12#include <aws/databrew/model/LogSubscription.h>
13#include <aws/databrew/model/S3Location.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/databrew/model/JobSample.h>
16#include <aws/databrew/model/ValidationConfiguration.h>
17#include <utility>
18
19namespace Aws
20{
21namespace GlueDataBrew
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_GLUEDATABREW_API UpdateProfileJobRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfileJob"; }
38
39 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
40
41
43
48 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
49 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
50 template<typename ConfigurationT = ProfileConfiguration>
51 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
52 template<typename ConfigurationT = ProfileConfiguration>
53 UpdateProfileJobRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
55
57
61 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
62 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
63 template<typename EncryptionKeyArnT = Aws::String>
64 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
65 template<typename EncryptionKeyArnT = Aws::String>
66 UpdateProfileJobRequest& WithEncryptionKeyArn(EncryptionKeyArnT&& value) { SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value)); return *this;}
68
70
76 inline EncryptionMode GetEncryptionMode() const { return m_encryptionMode; }
77 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
78 inline void SetEncryptionMode(EncryptionMode value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
81
83
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 UpdateProfileJobRequest& 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 UpdateProfileJobRequest& 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 UpdateProfileJobRequest& 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 UpdateProfileJobRequest& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
135
137
140 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const { return m_validationConfigurations; }
141 inline bool ValidationConfigurationsHasBeenSet() const { return m_validationConfigurationsHasBeenSet; }
142 template<typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
143 void SetValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations = std::forward<ValidationConfigurationsT>(value); }
144 template<typename ValidationConfigurationsT = Aws::Vector<ValidationConfiguration>>
145 UpdateProfileJobRequest& WithValidationConfigurations(ValidationConfigurationsT&& value) { SetValidationConfigurations(std::forward<ValidationConfigurationsT>(value)); return *this;}
146 template<typename ValidationConfigurationsT = ValidationConfiguration>
147 UpdateProfileJobRequest& AddValidationConfigurations(ValidationConfigurationsT&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations.emplace_back(std::forward<ValidationConfigurationsT>(value)); return *this; }
149
151
155 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
156 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
157 template<typename RoleArnT = Aws::String>
158 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
159 template<typename RoleArnT = Aws::String>
160 UpdateProfileJobRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
162
164
168 inline int GetTimeout() const { return m_timeout; }
169 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
170 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
171 inline UpdateProfileJobRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
173
175
181 inline const JobSample& GetJobSample() const { return m_jobSample; }
182 inline bool JobSampleHasBeenSet() const { return m_jobSampleHasBeenSet; }
183 template<typename JobSampleT = JobSample>
184 void SetJobSample(JobSampleT&& value) { m_jobSampleHasBeenSet = true; m_jobSample = std::forward<JobSampleT>(value); }
185 template<typename JobSampleT = JobSample>
186 UpdateProfileJobRequest& WithJobSample(JobSampleT&& value) { SetJobSample(std::forward<JobSampleT>(value)); return *this;}
188 private:
189
190 ProfileConfiguration m_configuration;
191 bool m_configurationHasBeenSet = false;
192
193 Aws::String m_encryptionKeyArn;
194 bool m_encryptionKeyArnHasBeenSet = false;
195
196 EncryptionMode m_encryptionMode{EncryptionMode::NOT_SET};
197 bool m_encryptionModeHasBeenSet = false;
198
199 Aws::String m_name;
200 bool m_nameHasBeenSet = false;
201
202 LogSubscription m_logSubscription{LogSubscription::NOT_SET};
203 bool m_logSubscriptionHasBeenSet = false;
204
205 int m_maxCapacity{0};
206 bool m_maxCapacityHasBeenSet = false;
207
208 int m_maxRetries{0};
209 bool m_maxRetriesHasBeenSet = false;
210
211 S3Location m_outputLocation;
212 bool m_outputLocationHasBeenSet = false;
213
214 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
215 bool m_validationConfigurationsHasBeenSet = false;
216
217 Aws::String m_roleArn;
218 bool m_roleArnHasBeenSet = false;
219
220 int m_timeout{0};
221 bool m_timeoutHasBeenSet = false;
222
223 JobSample m_jobSample;
224 bool m_jobSampleHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace GlueDataBrew
229} // 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