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

A complex type that contains the type of limit that you specified in the * request and the current value for that limit.

See Also:

AWS * API Reference

*/ class AccountLimit { public: AWS_ROUTE53_API AccountLimit(); AWS_ROUTE53_API AccountLimit(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API AccountLimit& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

The limit that you requested. Valid values include the following:

    *
  • MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks * that you can create using the current account.

  • * MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you * can create using the current account.

  • * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable * delegation sets that you can create using the current account.

  • *

    MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies * that you can create using the current account.

  • * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic * policy instances that you can create using the current account. (Traffic policy * instances are referred to as traffic flow policy records in the Amazon Route 53 * console.)

*/ inline const AccountLimitType& GetType() const{ return m_type; } /** *

The limit that you requested. Valid values include the following:

    *
  • MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks * that you can create using the current account.

  • * MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you * can create using the current account.

  • * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable * delegation sets that you can create using the current account.

  • *

    MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies * that you can create using the current account.

  • * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic * policy instances that you can create using the current account. (Traffic policy * instances are referred to as traffic flow policy records in the Amazon Route 53 * console.)

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The limit that you requested. Valid values include the following:

    *
  • MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks * that you can create using the current account.

  • * MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you * can create using the current account.

  • * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable * delegation sets that you can create using the current account.

  • *

    MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies * that you can create using the current account.

  • * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic * policy instances that you can create using the current account. (Traffic policy * instances are referred to as traffic flow policy records in the Amazon Route 53 * console.)

*/ inline void SetType(const AccountLimitType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The limit that you requested. Valid values include the following:

    *
  • MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks * that you can create using the current account.

  • * MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you * can create using the current account.

  • * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable * delegation sets that you can create using the current account.

  • *

    MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies * that you can create using the current account.

  • * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic * policy instances that you can create using the current account. (Traffic policy * instances are referred to as traffic flow policy records in the Amazon Route 53 * console.)

*/ inline void SetType(AccountLimitType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The limit that you requested. Valid values include the following:

    *
  • MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks * that you can create using the current account.

  • * MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you * can create using the current account.

  • * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable * delegation sets that you can create using the current account.

  • *

    MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies * that you can create using the current account.

  • * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic * policy instances that you can create using the current account. (Traffic policy * instances are referred to as traffic flow policy records in the Amazon Route 53 * console.)

*/ inline AccountLimit& WithType(const AccountLimitType& value) { SetType(value); return *this;} /** *

The limit that you requested. Valid values include the following:

    *
  • MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks * that you can create using the current account.

  • * MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you * can create using the current account.

  • * MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable * delegation sets that you can create using the current account.

  • *

    MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies * that you can create using the current account.

  • * MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic * policy instances that you can create using the current account. (Traffic policy * instances are referred to as traffic flow policy records in the Amazon Route 53 * console.)

*/ inline AccountLimit& WithType(AccountLimitType&& value) { SetType(std::move(value)); return *this;} /** *

The current value for the limit that is specified by Type.

*/ inline long long GetValue() const{ return m_value; } /** *

The current value for the limit that is specified by Type.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The current value for the limit that is specified by Type.

*/ inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; } /** *

The current value for the limit that is specified by Type.

*/ inline AccountLimit& WithValue(long long value) { SetValue(value); return *this;} private: AccountLimitType m_type; bool m_typeHasBeenSet = false; long long m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws