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/JobQueueType.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/batch/model/ComputeEnvironmentOrder.h>
15#include <aws/batch/model/ServiceEnvironmentOrder.h>
16#include <aws/batch/model/JobStateTimeLimitAction.h>
53 template<
typename JobQueueNameT = Aws::String>
54 void SetJobQueueName(JobQueueNameT&& value) { m_jobQueueNameHasBeenSet =
true; m_jobQueueName = std::forward<JobQueueNameT>(value); }
55 template<
typename JobQueueNameT = Aws::String>
67 inline void SetState(
JQState value) { m_stateHasBeenSet =
true; m_state = value; }
88 template<
typename SchedulingPolicyArnT = Aws::String>
89 void SetSchedulingPolicyArn(SchedulingPolicyArnT&& value) { m_schedulingPolicyArnHasBeenSet =
true; m_schedulingPolicyArn = std::forward<SchedulingPolicyArnT>(value); }
90 template<
typename SchedulingPolicyArnT = Aws::String>
108 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
128 template<
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
129 void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT&& value) { m_computeEnvironmentOrderHasBeenSet =
true; m_computeEnvironmentOrder = std::forward<ComputeEnvironmentOrderT>(value); }
130 template<
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
132 template<
typename ComputeEnvironmentOrderT = ComputeEnvironmentOrder>
144 template<
typename ServiceEnvironmentOrderT = Aws::Vector<ServiceEnvironmentOrder>>
145 void SetServiceEnvironmentOrder(ServiceEnvironmentOrderT&& value) { m_serviceEnvironmentOrderHasBeenSet =
true; m_serviceEnvironmentOrder = std::forward<ServiceEnvironmentOrderT>(value); }
146 template<
typename ServiceEnvironmentOrderT = Aws::Vector<ServiceEnvironmentOrder>>
148 template<
typename ServiceEnvironmentOrderT = ServiceEnvironmentOrder>
175 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
177 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
181 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
195 template<
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
196 void SetJobStateTimeLimitActions(JobStateTimeLimitActionsT&& value) { m_jobStateTimeLimitActionsHasBeenSet =
true; m_jobStateTimeLimitActions = std::forward<JobStateTimeLimitActionsT>(value); }
197 template<
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
199 template<
typename JobStateTimeLimitActionsT = JobStateTimeLimitAction>
205 bool m_jobQueueNameHasBeenSet =
false;
208 bool m_stateHasBeenSet =
false;
211 bool m_schedulingPolicyArnHasBeenSet =
false;
214 bool m_priorityHasBeenSet =
false;
217 bool m_computeEnvironmentOrderHasBeenSet =
false;
220 bool m_serviceEnvironmentOrderHasBeenSet =
false;
223 bool m_jobQueueTypeHasBeenSet =
false;
226 bool m_tagsHasBeenSet =
false;
229 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)
JobQueueType GetJobQueueType() const
CreateJobQueueRequest & WithJobQueueType(JobQueueType 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)
bool ServiceEnvironmentOrderHasBeenSet() const
void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
void SetJobQueueName(JobQueueNameT &&value)
bool JobQueueTypeHasBeenSet() const
void SetJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
CreateJobQueueRequest & WithJobQueueName(JobQueueNameT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
CreateJobQueueRequest & AddServiceEnvironmentOrder(ServiceEnvironmentOrderT &&value)
CreateJobQueueRequest & WithServiceEnvironmentOrder(ServiceEnvironmentOrderT &&value)
bool JobStateTimeLimitActionsHasBeenSet() const
void SetServiceEnvironmentOrder(ServiceEnvironmentOrderT &&value)
bool SchedulingPolicyArnHasBeenSet() const
const Aws::String & GetSchedulingPolicyArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetJobQueueType(JobQueueType value)
void SetTags(TagsT &&value)
bool JobQueueNameHasBeenSet() const
const Aws::Vector< ServiceEnvironmentOrder > & GetServiceEnvironmentOrder() 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