/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { /** *

A complex type that contains the requested limit.

See Also:

* AWS * API Reference

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

The current setting for the specified limit. For example, if you specified * MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in * the request, the value of Limit is the maximum number of health * checks that you can create using the current account.

*/ inline const AccountLimit& GetLimit() const{ return m_limit; } /** *

The current setting for the specified limit. For example, if you specified * MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in * the request, the value of Limit is the maximum number of health * checks that you can create using the current account.

*/ inline void SetLimit(const AccountLimit& value) { m_limit = value; } /** *

The current setting for the specified limit. For example, if you specified * MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in * the request, the value of Limit is the maximum number of health * checks that you can create using the current account.

*/ inline void SetLimit(AccountLimit&& value) { m_limit = std::move(value); } /** *

The current setting for the specified limit. For example, if you specified * MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in * the request, the value of Limit is the maximum number of health * checks that you can create using the current account.

*/ inline GetAccountLimitResult& WithLimit(const AccountLimit& value) { SetLimit(value); return *this;} /** *

The current setting for the specified limit. For example, if you specified * MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in * the request, the value of Limit is the maximum number of health * checks that you can create using the current account.

*/ inline GetAccountLimitResult& WithLimit(AccountLimit&& value) { SetLimit(std::move(value)); return *this;} /** *

The current number of entities that you have created of the specified type. * For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the * value of Type in the request, the value of Count is * the current number of health checks that you have created using the current * account.

*/ inline long long GetCount() const{ return m_count; } /** *

The current number of entities that you have created of the specified type. * For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the * value of Type in the request, the value of Count is * the current number of health checks that you have created using the current * account.

*/ inline void SetCount(long long value) { m_count = value; } /** *

The current number of entities that you have created of the specified type. * For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the * value of Type in the request, the value of Count is * the current number of health checks that you have created using the current * account.

*/ inline GetAccountLimitResult& WithCount(long long value) { SetCount(value); return *this;} private: AccountLimit m_limit; long long m_count; }; } // namespace Model } // namespace Route53 } // namespace Aws