/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a quota increase request.See Also:
AWS
* API Reference
The service identifier.
*/ inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } /** *The service identifier.
*/ inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } /** *The service identifier.
*/ inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } /** *The service identifier.
*/ inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } /** *The service identifier.
*/ inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } /** *The service identifier.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *The service identifier.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *The service identifier.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} /** *The service name.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The service name.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The service name.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The service name.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The service name.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The service name.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The service name.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The service name.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The quota identifier.
*/ inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } /** *The quota identifier.
*/ inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } /** *The quota identifier.
*/ inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } /** *The quota identifier.
*/ inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } /** *The quota identifier.
*/ inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } /** *The quota identifier.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} /** *The quota identifier.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} /** *The quota identifier.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} /** *The quota name.
*/ inline const Aws::String& GetQuotaName() const{ return m_quotaName; } /** *The quota name.
*/ inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; } /** *The quota name.
*/ inline void SetQuotaName(const Aws::String& value) { m_quotaNameHasBeenSet = true; m_quotaName = value; } /** *The quota name.
*/ inline void SetQuotaName(Aws::String&& value) { m_quotaNameHasBeenSet = true; m_quotaName = std::move(value); } /** *The quota name.
*/ inline void SetQuotaName(const char* value) { m_quotaNameHasBeenSet = true; m_quotaName.assign(value); } /** *The quota name.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaName(const Aws::String& value) { SetQuotaName(value); return *this;} /** *The quota name.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaName(Aws::String&& value) { SetQuotaName(std::move(value)); return *this;} /** *The quota name.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaName(const char* value) { SetQuotaName(value); return *this;} /** *The new, increased value of the quota.
*/ inline double GetDesiredValue() const{ return m_desiredValue; } /** *The new, increased value of the quota.
*/ inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; } /** *The new, increased value of the quota.
*/ inline void SetDesiredValue(double value) { m_desiredValueHasBeenSet = true; m_desiredValue = value; } /** *The new, increased value of the quota.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithDesiredValue(double value) { SetDesiredValue(value); return *this;} /** *The AWS Region.
*/ inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; } /** *The AWS Region.
*/ inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; } /** *The AWS Region.
*/ inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; } /** *The AWS Region.
*/ inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); } /** *The AWS Region.
*/ inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); } /** *The AWS Region.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;} /** *The AWS Region.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;} /** *The AWS Region.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;} /** *The unit of measurement.
*/ inline const Aws::String& GetUnit() const{ return m_unit; } /** *The unit of measurement.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *The unit of measurement.
*/ inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; } /** *The unit of measurement.
*/ inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *The unit of measurement.
*/ inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); } /** *The unit of measurement.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithUnit(const Aws::String& value) { SetUnit(value); return *this;} /** *The unit of measurement.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;} /** *The unit of measurement.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithUnit(const char* value) { SetUnit(value); return *this;} /** *Indicates whether the quota is global.
*/ inline bool GetGlobalQuota() const{ return m_globalQuota; } /** *Indicates whether the quota is global.
*/ inline bool GlobalQuotaHasBeenSet() const { return m_globalQuotaHasBeenSet; } /** *Indicates whether the quota is global.
*/ inline void SetGlobalQuota(bool value) { m_globalQuotaHasBeenSet = true; m_globalQuota = value; } /** *Indicates whether the quota is global.
*/ inline ServiceQuotaIncreaseRequestInTemplate& WithGlobalQuota(bool value) { SetGlobalQuota(value); return *this;} private: Aws::String m_serviceCode; bool m_serviceCodeHasBeenSet = false; Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; Aws::String m_quotaCode; bool m_quotaCodeHasBeenSet = false; Aws::String m_quotaName; bool m_quotaNameHasBeenSet = false; double m_desiredValue; bool m_desiredValueHasBeenSet = false; Aws::String m_awsRegion; bool m_awsRegionHasBeenSet = false; Aws::String m_unit; bool m_unitHasBeenSet = false; bool m_globalQuota; bool m_globalQuotaHasBeenSet = false; }; } // namespace Model } // namespace ServiceQuotas } // namespace Aws