7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/glue/model/NotificationProperty.h>
12#include <aws/glue/model/WorkerType.h>
13#include <aws/glue/model/ExecutionClass.h>
47 template<
typename JobNameT = Aws::String>
48 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
49 template<
typename JobNameT = Aws::String>
61 inline void SetJobRunQueuingEnabled(
bool value) { m_jobRunQueuingEnabledHasBeenSet =
true; m_jobRunQueuingEnabled = value; }
71 template<
typename JobRunIdT = Aws::String>
72 void SetJobRunId(JobRunIdT&& value) { m_jobRunIdHasBeenSet =
true; m_jobRunId = std::forward<JobRunIdT>(value); }
73 template<
typename JobRunIdT = Aws::String>
100 template<
typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
101 void SetArguments(ArgumentsT&& value) { m_argumentsHasBeenSet =
true; m_arguments = std::forward<ArgumentsT>(value); }
102 template<
typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename ArgumentsKeyT = Aws::String,
typename ArgumentsValueT = Aws::String>
106 m_argumentsHasBeenSet =
true; m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value));
return *
this;
126 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
153 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
164 template<
typename SecurityConfigurationT = Aws::String>
165 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
166 template<
typename SecurityConfigurationT = Aws::String>
176 template<
typename NotificationPropertyT = NotificationProperty>
177 void SetNotificationProperty(NotificationPropertyT&& value) { m_notificationPropertyHasBeenSet =
true; m_notificationProperty = std::forward<NotificationPropertyT>(value); }
178 template<
typename NotificationPropertyT = NotificationProperty>
229 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
251 bool m_jobNameHasBeenSet =
false;
253 bool m_jobRunQueuingEnabled{
false};
254 bool m_jobRunQueuingEnabledHasBeenSet =
false;
257 bool m_jobRunIdHasBeenSet =
false;
260 bool m_argumentsHasBeenSet =
false;
263 bool m_timeoutHasBeenSet =
false;
265 double m_maxCapacity{0.0};
266 bool m_maxCapacityHasBeenSet =
false;
269 bool m_securityConfigurationHasBeenSet =
false;
271 NotificationProperty m_notificationProperty;
272 bool m_notificationPropertyHasBeenSet =
false;
275 bool m_workerTypeHasBeenSet =
false;
277 int m_numberOfWorkers{0};
278 bool m_numberOfWorkersHasBeenSet =
false;
281 bool m_executionClassHasBeenSet =
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 & 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
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
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