7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/ComputeEnvironmentOrder.h>
9#include <aws/batch/model/JQState.h>
10#include <aws/batch/model/JQStatus.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>
67 template <
typename JobQueueArnT = Aws::String>
69 m_jobQueueArnHasBeenSet =
true;
70 m_jobQueueArn = std::forward<JobQueueArnT>(value);
72 template <
typename JobQueueArnT = Aws::String>
89 m_stateHasBeenSet =
true;
107 template <
typename SchedulingPolicyArnT = Aws::String>
109 m_schedulingPolicyArnHasBeenSet =
true;
110 m_schedulingPolicyArn = std::forward<SchedulingPolicyArnT>(value);
112 template <
typename SchedulingPolicyArnT = Aws::String>
127 m_statusHasBeenSet =
true;
143 template <
typename StatusReasonT = Aws::String>
145 m_statusReasonHasBeenSet =
true;
146 m_statusReason = std::forward<StatusReasonT>(value);
148 template <
typename StatusReasonT = Aws::String>
181 m_priorityHasBeenSet =
true;
198 template <
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
200 m_computeEnvironmentOrderHasBeenSet =
true;
201 m_computeEnvironmentOrder = std::forward<ComputeEnvironmentOrderT>(value);
203 template <
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
208 template <
typename ComputeEnvironmentOrderT = ComputeEnvironmentOrder>
210 m_computeEnvironmentOrderHasBeenSet =
true;
211 m_computeEnvironmentOrder.emplace_back(std::forward<ComputeEnvironmentOrderT>(value));
224 template <
typename ServiceEnvironmentOrderT = Aws::Vector<ServiceEnvironmentOrder>>
226 m_serviceEnvironmentOrderHasBeenSet =
true;
227 m_serviceEnvironmentOrder = std::forward<ServiceEnvironmentOrderT>(value);
229 template <
typename ServiceEnvironmentOrderT = Aws::Vector<ServiceEnvironmentOrder>>
234 template <
typename ServiceEnvironmentOrderT = ServiceEnvironmentOrder>
236 m_serviceEnvironmentOrderHasBeenSet =
true;
237 m_serviceEnvironmentOrder.emplace_back(std::forward<ServiceEnvironmentOrderT>(value));
252 m_jobQueueTypeHasBeenSet =
true;
253 m_jobQueueType = value;
269 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
271 m_tagsHasBeenSet =
true;
272 m_tags = std::forward<TagsT>(value);
274 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
276 SetTags(std::forward<TagsT>(value));
279 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
281 m_tagsHasBeenSet =
true;
282 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
295 template <
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
297 m_jobStateTimeLimitActionsHasBeenSet =
true;
298 m_jobStateTimeLimitActions = std::forward<JobStateTimeLimitActionsT>(value);
300 template <
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
305 template <
typename JobStateTimeLimitActionsT = JobStateTimeLimitAction>
307 m_jobStateTimeLimitActionsHasBeenSet =
true;
308 m_jobStateTimeLimitActions.emplace_back(std::forward<JobStateTimeLimitActionsT>(value));
336 bool m_jobQueueNameHasBeenSet =
false;
337 bool m_jobQueueArnHasBeenSet =
false;
338 bool m_stateHasBeenSet =
false;
339 bool m_schedulingPolicyArnHasBeenSet =
false;
340 bool m_statusHasBeenSet =
false;
341 bool m_statusReasonHasBeenSet =
false;
342 bool m_priorityHasBeenSet =
false;
343 bool m_computeEnvironmentOrderHasBeenSet =
false;
344 bool m_serviceEnvironmentOrderHasBeenSet =
false;
345 bool m_jobQueueTypeHasBeenSet =
false;
346 bool m_tagsHasBeenSet =
false;
347 bool m_jobStateTimeLimitActionsHasBeenSet =
false;
JobQueueDetail & WithServiceEnvironmentOrder(ServiceEnvironmentOrderT &&value)
void SetJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
void SetStatusReason(StatusReasonT &&value)
JobQueueDetail & AddComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
AWS_BATCH_API JobQueueDetail()=default
bool StateHasBeenSet() const
JobQueueDetail & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStatus(JQStatus value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
JQStatus GetStatus() const
void SetPriority(int value)
bool JobQueueArnHasBeenSet() const
JobQueueDetail & WithSchedulingPolicyArn(SchedulingPolicyArnT &&value)
JobQueueDetail & WithJobQueueName(JobQueueNameT &&value)
JobQueueDetail & WithJobQueueType(JobQueueType value)
void SetJobQueueType(JobQueueType value)
bool JobStateTimeLimitActionsHasBeenSet() const
JobQueueDetail & WithStatus(JQStatus value)
bool StatusReasonHasBeenSet() const
JobQueueDetail & WithJobQueueArn(JobQueueArnT &&value)
const Aws::String & GetStatusReason() const
JobQueueDetail & WithComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
const Aws::Vector< JobStateTimeLimitAction > & GetJobStateTimeLimitActions() const
bool JobQueueNameHasBeenSet() const
const Aws::String & GetJobQueueName() const
JobQueueDetail & WithTags(TagsT &&value)
JobQueueDetail & WithState(JQState value)
const Aws::String & GetJobQueueArn() const
const Aws::String & GetSchedulingPolicyArn() const
JobQueueDetail & WithJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
void SetState(JQState value)
AWS_BATCH_API JobQueueDetail(Aws::Utils::Json::JsonView jsonValue)
JobQueueDetail & WithPriority(int value)
JobQueueDetail & WithStatusReason(StatusReasonT &&value)
bool ComputeEnvironmentOrderHasBeenSet() const
const Aws::Vector< ComputeEnvironmentOrder > & GetComputeEnvironmentOrder() const
const Aws::Vector< ServiceEnvironmentOrder > & GetServiceEnvironmentOrder() const
void SetJobQueueArn(JobQueueArnT &&value)
AWS_BATCH_API JobQueueDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetJobQueueName(JobQueueNameT &&value)
bool TagsHasBeenSet() const
bool SchedulingPolicyArnHasBeenSet() const
JobQueueType GetJobQueueType() const
bool ServiceEnvironmentOrderHasBeenSet() const
bool JobQueueTypeHasBeenSet() const
void SetSchedulingPolicyArn(SchedulingPolicyArnT &&value)
bool PriorityHasBeenSet() const
JobQueueDetail & AddServiceEnvironmentOrder(ServiceEnvironmentOrderT &&value)
void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT &&value)
void SetServiceEnvironmentOrder(ServiceEnvironmentOrderT &&value)
JobQueueDetail & AddJobStateTimeLimitActions(JobStateTimeLimitActionsT &&value)
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
Aws::Utils::Json::JsonValue JsonValue