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

A complex type that contains information about the request to create a hosted * zone.

See Also:

AWS * API Reference

*/ class GetAccountLimitRequest : public Route53Request { public: AWS_ROUTE53_API GetAccountLimitRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetAccountLimit"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; /** *

The limit that you want to get. 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 want to get. 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 want to get. 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 want to get. 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 want to get. 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 GetAccountLimitRequest& WithType(const AccountLimitType& value) { SetType(value); return *this;} /** *

The limit that you want to get. 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 GetAccountLimitRequest& WithType(AccountLimitType&& value) { SetType(std::move(value)); return *this;} private: AccountLimitType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws