7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/BatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/JQState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/batch/model/ComputeEnvironmentOrder.h>
13#include <aws/batch/model/JobStateTimeLimitAction.h>
49 template<
typename JobQueueT = Aws::String>
50 void SetJobQueue(JobQueueT&& value) { m_jobQueueHasBeenSet =
true; m_jobQueue = std::forward<JobQueueT>(value); }
51 template<
typename JobQueueT = Aws::String>
64 inline void SetState(
JQState value) { m_stateHasBeenSet =
true; m_state = value; }
79 template<
typename SchedulingPolicyArnT = Aws::String>
80 void SetSchedulingPolicyArn(SchedulingPolicyArnT&& value) { m_schedulingPolicyArnHasBeenSet =
true; m_schedulingPolicyArn = std::forward<SchedulingPolicyArnT>(value); }
81 template<
typename SchedulingPolicyArnT = Aws::String>
99 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
118 template<
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
119 void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT&& value) { m_computeEnvironmentOrderHasBeenSet =
true; m_computeEnvironmentOrder = std::forward<ComputeEnvironmentOrderT>(value); }
120 template<
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
122 template<
typename ComputeEnvironmentOrderT = ComputeEnvironmentOrder>
136 template<
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
137 void SetJobStateTimeLimitActions(JobStateTimeLimitActionsT&& value) { m_jobStateTimeLimitActionsHasBeenSet =
true; m_jobStateTimeLimitActions = std::forward<JobStateTimeLimitActionsT>(value); }
138 template<
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
140 template<
typename JobStateTimeLimitActionsT = JobStateTimeLimitAction>
146 bool m_jobQueueHasBeenSet =
false;
149 bool m_stateHasBeenSet =
false;
152 bool m_schedulingPolicyArnHasBeenSet =
false;
155 bool m_priorityHasBeenSet =
false;
158 bool m_computeEnvironmentOrderHasBeenSet =
false;
161 bool m_jobStateTimeLimitActionsHasBeenSet =
false;
void SetState(JQState value)
bool JobStateTimeLimitActionsHasBeenSet() const
void SetJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
const Aws::Vector< ComputeEnvironmentOrder > & GetComputeEnvironmentOrder() const
bool ComputeEnvironmentOrderHasBeenSet() const
bool JobQueueHasBeenSet() const
UpdateJobQueueRequest & WithSchedulingPolicyArn(SchedulingPolicyArnT &&value)
UpdateJobQueueRequest & WithJobQueue(JobQueueT &&value)
const Aws::Vector< JobStateTimeLimitAction > & GetJobStateTimeLimitActions() const
UpdateJobQueueRequest & AddComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
UpdateJobQueueRequest & WithComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
const Aws::String & GetSchedulingPolicyArn() const
AWS_BATCH_API UpdateJobQueueRequest()=default
void SetPriority(int value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetJobQueue() const
void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
void SetSchedulingPolicyArn(SchedulingPolicyArnT &&value)
UpdateJobQueueRequest & WithPriority(int value)
void SetJobQueue(JobQueueT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
bool SchedulingPolicyArnHasBeenSet() const
bool StateHasBeenSet() const
UpdateJobQueueRequest & WithJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
UpdateJobQueueRequest & AddJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
bool PriorityHasBeenSet() const
UpdateJobQueueRequest & WithState(JQState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector