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

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum * number of hosted zones that you can associate with the specified reusable * delegation set.

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

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum * number of hosted zones that you can associate with the specified reusable * delegation set.

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

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum * number of hosted zones that you can associate with the specified reusable * delegation set.

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

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum * number of hosted zones that you can associate with the specified reusable * delegation set.

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

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum * number of hosted zones that you can associate with the specified reusable * delegation set.

*/ inline GetReusableDelegationSetLimitRequest& WithType(const ReusableDelegationSetLimitType& value) { SetType(value); return *this;} /** *

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum * number of hosted zones that you can associate with the specified reusable * delegation set.

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

The ID of the delegation set that you want to get the limit for.

*/ inline const Aws::String& GetDelegationSetId() const{ return m_delegationSetId; } /** *

The ID of the delegation set that you want to get the limit for.

*/ inline bool DelegationSetIdHasBeenSet() const { return m_delegationSetIdHasBeenSet; } /** *

The ID of the delegation set that you want to get the limit for.

*/ inline void SetDelegationSetId(const Aws::String& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = value; } /** *

The ID of the delegation set that you want to get the limit for.

*/ inline void SetDelegationSetId(Aws::String&& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = std::move(value); } /** *

The ID of the delegation set that you want to get the limit for.

*/ inline void SetDelegationSetId(const char* value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId.assign(value); } /** *

The ID of the delegation set that you want to get the limit for.

*/ inline GetReusableDelegationSetLimitRequest& WithDelegationSetId(const Aws::String& value) { SetDelegationSetId(value); return *this;} /** *

The ID of the delegation set that you want to get the limit for.

*/ inline GetReusableDelegationSetLimitRequest& WithDelegationSetId(Aws::String&& value) { SetDelegationSetId(std::move(value)); return *this;} /** *

The ID of the delegation set that you want to get the limit for.

*/ inline GetReusableDelegationSetLimitRequest& WithDelegationSetId(const char* value) { SetDelegationSetId(value); return *this;} private: ReusableDelegationSetLimitType m_type; bool m_typeHasBeenSet; Aws::String m_delegationSetId; bool m_delegationSetIdHasBeenSet; }; } // namespace Model } // namespace Route53 } // namespace Aws