7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/QuotaShareCapacityLimit.h>
10#include <aws/batch/model/QuotaSharePreemptionConfiguration.h>
11#include <aws/batch/model/QuotaShareResourceSharingConfiguration.h>
12#include <aws/batch/model/QuotaShareState.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename QuotaShareArnT = Aws::String>
44 m_quotaShareArnHasBeenSet =
true;
45 m_quotaShareArn = std::forward<QuotaShareArnT>(value);
47 template <
typename QuotaShareArnT = Aws::String>
61 template <
typename CapacityLimitsT = Aws::Vector<QuotaShareCapacityLimit>>
63 m_capacityLimitsHasBeenSet =
true;
64 m_capacityLimits = std::forward<CapacityLimitsT>(value);
66 template <
typename CapacityLimitsT = Aws::Vector<QuotaShareCapacityLimit>>
71 template <
typename CapacityLimitsT = QuotaShareCapacityLimit>
73 m_capacityLimitsHasBeenSet =
true;
74 m_capacityLimits.emplace_back(std::forward<CapacityLimitsT>(value));
86 template <
typename ResourceSharingConfigurationT = QuotaShareResourceSharingConfiguration>
88 m_resourceSharingConfigurationHasBeenSet =
true;
89 m_resourceSharingConfiguration = std::forward<ResourceSharingConfigurationT>(value);
91 template <
typename ResourceSharingConfigurationT = QuotaShareResourceSharingConfiguration>
104 template <
typename PreemptionConfigurationT = QuotaSharePreemptionConfiguration>
106 m_preemptionConfigurationHasBeenSet =
true;
107 m_preemptionConfiguration = std::forward<PreemptionConfigurationT>(value);
109 template <
typename PreemptionConfigurationT = QuotaSharePreemptionConfiguration>
125 m_stateHasBeenSet =
true;
143 bool m_quotaShareArnHasBeenSet =
false;
144 bool m_capacityLimitsHasBeenSet =
false;
145 bool m_resourceSharingConfigurationHasBeenSet =
false;
146 bool m_preemptionConfigurationHasBeenSet =
false;
147 bool m_stateHasBeenSet =
false;
UpdateQuotaShareRequest & WithQuotaShareArn(QuotaShareArnT &&value)
UpdateQuotaShareRequest & WithState(QuotaShareState value)
const QuotaSharePreemptionConfiguration & GetPreemptionConfiguration() const
void SetState(QuotaShareState value)
UpdateQuotaShareRequest & WithResourceSharingConfiguration(ResourceSharingConfigurationT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
AWS_BATCH_API UpdateQuotaShareRequest()=default
void SetQuotaShareArn(QuotaShareArnT &&value)
const QuotaShareResourceSharingConfiguration & GetResourceSharingConfiguration() const
bool StateHasBeenSet() const
bool CapacityLimitsHasBeenSet() const
QuotaShareState GetState() const
bool ResourceSharingConfigurationHasBeenSet() const
bool PreemptionConfigurationHasBeenSet() const
void SetResourceSharingConfiguration(ResourceSharingConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
void SetPreemptionConfiguration(PreemptionConfigurationT &&value)
bool QuotaShareArnHasBeenSet() const
UpdateQuotaShareRequest & WithPreemptionConfiguration(PreemptionConfigurationT &&value)
UpdateQuotaShareRequest & WithCapacityLimits(CapacityLimitsT &&value)
void SetCapacityLimits(CapacityLimitsT &&value)
UpdateQuotaShareRequest & AddCapacityLimits(CapacityLimitsT &&value)
const Aws::String & GetQuotaShareArn() const
const Aws::Vector< QuotaShareCapacityLimit > & GetCapacityLimits() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector