7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
9#include <aws/service-quotas/model/AppliedLevelEnum.h>
10#include <aws/service-quotas/model/ErrorReason.h>
11#include <aws/service-quotas/model/MetricInfo.h>
12#include <aws/service-quotas/model/QuotaContextInfo.h>
13#include <aws/service-quotas/model/QuotaPeriod.h>
24namespace ServiceQuotas {
46 template <
typename ServiceCodeT = Aws::String>
48 m_serviceCodeHasBeenSet =
true;
49 m_serviceCode = std::forward<ServiceCodeT>(value);
51 template <
typename ServiceCodeT = Aws::String>
64 template <
typename ServiceNameT = Aws::String>
66 m_serviceNameHasBeenSet =
true;
67 m_serviceName = std::forward<ServiceNameT>(value);
69 template <
typename ServiceNameT = Aws::String>
82 template <
typename QuotaArnT = Aws::String>
84 m_quotaArnHasBeenSet =
true;
85 m_quotaArn = std::forward<QuotaArnT>(value);
87 template <
typename QuotaArnT = Aws::String>
102 template <
typename QuotaCodeT = Aws::String>
104 m_quotaCodeHasBeenSet =
true;
105 m_quotaCode = std::forward<QuotaCodeT>(value);
107 template <
typename QuotaCodeT = Aws::String>
120 template <
typename QuotaNameT = Aws::String>
122 m_quotaNameHasBeenSet =
true;
123 m_quotaName = std::forward<QuotaNameT>(value);
125 template <
typename QuotaNameT = Aws::String>
139 m_valueHasBeenSet =
true;
154 template <
typename UnitT = Aws::String>
156 m_unitHasBeenSet =
true;
157 m_unit = std::forward<UnitT>(value);
159 template <
typename UnitT = Aws::String>
161 SetUnit(std::forward<UnitT>(value));
173 m_adjustableHasBeenSet =
true;
174 m_adjustable = value;
189 m_globalQuotaHasBeenSet =
true;
190 m_globalQuota = value;
204 template <
typename UsageMetricT = MetricInfo>
206 m_usageMetricHasBeenSet =
true;
207 m_usageMetric = std::forward<UsageMetricT>(value);
209 template <
typename UsageMetricT = MetricInfo>
222 template <
typename PeriodT = QuotaPeriod>
224 m_periodHasBeenSet =
true;
225 m_period = std::forward<PeriodT>(value);
227 template <
typename PeriodT = QuotaPeriod>
240 template <
typename ErrorReasonT = ErrorReason>
242 m_errorReasonHasBeenSet =
true;
243 m_errorReason = std::forward<ErrorReasonT>(value);
245 template <
typename ErrorReasonT = ErrorReason>
261 m_quotaAppliedAtLevelHasBeenSet =
true;
262 m_quotaAppliedAtLevel = value;
276 template <
typename QuotaContextT = QuotaContextInfo>
278 m_quotaContextHasBeenSet =
true;
279 m_quotaContext = std::forward<QuotaContextT>(value);
281 template <
typename QuotaContextT = QuotaContextInfo>
294 template <
typename DescriptionT = Aws::String>
296 m_descriptionHasBeenSet =
true;
297 m_description = std::forward<DescriptionT>(value);
299 template <
typename DescriptionT = Aws::String>
320 bool m_adjustable{
false};
322 bool m_globalQuota{
false};
324 MetricInfo m_usageMetric;
326 QuotaPeriod m_period;
328 ErrorReason m_errorReason;
332 QuotaContextInfo m_quotaContext;
335 bool m_serviceCodeHasBeenSet =
false;
336 bool m_serviceNameHasBeenSet =
false;
337 bool m_quotaArnHasBeenSet =
false;
338 bool m_quotaCodeHasBeenSet =
false;
339 bool m_quotaNameHasBeenSet =
false;
340 bool m_valueHasBeenSet =
false;
341 bool m_unitHasBeenSet =
false;
342 bool m_adjustableHasBeenSet =
false;
343 bool m_globalQuotaHasBeenSet =
false;
344 bool m_usageMetricHasBeenSet =
false;
345 bool m_periodHasBeenSet =
false;
346 bool m_errorReasonHasBeenSet =
false;
347 bool m_quotaAppliedAtLevelHasBeenSet =
false;
348 bool m_quotaContextHasBeenSet =
false;
349 bool m_descriptionHasBeenSet =
false;
void SetQuotaArn(QuotaArnT &&value)
bool QuotaContextHasBeenSet() const
void SetValue(double value)
ServiceQuota & WithValue(double value)
bool GlobalQuotaHasBeenSet() const
bool PeriodHasBeenSet() const
const Aws::String & GetServiceName() const
bool QuotaArnHasBeenSet() const
AppliedLevelEnum GetQuotaAppliedAtLevel() const
const Aws::String & GetQuotaName() const
void SetErrorReason(ErrorReasonT &&value)
ServiceQuota & WithQuotaCode(QuotaCodeT &&value)
void SetQuotaAppliedAtLevel(AppliedLevelEnum value)
const ErrorReason & GetErrorReason() const
ServiceQuota & WithUsageMetric(UsageMetricT &&value)
ServiceQuota & WithQuotaAppliedAtLevel(AppliedLevelEnum value)
ServiceQuota & WithQuotaName(QuotaNameT &&value)
ServiceQuota & WithPeriod(PeriodT &&value)
bool UnitHasBeenSet() const
bool ServiceNameHasBeenSet() const
ServiceQuota & WithQuotaContext(QuotaContextT &&value)
const MetricInfo & GetUsageMetric() const
const Aws::String & GetQuotaCode() const
ServiceQuota & WithErrorReason(ErrorReasonT &&value)
void SetUnit(UnitT &&value)
bool QuotaAppliedAtLevelHasBeenSet() const
bool GetGlobalQuota() const
void SetDescription(DescriptionT &&value)
void SetQuotaName(QuotaNameT &&value)
bool GetAdjustable() const
ServiceQuota & WithUnit(UnitT &&value)
bool ErrorReasonHasBeenSet() const
bool QuotaNameHasBeenSet() const
ServiceQuota & WithServiceCode(ServiceCodeT &&value)
const Aws::String & GetQuotaArn() const
ServiceQuota & WithQuotaArn(QuotaArnT &&value)
void SetAdjustable(bool value)
ServiceQuota & WithAdjustable(bool value)
bool ServiceCodeHasBeenSet() const
const Aws::String & GetUnit() const
void SetGlobalQuota(bool value)
const Aws::String & GetServiceCode() const
void SetServiceName(ServiceNameT &&value)
ServiceQuota & WithGlobalQuota(bool value)
ServiceQuota & WithServiceName(ServiceNameT &&value)
const QuotaContextInfo & GetQuotaContext() const
bool AdjustableHasBeenSet() const
void SetPeriod(PeriodT &&value)
bool QuotaCodeHasBeenSet() const
AWS_SERVICEQUOTAS_API ServiceQuota & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEQUOTAS_API ServiceQuota()=default
const QuotaPeriod & GetPeriod() const
ServiceQuota & WithDescription(DescriptionT &&value)
AWS_SERVICEQUOTAS_API ServiceQuota(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
bool UsageMetricHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetQuotaContext(QuotaContextT &&value)
bool ValueHasBeenSet() const
const Aws::String & GetDescription() const
void SetUsageMetric(UsageMetricT &&value)
void SetQuotaCode(QuotaCodeT &&value)
void SetServiceCode(ServiceCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue