/** * 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 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 GetAccountLimitResult { public: AWS_ROUTE53_API GetAccountLimitResult(); AWS_ROUTE53_API GetAccountLimitResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53_API 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;} 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 GetAccountLimitResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAccountLimitResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAccountLimitResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AccountLimit m_limit; long long m_count; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws