/** * 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 { namespace Route53 { namespace Model { /** *

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

See Also:

AWS * API Reference

*/ class GetHostedZoneLimitRequest : public Route53Request { public: AWS_ROUTE53_API GetHostedZoneLimitRequest(); // 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 "GetHostedZoneLimit"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; /** *

The limit that you want to get. Valid values include the following:

    *
  • MAX_RRSETS_BY_ZONE: The maximum number of records that you can * create in the specified hosted zone.

  • * MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you * can associate with the specified private hosted zone.

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

The limit that you want to get. Valid values include the following:

    *
  • MAX_RRSETS_BY_ZONE: The maximum number of records that you can * create in the specified hosted zone.

  • * MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you * can associate with the specified private hosted zone.

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

The limit that you want to get. Valid values include the following:

    *
  • MAX_RRSETS_BY_ZONE: The maximum number of records that you can * create in the specified hosted zone.

  • * MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you * can associate with the specified private hosted zone.

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

The limit that you want to get. Valid values include the following:

    *
  • MAX_RRSETS_BY_ZONE: The maximum number of records that you can * create in the specified hosted zone.

  • * MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you * can associate with the specified private hosted zone.

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

The limit that you want to get. Valid values include the following:

    *
  • MAX_RRSETS_BY_ZONE: The maximum number of records that you can * create in the specified hosted zone.

  • * MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you * can associate with the specified private hosted zone.

*/ inline GetHostedZoneLimitRequest& WithType(const HostedZoneLimitType& value) { SetType(value); return *this;} /** *

The limit that you want to get. Valid values include the following:

    *
  • MAX_RRSETS_BY_ZONE: The maximum number of records that you can * create in the specified hosted zone.

  • * MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you * can associate with the specified private hosted zone.

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

The ID of the hosted zone that you want to get a limit for.

*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *

The ID of the hosted zone that you want to get a limit for.

*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *

The ID of the hosted zone that you want to get a limit for.

*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *

The ID of the hosted zone that you want to get a limit for.

*/ inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); } /** *

The ID of the hosted zone that you want to get a limit for.

*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *

The ID of the hosted zone that you want to get a limit for.

*/ inline GetHostedZoneLimitRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *

The ID of the hosted zone that you want to get a limit for.

*/ inline GetHostedZoneLimitRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *

The ID of the hosted zone that you want to get a limit for.

*/ inline GetHostedZoneLimitRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} private: HostedZoneLimitType m_type; bool m_typeHasBeenSet = false; Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws