7#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/service-quotas/model/MetricInfo.h>
10#include <aws/service-quotas/model/QuotaPeriod.h>
11#include <aws/service-quotas/model/ErrorReason.h>
12#include <aws/service-quotas/model/AppliedLevelEnum.h>
13#include <aws/service-quotas/model/QuotaContextInfo.h>
26namespace ServiceQuotas
54 inline void SetServiceCode(
const char* value) { m_serviceCodeHasBeenSet =
true; m_serviceCode.assign(value); }
68 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
82 inline void SetQuotaArn(
const char* value) { m_quotaArnHasBeenSet =
true; m_quotaArn.assign(value); }
98 inline void SetQuotaCode(
const char* value) { m_quotaCodeHasBeenSet =
true; m_quotaCode.assign(value); }
112 inline void SetQuotaName(
const char* value) { m_quotaNameHasBeenSet =
true; m_quotaName.assign(value); }
124 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
136 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
148 inline void SetAdjustable(
bool value) { m_adjustableHasBeenSet =
true; m_adjustable = value; }
158 inline void SetGlobalQuota(
bool value) { m_globalQuotaHasBeenSet =
true; m_globalQuota = value; }
224 bool m_serviceCodeHasBeenSet =
false;
227 bool m_serviceNameHasBeenSet =
false;
230 bool m_quotaArnHasBeenSet =
false;
233 bool m_quotaCodeHasBeenSet =
false;
236 bool m_quotaNameHasBeenSet =
false;
239 bool m_valueHasBeenSet =
false;
242 bool m_unitHasBeenSet =
false;
245 bool m_adjustableHasBeenSet =
false;
248 bool m_globalQuotaHasBeenSet =
false;
251 bool m_usageMetricHasBeenSet =
false;
254 bool m_periodHasBeenSet =
false;
257 bool m_errorReasonHasBeenSet =
false;
260 bool m_quotaAppliedAtLevelHasBeenSet =
false;
263 bool m_quotaContextHasBeenSet =
false;
ServiceQuota & WithServiceCode(Aws::String &&value)
bool QuotaContextHasBeenSet() const
void SetValue(double value)
void SetQuotaName(const Aws::String &value)
void SetQuotaAppliedAtLevel(const AppliedLevelEnum &value)
ServiceQuota & WithValue(double value)
bool GlobalQuotaHasBeenSet() const
bool PeriodHasBeenSet() const
ServiceQuota & WithUsageMetric(const MetricInfo &value)
const Aws::String & GetServiceName() const
ServiceQuota & WithUsageMetric(MetricInfo &&value)
bool QuotaArnHasBeenSet() const
void SetUnit(Aws::String &&value)
void SetQuotaContext(const QuotaContextInfo &value)
void SetServiceName(const Aws::String &value)
void SetQuotaContext(QuotaContextInfo &&value)
void SetServiceCode(Aws::String &&value)
ServiceQuota & WithPeriod(const QuotaPeriod &value)
const Aws::String & GetQuotaName() const
const AppliedLevelEnum & GetQuotaAppliedAtLevel() const
void SetUnit(const char *value)
void SetServiceName(Aws::String &&value)
const ErrorReason & GetErrorReason() const
ServiceQuota & WithServiceName(Aws::String &&value)
void SetPeriod(const QuotaPeriod &value)
bool UnitHasBeenSet() const
void SetQuotaCode(Aws::String &&value)
bool ServiceNameHasBeenSet() const
void SetQuotaCode(const char *value)
ServiceQuota & WithQuotaCode(const char *value)
ServiceQuota & WithQuotaArn(const char *value)
const MetricInfo & GetUsageMetric() const
void SetQuotaCode(const Aws::String &value)
ServiceQuota & WithErrorReason(const ErrorReason &value)
const Aws::String & GetQuotaCode() const
bool QuotaAppliedAtLevelHasBeenSet() const
void SetQuotaName(Aws::String &&value)
bool GetGlobalQuota() const
ServiceQuota & WithErrorReason(ErrorReason &&value)
bool GetAdjustable() const
bool ErrorReasonHasBeenSet() const
void SetUsageMetric(MetricInfo &&value)
void SetServiceName(const char *value)
ServiceQuota & WithQuotaContext(const QuotaContextInfo &value)
bool QuotaNameHasBeenSet() const
ServiceQuota & WithServiceCode(const Aws::String &value)
ServiceQuota & WithServiceName(const Aws::String &value)
ServiceQuota & WithQuotaAppliedAtLevel(AppliedLevelEnum &&value)
const Aws::String & GetQuotaArn() const
ServiceQuota & WithQuotaCode(Aws::String &&value)
void SetAdjustable(bool value)
ServiceQuota & WithServiceName(const char *value)
void SetQuotaArn(const Aws::String &value)
ServiceQuota & WithAdjustable(bool value)
bool ServiceCodeHasBeenSet() const
const Aws::String & GetUnit() const
ServiceQuota & WithQuotaName(const char *value)
ServiceQuota & WithQuotaContext(QuotaContextInfo &&value)
void SetGlobalQuota(bool value)
ServiceQuota & WithUnit(const char *value)
void SetServiceCode(const char *value)
const Aws::String & GetServiceCode() const
ServiceQuota & WithQuotaArn(const Aws::String &value)
AWS_SERVICEQUOTAS_API ServiceQuota()
ServiceQuota & WithGlobalQuota(bool value)
ServiceQuota & WithUnit(Aws::String &&value)
void SetQuotaArn(Aws::String &&value)
const QuotaContextInfo & GetQuotaContext() const
ServiceQuota & WithQuotaCode(const Aws::String &value)
bool AdjustableHasBeenSet() const
void SetServiceCode(const Aws::String &value)
ServiceQuota & WithPeriod(QuotaPeriod &&value)
void SetQuotaName(const char *value)
bool QuotaCodeHasBeenSet() const
AWS_SERVICEQUOTAS_API ServiceQuota & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuota & WithQuotaName(Aws::String &&value)
ServiceQuota & WithServiceCode(const char *value)
ServiceQuota & WithQuotaName(const Aws::String &value)
void SetUnit(const Aws::String &value)
void SetPeriod(QuotaPeriod &&value)
ServiceQuota & WithUnit(const Aws::String &value)
ServiceQuota & WithQuotaAppliedAtLevel(const AppliedLevelEnum &value)
void SetUsageMetric(const MetricInfo &value)
const QuotaPeriod & GetPeriod() const
void SetErrorReason(const ErrorReason &value)
AWS_SERVICEQUOTAS_API ServiceQuota(Aws::Utils::Json::JsonView jsonValue)
void SetQuotaArn(const char *value)
void SetErrorReason(ErrorReason &&value)
ServiceQuota & WithQuotaArn(Aws::String &&value)
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
bool UsageMetricHasBeenSet() const
bool ValueHasBeenSet() const
void SetQuotaAppliedAtLevel(AppliedLevelEnum &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue