/**
* 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 unique identifier.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier.
*/ inline RequestedServiceQuotaChange& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier.
*/ inline RequestedServiceQuotaChange& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier.
*/ inline RequestedServiceQuotaChange& WithId(const char* value) { SetId(value); return *this;} /** *The case ID.
*/ inline const Aws::String& GetCaseId() const{ return m_caseId; } /** *The case ID.
*/ inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; } /** *The case ID.
*/ inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; } /** *The case ID.
*/ inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); } /** *The case ID.
*/ inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); } /** *The case ID.
*/ inline RequestedServiceQuotaChange& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;} /** *The case ID.
*/ inline RequestedServiceQuotaChange& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;} /** *The case ID.
*/ inline RequestedServiceQuotaChange& WithCaseId(const char* value) { SetCaseId(value); return *this;} /** *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 RequestedServiceQuotaChange& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *The service identifier.
*/ inline RequestedServiceQuotaChange& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *The service identifier.
*/ inline RequestedServiceQuotaChange& 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 RequestedServiceQuotaChange& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The service name.
*/ inline RequestedServiceQuotaChange& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The service name.
*/ inline RequestedServiceQuotaChange& 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 RequestedServiceQuotaChange& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} /** *The quota identifier.
*/ inline RequestedServiceQuotaChange& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} /** *The quota identifier.
*/ inline RequestedServiceQuotaChange& 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 RequestedServiceQuotaChange& WithQuotaName(const Aws::String& value) { SetQuotaName(value); return *this;} /** *The quota name.
*/ inline RequestedServiceQuotaChange& WithQuotaName(Aws::String&& value) { SetQuotaName(std::move(value)); return *this;} /** *The quota name.
*/ inline RequestedServiceQuotaChange& WithQuotaName(const char* value) { SetQuotaName(value); return *this;} /** *The new, increased value for the quota.
*/ inline double GetDesiredValue() const{ return m_desiredValue; } /** *The new, increased value for the quota.
*/ inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; } /** *The new, increased value for the quota.
*/ inline void SetDesiredValue(double value) { m_desiredValueHasBeenSet = true; m_desiredValue = value; } /** *The new, increased value for the quota.
*/ inline RequestedServiceQuotaChange& WithDesiredValue(double value) { SetDesiredValue(value); return *this;} /** *The state of the quota increase request.
*/ inline const RequestStatus& GetStatus() const{ return m_status; } /** *The state of the quota increase request.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The state of the quota increase request.
*/ inline void SetStatus(const RequestStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The state of the quota increase request.
*/ inline void SetStatus(RequestStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The state of the quota increase request.
*/ inline RequestedServiceQuotaChange& WithStatus(const RequestStatus& value) { SetStatus(value); return *this;} /** *The state of the quota increase request.
*/ inline RequestedServiceQuotaChange& WithStatus(RequestStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The date and time when the quota increase request was received and the case * ID was created.
*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *The date and time when the quota increase request was received and the case * ID was created.
*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *The date and time when the quota increase request was received and the case * ID was created.
*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *The date and time when the quota increase request was received and the case * ID was created.
*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *The date and time when the quota increase request was received and the case * ID was created.
*/ inline RequestedServiceQuotaChange& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *The date and time when the quota increase request was received and the case * ID was created.
*/ inline RequestedServiceQuotaChange& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *The date and time of the most recent change.
*/ inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; } /** *The date and time of the most recent change.
*/ inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; } /** *The date and time of the most recent change.
*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; } /** *The date and time of the most recent change.
*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); } /** *The date and time of the most recent change.
*/ inline RequestedServiceQuotaChange& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *The date and time of the most recent change.
*/ inline RequestedServiceQuotaChange& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} /** *The IAM identity of the requester.
*/ inline const Aws::String& GetRequester() const{ return m_requester; } /** *The IAM identity of the requester.
*/ inline bool RequesterHasBeenSet() const { return m_requesterHasBeenSet; } /** *The IAM identity of the requester.
*/ inline void SetRequester(const Aws::String& value) { m_requesterHasBeenSet = true; m_requester = value; } /** *The IAM identity of the requester.
*/ inline void SetRequester(Aws::String&& value) { m_requesterHasBeenSet = true; m_requester = std::move(value); } /** *The IAM identity of the requester.
*/ inline void SetRequester(const char* value) { m_requesterHasBeenSet = true; m_requester.assign(value); } /** *The IAM identity of the requester.
*/ inline RequestedServiceQuotaChange& WithRequester(const Aws::String& value) { SetRequester(value); return *this;} /** *The IAM identity of the requester.
*/ inline RequestedServiceQuotaChange& WithRequester(Aws::String&& value) { SetRequester(std::move(value)); return *this;} /** *The IAM identity of the requester.
*/ inline RequestedServiceQuotaChange& WithRequester(const char* value) { SetRequester(value); return *this;} /** *The Amazon Resource Name (ARN) of the quota.
*/ inline const Aws::String& GetQuotaArn() const{ return m_quotaArn; } /** *The Amazon Resource Name (ARN) of the quota.
*/ inline bool QuotaArnHasBeenSet() const { return m_quotaArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the quota.
*/ inline void SetQuotaArn(const Aws::String& value) { m_quotaArnHasBeenSet = true; m_quotaArn = value; } /** *The Amazon Resource Name (ARN) of the quota.
*/ inline void SetQuotaArn(Aws::String&& value) { m_quotaArnHasBeenSet = true; m_quotaArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the quota.
*/ inline void SetQuotaArn(const char* value) { m_quotaArnHasBeenSet = true; m_quotaArn.assign(value); } /** *The Amazon Resource Name (ARN) of the quota.
*/ inline RequestedServiceQuotaChange& WithQuotaArn(const Aws::String& value) { SetQuotaArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the quota.
*/ inline RequestedServiceQuotaChange& WithQuotaArn(Aws::String&& value) { SetQuotaArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the quota.
*/ inline RequestedServiceQuotaChange& WithQuotaArn(const char* value) { SetQuotaArn(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 RequestedServiceQuotaChange& WithGlobalQuota(bool value) { SetGlobalQuota(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 RequestedServiceQuotaChange& WithUnit(const Aws::String& value) { SetUnit(value); return *this;} /** *The unit of measurement.
*/ inline RequestedServiceQuotaChange& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;} /** *The unit of measurement.
*/ inline RequestedServiceQuotaChange& WithUnit(const char* value) { SetUnit(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_caseId; bool m_caseIdHasBeenSet = false; 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; RequestStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet = false; Aws::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; Aws::String m_requester; bool m_requesterHasBeenSet = false; Aws::String m_quotaArn; bool m_quotaArnHasBeenSet = false; bool m_globalQuota; bool m_globalQuotaHasBeenSet = false; Aws::String m_unit; bool m_unitHasBeenSet = false; }; } // namespace Model } // namespace ServiceQuotas } // namespace Aws