/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ServiceQuotas { namespace Model { class GetServiceQuotaResult { public: AWS_SERVICEQUOTAS_API GetServiceQuotaResult(); AWS_SERVICEQUOTAS_API GetServiceQuotaResult(const Aws::AmazonWebServiceResult& result); AWS_SERVICEQUOTAS_API GetServiceQuotaResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the quota.

*/ inline const ServiceQuota& GetQuota() const{ return m_quota; } /** *

Information about the quota.

*/ inline void SetQuota(const ServiceQuota& value) { m_quota = value; } /** *

Information about the quota.

*/ inline void SetQuota(ServiceQuota&& value) { m_quota = std::move(value); } /** *

Information about the quota.

*/ inline GetServiceQuotaResult& WithQuota(const ServiceQuota& value) { SetQuota(value); return *this;} /** *

Information about the quota.

*/ inline GetServiceQuotaResult& WithQuota(ServiceQuota&& value) { SetQuota(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetServiceQuotaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetServiceQuotaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetServiceQuotaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ServiceQuota m_quota; Aws::String m_requestId; }; } // namespace Model } // namespace ServiceQuotas } // namespace Aws