7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/QuotaShareCapacityLimit.h>
9#include <aws/batch/model/QuotaSharePreemptionConfiguration.h>
10#include <aws/batch/model/QuotaShareResourceSharingConfiguration.h>
11#include <aws/batch/model/QuotaShareState.h>
12#include <aws/batch/model/QuotaShareStatus.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename QuotaShareNameT = Aws::String>
49 m_quotaShareNameHasBeenSet =
true;
50 m_quotaShareName = std::forward<QuotaShareNameT>(value);
52 template <
typename QuotaShareNameT = Aws::String>
65 template <
typename QuotaShareArnT = Aws::String>
67 m_quotaShareArnHasBeenSet =
true;
68 m_quotaShareArn = std::forward<QuotaShareArnT>(value);
70 template <
typename QuotaShareArnT = Aws::String>
84 template <
typename JobQueueArnT = Aws::String>
86 m_jobQueueArnHasBeenSet =
true;
87 m_jobQueueArn = std::forward<JobQueueArnT>(value);
89 template <
typename JobQueueArnT = Aws::String>
103 template <
typename CapacityLimitsT = Aws::Vector<QuotaShareCapacityLimit>>
105 m_capacityLimitsHasBeenSet =
true;
106 m_capacityLimits = std::forward<CapacityLimitsT>(value);
108 template <
typename CapacityLimitsT = Aws::Vector<QuotaShareCapacityLimit>>
113 template <
typename CapacityLimitsT = QuotaShareCapacityLimit>
115 m_capacityLimitsHasBeenSet =
true;
116 m_capacityLimits.emplace_back(std::forward<CapacityLimitsT>(value));
128 template <
typename ResourceSharingConfigurationT = QuotaShareResourceSharingConfiguration>
130 m_resourceSharingConfigurationHasBeenSet =
true;
131 m_resourceSharingConfiguration = std::forward<ResourceSharingConfigurationT>(value);
133 template <
typename ResourceSharingConfigurationT = QuotaShareResourceSharingConfiguration>
146 template <
typename PreemptionConfigurationT = QuotaSharePreemptionConfiguration>
148 m_preemptionConfigurationHasBeenSet =
true;
149 m_preemptionConfiguration = std::forward<PreemptionConfigurationT>(value);
151 template <
typename PreemptionConfigurationT = QuotaSharePreemptionConfiguration>
165 m_stateHasBeenSet =
true;
181 m_statusHasBeenSet =
true;
205 bool m_quotaShareNameHasBeenSet =
false;
206 bool m_quotaShareArnHasBeenSet =
false;
207 bool m_jobQueueArnHasBeenSet =
false;
208 bool m_capacityLimitsHasBeenSet =
false;
209 bool m_resourceSharingConfigurationHasBeenSet =
false;
210 bool m_preemptionConfigurationHasBeenSet =
false;
211 bool m_stateHasBeenSet =
false;
212 bool m_statusHasBeenSet =
false;
QuotaShareStatus GetStatus() const
QuotaShareDetail & WithQuotaShareName(QuotaShareNameT &&value)
bool StatusHasBeenSet() const
QuotaShareDetail & WithState(QuotaShareState value)
void SetCapacityLimits(CapacityLimitsT &&value)
QuotaShareDetail & WithQuotaShareArn(QuotaShareArnT &&value)
QuotaShareDetail & WithCapacityLimits(CapacityLimitsT &&value)
bool StateHasBeenSet() const
bool JobQueueArnHasBeenSet() const
const Aws::String & GetJobQueueArn() const
AWS_BATCH_API QuotaShareDetail()=default
bool CapacityLimitsHasBeenSet() const
void SetResourceSharingConfiguration(ResourceSharingConfigurationT &&value)
QuotaShareDetail & WithResourceSharingConfiguration(ResourceSharingConfigurationT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPreemptionConfiguration(PreemptionConfigurationT &&value)
QuotaShareDetail & AddCapacityLimits(CapacityLimitsT &&value)
QuotaShareDetail & WithStatus(QuotaShareStatus value)
const Aws::Vector< QuotaShareCapacityLimit > & GetCapacityLimits() const
void SetQuotaShareArn(QuotaShareArnT &&value)
bool ResourceSharingConfigurationHasBeenSet() const
const Aws::String & GetQuotaShareArn() const
QuotaShareState GetState() const
void SetJobQueueArn(JobQueueArnT &&value)
const QuotaSharePreemptionConfiguration & GetPreemptionConfiguration() const
QuotaShareDetail & WithPreemptionConfiguration(PreemptionConfigurationT &&value)
QuotaShareDetail & WithJobQueueArn(JobQueueArnT &&value)
void SetQuotaShareName(QuotaShareNameT &&value)
bool QuotaShareArnHasBeenSet() const
const QuotaShareResourceSharingConfiguration & GetResourceSharingConfiguration() const
bool QuotaShareNameHasBeenSet() const
AWS_BATCH_API QuotaShareDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PreemptionConfigurationHasBeenSet() const
const Aws::String & GetQuotaShareName() const
void SetState(QuotaShareState value)
AWS_BATCH_API QuotaShareDetail(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(QuotaShareStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue