/** * 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 ReusableDelegationSetLimit { public: AWS_ROUTE53_API ReusableDelegationSetLimit(); AWS_ROUTE53_API ReusableDelegationSetLimit(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API ReusableDelegationSetLimit& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

The limit that you requested: * MAX_ZONES_BY_REUSABLE_DELEGATION_SET, the maximum number of hosted * zones that you can associate with the specified reusable delegation set.

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

The limit that you requested: * MAX_ZONES_BY_REUSABLE_DELEGATION_SET, the maximum number of hosted * zones that you can associate with the specified reusable delegation set.

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

The limit that you requested: * MAX_ZONES_BY_REUSABLE_DELEGATION_SET, 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; } /** *

The limit that you requested: * MAX_ZONES_BY_REUSABLE_DELEGATION_SET, 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); } /** *

The limit that you requested: * MAX_ZONES_BY_REUSABLE_DELEGATION_SET, the maximum number of hosted * zones that you can associate with the specified reusable delegation set.

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

The limit that you requested: * MAX_ZONES_BY_REUSABLE_DELEGATION_SET, the maximum number of hosted * zones that you can associate with the specified reusable delegation set.

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

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET * limit.

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

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET * limit.

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

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET * limit.

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

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET * limit.

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