7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/model/JQState.h>
10#include <aws/batch/model/JQStatus.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>
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>
65 template<
typename JobQueueArnT = Aws::String>
66 void SetJobQueueArn(JobQueueArnT&& value) { m_jobQueueArnHasBeenSet =
true; m_jobQueueArn = std::forward<JobQueueArnT>(value); }
67 template<
typename JobQueueArnT = Aws::String>
80 inline void SetState(
JQState value) { m_stateHasBeenSet =
true; m_state = value; }
93 template<
typename SchedulingPolicyArnT = Aws::String>
94 void SetSchedulingPolicyArn(SchedulingPolicyArnT&& value) { m_schedulingPolicyArnHasBeenSet =
true; m_schedulingPolicyArn = std::forward<SchedulingPolicyArnT>(value); }
95 template<
typename SchedulingPolicyArnT = Aws::String>
117 template<
typename StatusReasonT = Aws::String>
118 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
119 template<
typename StatusReasonT = Aws::String>
148 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
160 template<
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
161 void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT&& value) { m_computeEnvironmentOrderHasBeenSet =
true; m_computeEnvironmentOrder = std::forward<ComputeEnvironmentOrderT>(value); }
162 template<
typename ComputeEnvironmentOrderT = Aws::Vector<ComputeEnvironmentOrder>>
164 template<
typename ComputeEnvironmentOrderT = ComputeEnvironmentOrder>
165 JobQueueDetail&
AddComputeEnvironmentOrder(ComputeEnvironmentOrderT&& value) { m_computeEnvironmentOrderHasBeenSet =
true; m_computeEnvironmentOrder.emplace_back(std::forward<ComputeEnvironmentOrderT>(value));
return *
this; }
176 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
178 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
182 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
194 template<
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
195 void SetJobStateTimeLimitActions(JobStateTimeLimitActionsT&& value) { m_jobStateTimeLimitActionsHasBeenSet =
true; m_jobStateTimeLimitActions = std::forward<JobStateTimeLimitActionsT>(value); }
196 template<
typename JobStateTimeLimitActionsT = Aws::Vector<JobStateTimeLimitAction>>
198 template<
typename JobStateTimeLimitActionsT = JobStateTimeLimitAction>
199 JobQueueDetail&
AddJobStateTimeLimitActions(JobStateTimeLimitActionsT&& value) { m_jobStateTimeLimitActionsHasBeenSet =
true; m_jobStateTimeLimitActions.emplace_back(std::forward<JobStateTimeLimitActionsT>(value));
return *
this; }
204 bool m_jobQueueNameHasBeenSet =
false;
207 bool m_jobQueueArnHasBeenSet =
false;
210 bool m_stateHasBeenSet =
false;
213 bool m_schedulingPolicyArnHasBeenSet =
false;
216 bool m_statusHasBeenSet =
false;
219 bool m_statusReasonHasBeenSet =
false;
222 bool m_priorityHasBeenSet =
false;
225 bool m_computeEnvironmentOrderHasBeenSet =
false;
228 bool m_tagsHasBeenSet =
false;
231 bool m_jobStateTimeLimitActionsHasBeenSet =
false;
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)
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
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
void SetSchedulingPolicyArn(SchedulingPolicyArnT &&value)
bool PriorityHasBeenSet() const
void SetComputeEnvironmentOrder(ComputeEnvironmentOrderT &&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