7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/ExecutionClass.h>
12#include <aws/glue/model/NotificationProperty.h>
13#include <aws/glue/model/WorkerType.h>
43 template <
typename JobNameT = Aws::String>
45 m_jobNameHasBeenSet =
true;
46 m_jobName = std::forward<JobNameT>(value);
48 template <
typename JobNameT = Aws::String>
64 m_jobRunQueuingEnabledHasBeenSet =
true;
65 m_jobRunQueuingEnabled = value;
79 template <
typename JobRunIdT = Aws::String>
81 m_jobRunIdHasBeenSet =
true;
82 m_jobRunId = std::forward<JobRunIdT>(value);
84 template <
typename JobRunIdT = Aws::String>
114 template <
typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
116 m_argumentsHasBeenSet =
true;
117 m_arguments = std::forward<ArgumentsT>(value);
119 template <
typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
124 template <
typename ArgumentsKeyT = Aws::String,
typename ArgumentsValueT = Aws::String>
126 m_argumentsHasBeenSet =
true;
127 m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value));
150 m_timeoutHasBeenSet =
true;
183 m_maxCapacityHasBeenSet =
true;
184 m_maxCapacity = value;
199 template <
typename SecurityConfigurationT = Aws::String>
201 m_securityConfigurationHasBeenSet =
true;
202 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
204 template <
typename SecurityConfigurationT = Aws::String>
217 template <
typename NotificationPropertyT = NotificationProperty>
219 m_notificationPropertyHasBeenSet =
true;
220 m_notificationProperty = std::forward<NotificationPropertyT>(value);
222 template <
typename NotificationPropertyT = NotificationProperty>
266 m_workerTypeHasBeenSet =
true;
267 m_workerType = value;
283 m_numberOfWorkersHasBeenSet =
true;
284 m_numberOfWorkers = value;
305 m_executionClassHasBeenSet =
true;
306 m_executionClass = value;
322 template <
typename ExecutionRoleSessionPolicyT = Aws::String>
324 m_executionRoleSessionPolicyHasBeenSet =
true;
325 m_executionRoleSessionPolicy = std::forward<ExecutionRoleSessionPolicyT>(value);
327 template <
typename ExecutionRoleSessionPolicyT = Aws::String>
336 bool m_jobRunQueuingEnabled{
false};
344 double m_maxCapacity{0.0};
348 NotificationProperty m_notificationProperty;
352 int m_numberOfWorkers{0};
357 bool m_jobNameHasBeenSet =
false;
358 bool m_jobRunQueuingEnabledHasBeenSet =
false;
359 bool m_jobRunIdHasBeenSet =
false;
360 bool m_argumentsHasBeenSet =
false;
361 bool m_timeoutHasBeenSet =
false;
362 bool m_maxCapacityHasBeenSet =
false;
363 bool m_securityConfigurationHasBeenSet =
false;
364 bool m_notificationPropertyHasBeenSet =
false;
365 bool m_workerTypeHasBeenSet =
false;
366 bool m_numberOfWorkersHasBeenSet =
false;
367 bool m_executionClassHasBeenSet =
false;
368 bool m_executionRoleSessionPolicyHasBeenSet =
false;
bool JobRunIdHasBeenSet() const
bool MaxCapacityHasBeenSet() const
void SetNotificationProperty(NotificationPropertyT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
double GetMaxCapacity() const
bool GetJobRunQueuingEnabled() const
const Aws::String & GetExecutionRoleSessionPolicy() const
const Aws::String & GetSecurityConfiguration() const
bool JobNameHasBeenSet() const
StartJobRunRequest & WithJobRunId(JobRunIdT &&value)
void SetSecurityConfiguration(SecurityConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
StartJobRunRequest & WithMaxCapacity(double value)
StartJobRunRequest & WithJobRunQueuingEnabled(bool value)
StartJobRunRequest & WithSecurityConfiguration(SecurityConfigurationT &&value)
bool TimeoutHasBeenSet() const
const NotificationProperty & GetNotificationProperty() const
ExecutionClass GetExecutionClass() const
void SetJobRunId(JobRunIdT &&value)
StartJobRunRequest & AddArguments(ArgumentsKeyT &&key, ArgumentsValueT &&value)
void SetNumberOfWorkers(int value)
bool NumberOfWorkersHasBeenSet() const
bool ArgumentsHasBeenSet() const
void SetJobName(JobNameT &&value)
bool ExecutionClassHasBeenSet() const
StartJobRunRequest & WithExecutionRoleSessionPolicy(ExecutionRoleSessionPolicyT &&value)
bool ExecutionRoleSessionPolicyHasBeenSet() const
bool NotificationPropertyHasBeenSet() const
void SetExecutionClass(ExecutionClass value)
void SetTimeout(int value)
StartJobRunRequest & WithWorkerType(WorkerType value)
bool WorkerTypeHasBeenSet() const
bool SecurityConfigurationHasBeenSet() const
void SetArguments(ArgumentsT &&value)
int GetNumberOfWorkers() const
StartJobRunRequest & WithNotificationProperty(NotificationPropertyT &&value)
void SetMaxCapacity(double value)
bool JobRunQueuingEnabledHasBeenSet() const
const Aws::String & GetJobName() const
void SetJobRunQueuingEnabled(bool value)
StartJobRunRequest & WithExecutionClass(ExecutionClass value)
StartJobRunRequest & WithJobName(JobNameT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
StartJobRunRequest & WithTimeout(int value)
AWS_GLUE_API StartJobRunRequest()=default
void SetExecutionRoleSessionPolicy(ExecutionRoleSessionPolicyT &&value)
WorkerType GetWorkerType() const
const Aws::String & GetJobRunId() const
StartJobRunRequest & WithArguments(ArgumentsT &&value)
void SetWorkerType(WorkerType value)
StartJobRunRequest & WithNumberOfWorkers(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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