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/core/utils/memory/stl/AWSMap.h>
13#include <aws/batch/model/ComputeEnvironmentOrder.h>
14#include <aws/batch/model/JobStateTimeLimitAction.h>
51 template<
typename JobQueueNameT = Aws::String>
52 void SetJobQueueName(JobQueueNameT&& value) { m_jobQueueNameHasBeenSet =
true; m_jobQueueName = std::forward<JobQueueNameT>(value); }
53 template<
typename JobQueueNameT = Aws::String>
65 inline void SetState(
JQState value) { m_stateHasBeenSet =
true; m_state = value; }
86 template<
typename SchedulingPolicyArnT = Aws::String>
87 void SetSchedulingPolicyArn(SchedulingPolicyArnT&& value) { m_schedulingPolicyArnHasBeenSet =
true; m_schedulingPolicyArn = std::forward<SchedulingPolicyArnT>(value); }
88 template<
typename SchedulingPolicyArnT = Aws::String>
106 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
126 template<
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
127 void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT&& value) { m_computeEnvironmentOrderHasBeenSet =
true; m_computeEnvironmentOrder = std::forward<ComputeEnvironmentOrderT>(value); }
128 template<
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
130 template<
typename ComputeEnvironmentOrderT = ComputeEnvironmentOrder>
144 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
146 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
150 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
164 template<
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
165 void SetJobStateTimeLimitActions(JobStateTimeLimitActionsT&& value) { m_jobStateTimeLimitActionsHasBeenSet =
true; m_jobStateTimeLimitActions = std::forward<JobStateTimeLimitActionsT>(value); }
166 template<
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
168 template<
typename JobStateTimeLimitActionsT = JobStateTimeLimitAction>
174 bool m_jobQueueNameHasBeenSet =
false;
177 bool m_stateHasBeenSet =
false;
180 bool m_schedulingPolicyArnHasBeenSet =
false;
183 bool m_priorityHasBeenSet =
false;
186 bool m_computeEnvironmentOrderHasBeenSet =
false;
189 bool m_tagsHasBeenSet =
false;
192 bool m_jobStateTimeLimitActionsHasBeenSet =
false;
void SetState(JQState value)
void SetSchedulingPolicyArn(SchedulingPolicyArnT &&value)
CreateJobQueueRequest & WithComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
CreateJobQueueRequest & WithJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
const Aws::String & GetJobQueueName() const
AWS_BATCH_API CreateJobQueueRequest()=default
const Aws::Vector< ComputeEnvironmentOrder > & GetComputeEnvironmentOrder() const
void SetPriority(int value)
CreateJobQueueRequest & WithState(JQState value)
CreateJobQueueRequest & WithPriority(int value)
bool PriorityHasBeenSet() const
bool ComputeEnvironmentOrderHasBeenSet() const
const Aws::Vector< JobStateTimeLimitAction > & GetJobStateTimeLimitActions() const
CreateJobQueueRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateJobQueueRequest & WithSchedulingPolicyArn(SchedulingPolicyArnT &&value)
void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
void SetJobQueueName(JobQueueNameT &&value)
void SetJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
CreateJobQueueRequest & WithJobQueueName(JobQueueNameT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
bool JobStateTimeLimitActionsHasBeenSet() const
bool SchedulingPolicyArnHasBeenSet() const
const Aws::String & GetSchedulingPolicyArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
bool JobQueueNameHasBeenSet() const
CreateJobQueueRequest & AddComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
CreateJobQueueRequest & AddJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
CreateJobQueueRequest & WithTags(TagsT &&value)
bool StateHasBeenSet() const
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
std::vector< T, Aws::Allocator< T > > Vector