/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace RDS { namespace Model { /** *

Data returned by the DescribeAccountAttributes action.

See * Also:

AWS * API Reference

*/ class DescribeAccountAttributesResult { public: AWS_RDS_API DescribeAccountAttributesResult(); AWS_RDS_API DescribeAccountAttributesResult(const Aws::AmazonWebServiceResult& result); AWS_RDS_API DescribeAccountAttributesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of AccountQuota objects. Within this list, each quota has * a name, a count of usage toward the quota maximum, and a maximum value for the * quota.

*/ inline const Aws::Vector& GetAccountQuotas() const{ return m_accountQuotas; } /** *

A list of AccountQuota objects. Within this list, each quota has * a name, a count of usage toward the quota maximum, and a maximum value for the * quota.

*/ inline void SetAccountQuotas(const Aws::Vector& value) { m_accountQuotas = value; } /** *

A list of AccountQuota objects. Within this list, each quota has * a name, a count of usage toward the quota maximum, and a maximum value for the * quota.

*/ inline void SetAccountQuotas(Aws::Vector&& value) { m_accountQuotas = std::move(value); } /** *

A list of AccountQuota objects. Within this list, each quota has * a name, a count of usage toward the quota maximum, and a maximum value for the * quota.

*/ inline DescribeAccountAttributesResult& WithAccountQuotas(const Aws::Vector& value) { SetAccountQuotas(value); return *this;} /** *

A list of AccountQuota objects. Within this list, each quota has * a name, a count of usage toward the quota maximum, and a maximum value for the * quota.

*/ inline DescribeAccountAttributesResult& WithAccountQuotas(Aws::Vector&& value) { SetAccountQuotas(std::move(value)); return *this;} /** *

A list of AccountQuota objects. Within this list, each quota has * a name, a count of usage toward the quota maximum, and a maximum value for the * quota.

*/ inline DescribeAccountAttributesResult& AddAccountQuotas(const AccountQuota& value) { m_accountQuotas.push_back(value); return *this; } /** *

A list of AccountQuota objects. Within this list, each quota has * a name, a count of usage toward the quota maximum, and a maximum value for the * quota.

*/ inline DescribeAccountAttributesResult& AddAccountQuotas(AccountQuota&& value) { m_accountQuotas.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeAccountAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeAccountAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_accountQuotas; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws