/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ServiceQuotas { namespace Model { /** */ class RequestServiceQuotaIncreaseRequest : public ServiceQuotasRequest { public: AWS_SERVICEQUOTAS_API RequestServiceQuotaIncreaseRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "RequestServiceQuotaIncrease"; } AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override; AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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 RequestServiceQuotaIncreaseRequest& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *

The service identifier.

*/ inline RequestServiceQuotaIncreaseRequest& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *

The service identifier.

*/ inline RequestServiceQuotaIncreaseRequest& WithServiceCode(const char* value) { SetServiceCode(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 RequestServiceQuotaIncreaseRequest& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} /** *

The quota identifier.

*/ inline RequestServiceQuotaIncreaseRequest& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} /** *

The quota identifier.

*/ inline RequestServiceQuotaIncreaseRequest& WithQuotaCode(const char* value) { SetQuotaCode(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 RequestServiceQuotaIncreaseRequest& WithDesiredValue(double value) { SetDesiredValue(value); return *this;} private: Aws::String m_serviceCode; bool m_serviceCodeHasBeenSet = false; Aws::String m_quotaCode; bool m_quotaCodeHasBeenSet = false; double m_desiredValue; bool m_desiredValueHasBeenSet = false; }; } // namespace Model } // namespace ServiceQuotas } // namespace Aws