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/http/HttpResponse.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename QuotaShareNameT = Aws::String>
44 m_quotaShareNameHasBeenSet =
true;
45 m_quotaShareName = std::forward<QuotaShareNameT>(value);
47 template <
typename QuotaShareNameT = Aws::String>
59 template <
typename QuotaShareArnT = Aws::String>
61 m_quotaShareArnHasBeenSet =
true;
62 m_quotaShareArn = std::forward<QuotaShareArnT>(value);
64 template <
typename QuotaShareArnT = Aws::String>
76 template <
typename JobQueueArnT = Aws::String>
78 m_jobQueueArnHasBeenSet =
true;
79 m_jobQueueArn = std::forward<JobQueueArnT>(value);
81 template <
typename JobQueueArnT = Aws::String>
94 template <
typename CapacityLimitsT = Aws::Vector<QuotaShareCapacityLimit>>
96 m_capacityLimitsHasBeenSet =
true;
97 m_capacityLimits = std::forward<CapacityLimitsT>(value);
99 template <
typename CapacityLimitsT = Aws::Vector<QuotaShareCapacityLimit>>
104 template <
typename CapacityLimitsT = QuotaShareCapacityLimit>
106 m_capacityLimitsHasBeenSet =
true;
107 m_capacityLimits.emplace_back(std::forward<CapacityLimitsT>(value));
118 template <
typename ResourceSharingConfigurationT = QuotaShareResourceSharingConfiguration>
120 m_resourceSharingConfigurationHasBeenSet =
true;
121 m_resourceSharingConfiguration = std::forward<ResourceSharingConfigurationT>(value);
123 template <
typename ResourceSharingConfigurationT = QuotaShareResourceSharingConfiguration>
135 template <
typename PreemptionConfigurationT = QuotaSharePreemptionConfiguration>
137 m_preemptionConfigurationHasBeenSet =
true;
138 m_preemptionConfiguration = std::forward<PreemptionConfigurationT>(value);
140 template <
typename PreemptionConfigurationT = QuotaSharePreemptionConfiguration>
153 m_stateHasBeenSet =
true;
168 m_statusHasBeenSet =
true;
182 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
184 m_tagsHasBeenSet =
true;
185 m_tags = std::forward<TagsT>(value);
187 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
189 SetTags(std::forward<TagsT>(value));
192 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
194 m_tagsHasBeenSet =
true;
195 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
203 template <
typename RequestIdT = Aws::String>
205 m_requestIdHasBeenSet =
true;
206 m_requestId = std::forward<RequestIdT>(value);
208 template <
typename RequestIdT = Aws::String>
237 bool m_quotaShareNameHasBeenSet =
false;
238 bool m_quotaShareArnHasBeenSet =
false;
239 bool m_jobQueueArnHasBeenSet =
false;
240 bool m_capacityLimitsHasBeenSet =
false;
241 bool m_resourceSharingConfigurationHasBeenSet =
false;
242 bool m_preemptionConfigurationHasBeenSet =
false;
243 bool m_stateHasBeenSet =
false;
244 bool m_statusHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
246 bool m_requestIdHasBeenSet =
false;
void SetStatus(QuotaShareStatus value)
const Aws::String & GetQuotaShareName() const
DescribeQuotaShareResult & WithStatus(QuotaShareStatus value)
DescribeQuotaShareResult & WithQuotaShareArn(QuotaShareArnT &&value)
void SetState(QuotaShareState value)
DescribeQuotaShareResult & WithCapacityLimits(CapacityLimitsT &&value)
DescribeQuotaShareResult & WithState(QuotaShareState value)
const Aws::String & GetJobQueueArn() const
AWS_BATCH_API DescribeQuotaShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BATCH_API DescribeQuotaShareResult()=default
const QuotaSharePreemptionConfiguration & GetPreemptionConfiguration() const
DescribeQuotaShareResult & WithTags(TagsT &&value)
const Aws::String & GetRequestId() const
void SetPreemptionConfiguration(PreemptionConfigurationT &&value)
DescribeQuotaShareResult & WithQuotaShareName(QuotaShareNameT &&value)
QuotaShareState GetState() const
QuotaShareStatus GetStatus() const
DescribeQuotaShareResult & WithJobQueueArn(JobQueueArnT &&value)
DescribeQuotaShareResult & WithResourceSharingConfiguration(ResourceSharingConfigurationT &&value)
AWS_BATCH_API DescribeQuotaShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCapacityLimits(CapacityLimitsT &&value)
void SetResourceSharingConfiguration(ResourceSharingConfigurationT &&value)
DescribeQuotaShareResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeQuotaShareResult & AddCapacityLimits(CapacityLimitsT &&value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRequestId(RequestIdT &&value)
void SetQuotaShareName(QuotaShareNameT &&value)
DescribeQuotaShareResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetQuotaShareArn() const
const QuotaShareResourceSharingConfiguration & GetResourceSharingConfiguration() const
void SetQuotaShareArn(QuotaShareArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetJobQueueArn(JobQueueArnT &&value)
DescribeQuotaShareResult & WithPreemptionConfiguration(PreemptionConfigurationT &&value)
const Aws::Vector< QuotaShareCapacityLimit > & GetCapacityLimits() const
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