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/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename QuotaShareNameT = Aws::String>
47 m_quotaShareNameHasBeenSet =
true;
48 m_quotaShareName = std::forward<QuotaShareNameT>(value);
50 template <
typename QuotaShareNameT = Aws::String>
65 template <
typename JobQueueT = Aws::String>
67 m_jobQueueHasBeenSet =
true;
68 m_jobQueue = std::forward<JobQueueT>(value);
70 template <
typename JobQueueT = Aws::String>
84 template <
typename CapacityLimitsT = Aws::Vector<QuotaShareCapacityLimit>>
86 m_capacityLimitsHasBeenSet =
true;
87 m_capacityLimits = std::forward<CapacityLimitsT>(value);
89 template <
typename CapacityLimitsT = Aws::Vector<QuotaShareCapacityLimit>>
94 template <
typename CapacityLimitsT = QuotaShareCapacityLimit>
96 m_capacityLimitsHasBeenSet =
true;
97 m_capacityLimits.emplace_back(std::forward<CapacityLimitsT>(value));
109 template <
typename ResourceSharingConfigurationT = QuotaShareResourceSharingConfiguration>
111 m_resourceSharingConfigurationHasBeenSet =
true;
112 m_resourceSharingConfiguration = std::forward<ResourceSharingConfigurationT>(value);
114 template <
typename ResourceSharingConfigurationT = QuotaShareResourceSharingConfiguration>
127 template <
typename PreemptionConfigurationT = QuotaSharePreemptionConfiguration>
129 m_preemptionConfigurationHasBeenSet =
true;
130 m_preemptionConfiguration = std::forward<PreemptionConfigurationT>(value);
132 template <
typename PreemptionConfigurationT = QuotaSharePreemptionConfiguration>
149 m_stateHasBeenSet =
true;
168 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
170 m_tagsHasBeenSet =
true;
171 m_tags = std::forward<TagsT>(value);
173 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 SetTags(std::forward<TagsT>(value));
178 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
180 m_tagsHasBeenSet =
true;
181 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
199 bool m_quotaShareNameHasBeenSet =
false;
200 bool m_jobQueueHasBeenSet =
false;
201 bool m_capacityLimitsHasBeenSet =
false;
202 bool m_resourceSharingConfigurationHasBeenSet =
false;
203 bool m_preemptionConfigurationHasBeenSet =
false;
204 bool m_stateHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
bool CapacityLimitsHasBeenSet() const
AWS_BATCH_API Aws::String SerializePayload() const override
bool QuotaShareNameHasBeenSet() const
CreateQuotaShareRequest & WithPreemptionConfiguration(PreemptionConfigurationT &&value)
CreateQuotaShareRequest & WithJobQueue(JobQueueT &&value)
CreateQuotaShareRequest & WithCapacityLimits(CapacityLimitsT &&value)
bool ResourceSharingConfigurationHasBeenSet() const
AWS_BATCH_API CreateQuotaShareRequest()=default
void SetQuotaShareName(QuotaShareNameT &&value)
const QuotaShareResourceSharingConfiguration & GetResourceSharingConfiguration() const
bool StateHasBeenSet() const
bool PreemptionConfigurationHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
CreateQuotaShareRequest & WithQuotaShareName(QuotaShareNameT &&value)
const Aws::String & GetQuotaShareName() const
void SetState(QuotaShareState value)
void SetJobQueue(JobQueueT &&value)
CreateQuotaShareRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateQuotaShareRequest & WithResourceSharingConfiguration(ResourceSharingConfigurationT &&value)
CreateQuotaShareRequest & AddCapacityLimits(CapacityLimitsT &&value)
const Aws::Vector< QuotaShareCapacityLimit > & GetCapacityLimits() const
void SetCapacityLimits(CapacityLimitsT &&value)
bool JobQueueHasBeenSet() const
QuotaShareState GetState() const
CreateQuotaShareRequest & WithTags(TagsT &&value)
CreateQuotaShareRequest & WithState(QuotaShareState value)
void SetTags(TagsT &&value)
void SetPreemptionConfiguration(PreemptionConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
const QuotaSharePreemptionConfiguration & GetPreemptionConfiguration() const
const Aws::String & GetJobQueue() const
void SetResourceSharingConfiguration(ResourceSharingConfigurationT &&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