/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains the full set of details that define the service
* quota.See Also:
AWS
* API Reference
Specifies the service that you want to use.
*/ inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } /** *Specifies the service that you want to use.
*/ inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } /** *Specifies the service that you want to use.
*/ inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } /** *Specifies the service that you want to use.
*/ inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } /** *Specifies the service that you want to use.
*/ inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } /** *Specifies the service that you want to use.
*/ inline ServiceQuota& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *Specifies the service that you want to use.
*/ inline ServiceQuota& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *Specifies the service that you want to use.
*/ inline ServiceQuota& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} /** *The name of the AWS service specified in the increase request.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the AWS service specified in the increase request.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the AWS service specified in the increase request.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the AWS service specified in the increase request.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the AWS service specified in the increase request.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the AWS service specified in the increase request.
*/ inline ServiceQuota& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the AWS service specified in the increase request.
*/ inline ServiceQuota& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the AWS service specified in the increase request.
*/ inline ServiceQuota& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The Amazon Resource Name (ARN) of the service quota.
*/ inline const Aws::String& GetQuotaArn() const{ return m_quotaArn; } /** *The Amazon Resource Name (ARN) of the service quota.
*/ inline bool QuotaArnHasBeenSet() const { return m_quotaArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the service quota.
*/ inline void SetQuotaArn(const Aws::String& value) { m_quotaArnHasBeenSet = true; m_quotaArn = value; } /** *The Amazon Resource Name (ARN) of the service quota.
*/ inline void SetQuotaArn(Aws::String&& value) { m_quotaArnHasBeenSet = true; m_quotaArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the service quota.
*/ inline void SetQuotaArn(const char* value) { m_quotaArnHasBeenSet = true; m_quotaArn.assign(value); } /** *The Amazon Resource Name (ARN) of the service quota.
*/ inline ServiceQuota& WithQuotaArn(const Aws::String& value) { SetQuotaArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the service quota.
*/ inline ServiceQuota& WithQuotaArn(Aws::String&& value) { SetQuotaArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the service quota.
*/ inline ServiceQuota& WithQuotaArn(const char* value) { SetQuotaArn(value); return *this;} /** *The code identifier for the service quota specified.
*/ inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } /** *The code identifier for the service quota specified.
*/ inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } /** *The code identifier for the service quota specified.
*/ inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } /** *The code identifier for the service quota specified.
*/ inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } /** *The code identifier for the service quota specified.
*/ inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } /** *The code identifier for the service quota specified.
*/ inline ServiceQuota& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} /** *The code identifier for the service quota specified.
*/ inline ServiceQuota& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} /** *The code identifier for the service quota specified.
*/ inline ServiceQuota& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} /** *The name identifier of the service quota.
*/ inline const Aws::String& GetQuotaName() const{ return m_quotaName; } /** *The name identifier of the service quota.
*/ inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; } /** *The name identifier of the service quota.
*/ inline void SetQuotaName(const Aws::String& value) { m_quotaNameHasBeenSet = true; m_quotaName = value; } /** *The name identifier of the service quota.
*/ inline void SetQuotaName(Aws::String&& value) { m_quotaNameHasBeenSet = true; m_quotaName = std::move(value); } /** *The name identifier of the service quota.
*/ inline void SetQuotaName(const char* value) { m_quotaNameHasBeenSet = true; m_quotaName.assign(value); } /** *The name identifier of the service quota.
*/ inline ServiceQuota& WithQuotaName(const Aws::String& value) { SetQuotaName(value); return *this;} /** *The name identifier of the service quota.
*/ inline ServiceQuota& WithQuotaName(Aws::String&& value) { SetQuotaName(std::move(value)); return *this;} /** *The name identifier of the service quota.
*/ inline ServiceQuota& WithQuotaName(const char* value) { SetQuotaName(value); return *this;} /** *The value of service quota.
*/ inline double GetValue() const{ return m_value; } /** *The value of service quota.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of service quota.
*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of service quota.
*/ inline ServiceQuota& WithValue(double value) { SetValue(value); return *this;} /** *The unit of measurement for the value of the service quota.
*/ inline const Aws::String& GetUnit() const{ return m_unit; } /** *The unit of measurement for the value of the service quota.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *The unit of measurement for the value of the service quota.
*/ inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; } /** *The unit of measurement for the value of the service quota.
*/ inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *The unit of measurement for the value of the service quota.
*/ inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); } /** *The unit of measurement for the value of the service quota.
*/ inline ServiceQuota& WithUnit(const Aws::String& value) { SetUnit(value); return *this;} /** *The unit of measurement for the value of the service quota.
*/ inline ServiceQuota& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;} /** *The unit of measurement for the value of the service quota.
*/ inline ServiceQuota& WithUnit(const char* value) { SetUnit(value); return *this;} /** *Specifies if the quota value can be increased.
*/ inline bool GetAdjustable() const{ return m_adjustable; } /** *Specifies if the quota value can be increased.
*/ inline bool AdjustableHasBeenSet() const { return m_adjustableHasBeenSet; } /** *Specifies if the quota value can be increased.
*/ inline void SetAdjustable(bool value) { m_adjustableHasBeenSet = true; m_adjustable = value; } /** *Specifies if the quota value can be increased.
*/ inline ServiceQuota& WithAdjustable(bool value) { SetAdjustable(value); return *this;} /** *Specifies if the quota is global.
*/ inline bool GetGlobalQuota() const{ return m_globalQuota; } /** *Specifies if the quota is global.
*/ inline bool GlobalQuotaHasBeenSet() const { return m_globalQuotaHasBeenSet; } /** *Specifies if the quota is global.
*/ inline void SetGlobalQuota(bool value) { m_globalQuotaHasBeenSet = true; m_globalQuota = value; } /** *Specifies if the quota is global.
*/ inline ServiceQuota& WithGlobalQuota(bool value) { SetGlobalQuota(value); return *this;} /** *Specifies the details about the measurement.
*/ inline const MetricInfo& GetUsageMetric() const{ return m_usageMetric; } /** *Specifies the details about the measurement.
*/ inline bool UsageMetricHasBeenSet() const { return m_usageMetricHasBeenSet; } /** *Specifies the details about the measurement.
*/ inline void SetUsageMetric(const MetricInfo& value) { m_usageMetricHasBeenSet = true; m_usageMetric = value; } /** *Specifies the details about the measurement.
*/ inline void SetUsageMetric(MetricInfo&& value) { m_usageMetricHasBeenSet = true; m_usageMetric = std::move(value); } /** *Specifies the details about the measurement.
*/ inline ServiceQuota& WithUsageMetric(const MetricInfo& value) { SetUsageMetric(value); return *this;} /** *Specifies the details about the measurement.
*/ inline ServiceQuota& WithUsageMetric(MetricInfo&& value) { SetUsageMetric(std::move(value)); return *this;} /** *Identifies the unit and value of how time is measured.
*/ inline const QuotaPeriod& GetPeriod() const{ return m_period; } /** *Identifies the unit and value of how time is measured.
*/ inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; } /** *Identifies the unit and value of how time is measured.
*/ inline void SetPeriod(const QuotaPeriod& value) { m_periodHasBeenSet = true; m_period = value; } /** *Identifies the unit and value of how time is measured.
*/ inline void SetPeriod(QuotaPeriod&& value) { m_periodHasBeenSet = true; m_period = std::move(value); } /** *Identifies the unit and value of how time is measured.
*/ inline ServiceQuota& WithPeriod(const QuotaPeriod& value) { SetPeriod(value); return *this;} /** *Identifies the unit and value of how time is measured.
*/ inline ServiceQuota& WithPeriod(QuotaPeriod&& value) { SetPeriod(std::move(value)); return *this;} /** *Specifies the ErrorCode and ErrorMessage when
* success isn't achieved.
Specifies the ErrorCode and ErrorMessage when
* success isn't achieved.
Specifies the ErrorCode and ErrorMessage when
* success isn't achieved.
Specifies the ErrorCode and ErrorMessage when
* success isn't achieved.
Specifies the ErrorCode and ErrorMessage when
* success isn't achieved.
Specifies the ErrorCode and ErrorMessage when
* success isn't achieved.