7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/ComputeEnvironmentOrder.h>
10#include <aws/batch/model/JQState.h>
11#include <aws/batch/model/JobQueueType.h>
12#include <aws/batch/model/JobStateTimeLimitAction.h>
13#include <aws/batch/model/ServiceEnvironmentOrder.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename JobQueueNameT = Aws::String>
51 m_jobQueueNameHasBeenSet =
true;
52 m_jobQueueName = std::forward<JobQueueNameT>(value);
54 template <
typename JobQueueNameT = Aws::String>
70 m_stateHasBeenSet =
true;
96 template <
typename SchedulingPolicyArnT = Aws::String>
98 m_schedulingPolicyArnHasBeenSet =
true;
99 m_schedulingPolicyArn = std::forward<SchedulingPolicyArnT>(value);
101 template <
typename SchedulingPolicyArnT = Aws::String>
123 m_priorityHasBeenSet =
true;
148 template <
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
150 m_computeEnvironmentOrderHasBeenSet =
true;
151 m_computeEnvironmentOrder = std::forward<ComputeEnvironmentOrderT>(value);
153 template <
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
158 template <
typename ComputeEnvironmentOrderT = ComputeEnvironmentOrder>
160 m_computeEnvironmentOrderHasBeenSet =
true;
161 m_computeEnvironmentOrder.emplace_back(std::forward<ComputeEnvironmentOrderT>(value));
174 template <
typename ServiceEnvironmentOrderT = Aws::Vector<ServiceEnvironmentOrder>>
176 m_serviceEnvironmentOrderHasBeenSet =
true;
177 m_serviceEnvironmentOrder = std::forward<ServiceEnvironmentOrderT>(value);
179 template <
typename ServiceEnvironmentOrderT = Aws::Vector<ServiceEnvironmentOrder>>
184 template <
typename ServiceEnvironmentOrderT = ServiceEnvironmentOrder>
186 m_serviceEnvironmentOrderHasBeenSet =
true;
187 m_serviceEnvironmentOrder.emplace_back(std::forward<ServiceEnvironmentOrderT>(value));
202 m_jobQueueTypeHasBeenSet =
true;
203 m_jobQueueType = value;
221 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
223 m_tagsHasBeenSet =
true;
224 m_tags = std::forward<TagsT>(value);
226 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
228 SetTags(std::forward<TagsT>(value));
231 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
233 m_tagsHasBeenSet =
true;
234 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
249 template <
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
251 m_jobStateTimeLimitActionsHasBeenSet =
true;
252 m_jobStateTimeLimitActions = std::forward<JobStateTimeLimitActionsT>(value);
254 template <
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
259 template <
typename JobStateTimeLimitActionsT = JobStateTimeLimitAction>
261 m_jobStateTimeLimitActionsHasBeenSet =
true;
262 m_jobStateTimeLimitActions.emplace_back(std::forward<JobStateTimeLimitActionsT>(value));
284 bool m_jobQueueNameHasBeenSet =
false;
285 bool m_stateHasBeenSet =
false;
286 bool m_schedulingPolicyArnHasBeenSet =
false;
287 bool m_priorityHasBeenSet =
false;
288 bool m_computeEnvironmentOrderHasBeenSet =
false;
289 bool m_serviceEnvironmentOrderHasBeenSet =
false;
290 bool m_jobQueueTypeHasBeenSet =
false;
291 bool m_tagsHasBeenSet =
false;
292 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