AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfiguration(const ProfileConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
51 inline void SetConfiguration(ProfileConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
53 inline UpdateProfileJobRequest& WithConfiguration(ProfileConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
62 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
63 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
64 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
65 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
66 inline UpdateProfileJobRequest& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
67 inline UpdateProfileJobRequest& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
68 inline UpdateProfileJobRequest& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
70
72
78 inline const EncryptionMode& GetEncryptionMode() const{ return m_encryptionMode; }
79 inline bool EncryptionModeHasBeenSet() const { return m_encryptionModeHasBeenSet; }
80 inline void SetEncryptionMode(const EncryptionMode& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = value; }
81 inline void SetEncryptionMode(EncryptionMode&& value) { m_encryptionModeHasBeenSet = true; m_encryptionMode = std::move(value); }
82 inline UpdateProfileJobRequest& WithEncryptionMode(const EncryptionMode& value) { SetEncryptionMode(value); return *this;}
83 inline UpdateProfileJobRequest& WithEncryptionMode(EncryptionMode&& value) { SetEncryptionMode(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetName() const{ return m_name; }
91 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
93 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
94 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
95 inline UpdateProfileJobRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
96 inline UpdateProfileJobRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
97 inline UpdateProfileJobRequest& WithName(const char* value) { SetName(value); return *this;}
99
101
105 inline const LogSubscription& GetLogSubscription() const{ return m_logSubscription; }
106 inline bool LogSubscriptionHasBeenSet() const { return m_logSubscriptionHasBeenSet; }
107 inline void SetLogSubscription(const LogSubscription& value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = value; }
108 inline void SetLogSubscription(LogSubscription&& value) { m_logSubscriptionHasBeenSet = true; m_logSubscription = std::move(value); }
110 inline UpdateProfileJobRequest& WithLogSubscription(LogSubscription&& value) { SetLogSubscription(std::move(value)); return *this;}
112
114
118 inline int GetMaxCapacity() const{ return m_maxCapacity; }
119 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
120 inline void SetMaxCapacity(int value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
121 inline UpdateProfileJobRequest& WithMaxCapacity(int value) { SetMaxCapacity(value); return *this;}
123
125
128 inline int GetMaxRetries() const{ return m_maxRetries; }
129 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
130 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
131 inline UpdateProfileJobRequest& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
133
135
136 inline const S3Location& GetOutputLocation() const{ return m_outputLocation; }
137 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
138 inline void SetOutputLocation(const S3Location& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
139 inline void SetOutputLocation(S3Location&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
140 inline UpdateProfileJobRequest& WithOutputLocation(const S3Location& value) { SetOutputLocation(value); return *this;}
141 inline UpdateProfileJobRequest& WithOutputLocation(S3Location&& value) { SetOutputLocation(std::move(value)); return *this;}
143
145
148 inline const Aws::Vector<ValidationConfiguration>& GetValidationConfigurations() const{ return m_validationConfigurations; }
149 inline bool ValidationConfigurationsHasBeenSet() const { return m_validationConfigurationsHasBeenSet; }
150 inline void SetValidationConfigurations(const Aws::Vector<ValidationConfiguration>& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations = value; }
151 inline void SetValidationConfigurations(Aws::Vector<ValidationConfiguration>&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations = std::move(value); }
154 inline UpdateProfileJobRequest& AddValidationConfigurations(const ValidationConfiguration& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations.push_back(value); return *this; }
155 inline UpdateProfileJobRequest& AddValidationConfigurations(ValidationConfiguration&& value) { m_validationConfigurationsHasBeenSet = true; m_validationConfigurations.push_back(std::move(value)); return *this; }
157
159
163 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
164 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
165 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
166 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
167 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
168 inline UpdateProfileJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
169 inline UpdateProfileJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
170 inline UpdateProfileJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
172
174
178 inline int GetTimeout() const{ return m_timeout; }
179 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
180 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
181 inline UpdateProfileJobRequest& WithTimeout(int value) { SetTimeout(value); return *this;}
183
185
191 inline const JobSample& GetJobSample() const{ return m_jobSample; }
192 inline bool JobSampleHasBeenSet() const { return m_jobSampleHasBeenSet; }
193 inline void SetJobSample(const JobSample& value) { m_jobSampleHasBeenSet = true; m_jobSample = value; }
194 inline void SetJobSample(JobSample&& value) { m_jobSampleHasBeenSet = true; m_jobSample = std::move(value); }
195 inline UpdateProfileJobRequest& WithJobSample(const JobSample& value) { SetJobSample(value); return *this;}
196 inline UpdateProfileJobRequest& WithJobSample(JobSample&& value) { SetJobSample(std::move(value)); return *this;}
198 private:
199
200 ProfileConfiguration m_configuration;
201 bool m_configurationHasBeenSet = false;
202
203 Aws::String m_encryptionKeyArn;
204 bool m_encryptionKeyArnHasBeenSet = false;
205
206 EncryptionMode m_encryptionMode;
207 bool m_encryptionModeHasBeenSet = false;
208
209 Aws::String m_name;
210 bool m_nameHasBeenSet = false;
211
212 LogSubscription m_logSubscription;
213 bool m_logSubscriptionHasBeenSet = false;
214
215 int m_maxCapacity;
216 bool m_maxCapacityHasBeenSet = false;
217
218 int m_maxRetries;
219 bool m_maxRetriesHasBeenSet = false;
220
221 S3Location m_outputLocation;
222 bool m_outputLocationHasBeenSet = false;
223
224 Aws::Vector<ValidationConfiguration> m_validationConfigurations;
225 bool m_validationConfigurationsHasBeenSet = false;
226
227 Aws::String m_roleArn;
228 bool m_roleArnHasBeenSet = false;
229
230 int m_timeout;
231 bool m_timeoutHasBeenSet = false;
232
233 JobSample m_jobSample;
234 bool m_jobSampleHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace GlueDataBrew
239} // namespace Aws
UpdateProfileJobRequest & WithJobSample(JobSample &&value)
UpdateProfileJobRequest & WithRoleArn(const Aws::String &value)
void SetValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
void SetValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
UpdateProfileJobRequest & WithRoleArn(Aws::String &&value)
UpdateProfileJobRequest & AddValidationConfigurations(ValidationConfiguration &&value)
UpdateProfileJobRequest & WithLogSubscription(LogSubscription &&value)
UpdateProfileJobRequest & WithConfiguration(const ProfileConfiguration &value)
UpdateProfileJobRequest & WithValidationConfigurations(Aws::Vector< ValidationConfiguration > &&value)
const ProfileConfiguration & GetConfiguration() const
UpdateProfileJobRequest & WithRoleArn(const char *value)
UpdateProfileJobRequest & WithEncryptionKeyArn(Aws::String &&value)
UpdateProfileJobRequest & AddValidationConfigurations(const ValidationConfiguration &value)
UpdateProfileJobRequest & WithName(Aws::String &&value)
UpdateProfileJobRequest & WithName(const char *value)
UpdateProfileJobRequest & WithEncryptionKeyArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateProfileJobRequest & WithJobSample(const JobSample &value)
UpdateProfileJobRequest & WithLogSubscription(const LogSubscription &value)
void SetConfiguration(const ProfileConfiguration &value)
UpdateProfileJobRequest & WithEncryptionMode(EncryptionMode &&value)
UpdateProfileJobRequest & WithEncryptionKeyArn(const char *value)
UpdateProfileJobRequest & WithEncryptionMode(const EncryptionMode &value)
UpdateProfileJobRequest & WithValidationConfigurations(const Aws::Vector< ValidationConfiguration > &value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
const Aws::Vector< ValidationConfiguration > & GetValidationConfigurations() const
UpdateProfileJobRequest & WithConfiguration(ProfileConfiguration &&value)
UpdateProfileJobRequest & WithOutputLocation(const S3Location &value)
UpdateProfileJobRequest & WithName(const Aws::String &value)
UpdateProfileJobRequest & WithOutputLocation(S3Location &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector