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>
55 inline void SetJobQueueName(
const char* value) { m_jobQueueNameHasBeenSet =
true; m_jobQueueName.assign(value); }
69 inline void SetJobQueueArn(
const char* value) { m_jobQueueArnHasBeenSet =
true; m_jobQueueArn.assign(value); }
84 inline void SetState(
const JQState& value) { m_stateHasBeenSet =
true; m_state = value; }
85 inline void SetState(
JQState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
101 inline void SetSchedulingPolicyArn(
const char* value) { m_schedulingPolicyArnHasBeenSet =
true; m_schedulingPolicyArn.assign(value); }
115 inline void SetStatus(
JQStatus&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
129 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
149 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
187 inline JobQueueDetail&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
208 bool m_jobQueueNameHasBeenSet =
false;
211 bool m_jobQueueArnHasBeenSet =
false;
214 bool m_stateHasBeenSet =
false;
217 bool m_schedulingPolicyArnHasBeenSet =
false;
220 bool m_statusHasBeenSet =
false;
223 bool m_statusReasonHasBeenSet =
false;
226 bool m_priorityHasBeenSet =
false;
229 bool m_computeEnvironmentOrderHasBeenSet =
false;
232 bool m_tagsHasBeenSet =
false;
235 bool m_jobStateTimeLimitActionsHasBeenSet =
false;
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
JobQueueDetail & AddTags(const char *key, const char *value)
void SetJobStateTimeLimitActions(const Aws::Vector< JobStateTimeLimitAction > &value)
JobQueueDetail & AddJobStateTimeLimitActions(JobStateTimeLimitAction &&value)
JobQueueDetail & WithComputeEnvironmentOrder(Aws::Vector< ComputeEnvironmentOrder > &&value)
JobQueueDetail & WithJobQueueArn(Aws::String &&value)
bool StateHasBeenSet() const
void SetSchedulingPolicyArn(const Aws::String &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(const JQState &value)
bool StatusHasBeenSet() const
void SetJobStateTimeLimitActions(Aws::Vector< JobStateTimeLimitAction > &&value)
void SetJobQueueName(Aws::String &&value)
JobQueueDetail & WithComputeEnvironmentOrder(const Aws::Vector< ComputeEnvironmentOrder > &value)
void SetPriority(int value)
void SetComputeEnvironmentOrder(Aws::Vector< ComputeEnvironmentOrder > &&value)
void SetStatusReason(const Aws::String &value)
bool JobQueueArnHasBeenSet() const
JobQueueDetail & WithJobStateTimeLimitActions(const Aws::Vector< JobStateTimeLimitAction > &value)
void SetStatusReason(Aws::String &&value)
JobQueueDetail & AddTags(Aws::String &&key, Aws::String &&value)
bool JobStateTimeLimitActionsHasBeenSet() const
bool StatusReasonHasBeenSet() const
const Aws::String & GetStatusReason() const
JobQueueDetail & WithState(JQState &&value)
JobQueueDetail & AddTags(Aws::String &&key, const Aws::String &value)
const JQState & GetState() const
void SetJobQueueName(const char *value)
void SetJobQueueArn(Aws::String &&value)
const Aws::Vector< JobStateTimeLimitAction > & GetJobStateTimeLimitActions() const
bool JobQueueNameHasBeenSet() const
JobQueueDetail & AddTags(Aws::String &&key, const char *value)
JobQueueDetail & WithJobQueueName(const char *value)
void SetStatus(const JQStatus &value)
const Aws::String & GetJobQueueName() const
JobQueueDetail & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
JobQueueDetail & WithStatusReason(const char *value)
const Aws::String & GetJobQueueArn() const
const Aws::String & GetSchedulingPolicyArn() const
JobQueueDetail & WithSchedulingPolicyArn(Aws::String &&value)
JobQueueDetail & AddComputeEnvironmentOrder(ComputeEnvironmentOrder &&value)
void SetJobQueueArn(const Aws::String &value)
void SetJobQueueArn(const char *value)
JobQueueDetail & WithJobQueueArn(const Aws::String &value)
AWS_BATCH_API JobQueueDetail(Aws::Utils::Json::JsonView jsonValue)
JobQueueDetail & WithPriority(int value)
void SetJobQueueName(const Aws::String &value)
AWS_BATCH_API JobQueueDetail()
bool ComputeEnvironmentOrderHasBeenSet() const
const Aws::Vector< ComputeEnvironmentOrder > & GetComputeEnvironmentOrder() const
JobQueueDetail & WithSchedulingPolicyArn(const char *value)
JobQueueDetail & WithJobQueueName(const Aws::String &value)
const JQStatus & GetStatus() const
AWS_BATCH_API JobQueueDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
JobQueueDetail & WithJobStateTimeLimitActions(Aws::Vector< JobStateTimeLimitAction > &&value)
JobQueueDetail & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
JobQueueDetail & WithStatus(JQStatus &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
JobQueueDetail & WithStatus(const JQStatus &value)
JobQueueDetail & AddComputeEnvironmentOrder(const ComputeEnvironmentOrder &value)
void SetSchedulingPolicyArn(const char *value)
void SetSchedulingPolicyArn(Aws::String &&value)
JobQueueDetail & AddTags(const char *key, Aws::String &&value)
JobQueueDetail & WithSchedulingPolicyArn(const Aws::String &value)
JobQueueDetail & WithStatusReason(Aws::String &&value)
void SetState(JQState &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetStatusReason(const char *value)
bool SchedulingPolicyArnHasBeenSet() const
JobQueueDetail & WithJobQueueArn(const char *value)
JobQueueDetail & AddJobStateTimeLimitActions(const JobStateTimeLimitAction &value)
JobQueueDetail & AddTags(const Aws::String &key, Aws::String &&value)
void SetStatus(JQStatus &&value)
JobQueueDetail & WithStatusReason(const Aws::String &value)
bool PriorityHasBeenSet() const
JobQueueDetail & AddTags(const Aws::String &key, const Aws::String &value)
JobQueueDetail & WithState(const JQState &value)
JobQueueDetail & WithJobQueueName(Aws::String &&value)
void SetComputeEnvironmentOrder(const Aws::Vector< ComputeEnvironmentOrder > &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