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

Returns the ServiceQuota object which contains all values for a * quota.

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

Returns the ServiceQuota object which contains all values for a * quota.

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

Returns the ServiceQuota object which contains all values for a * quota.

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

Returns the ServiceQuota object which contains all values for a * quota.

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

Returns the ServiceQuota object which contains all values for a * quota.

*/ inline GetServiceQuotaResult& WithQuota(ServiceQuota&& value) { SetQuota(std::move(value)); return *this;} private: ServiceQuota m_quota; }; } // namespace Model } // namespace ServiceQuotas } // namespace Aws