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

General information about the IP set.

See Also:

AWS * API Reference

*/ class IPSetMetadata { public: AWS_NETWORKFIREWALL_API IPSetMetadata(); AWS_NETWORKFIREWALL_API IPSetMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKFIREWALL_API IPSetMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Describes the total number of CIDR blocks currently in use by the IP set * references in a firewall. To determine how many CIDR blocks are available for * you to use in a firewall, you can call AvailableCIDRCount.

*/ inline int GetResolvedCIDRCount() const{ return m_resolvedCIDRCount; } /** *

Describes the total number of CIDR blocks currently in use by the IP set * references in a firewall. To determine how many CIDR blocks are available for * you to use in a firewall, you can call AvailableCIDRCount.

*/ inline bool ResolvedCIDRCountHasBeenSet() const { return m_resolvedCIDRCountHasBeenSet; } /** *

Describes the total number of CIDR blocks currently in use by the IP set * references in a firewall. To determine how many CIDR blocks are available for * you to use in a firewall, you can call AvailableCIDRCount.

*/ inline void SetResolvedCIDRCount(int value) { m_resolvedCIDRCountHasBeenSet = true; m_resolvedCIDRCount = value; } /** *

Describes the total number of CIDR blocks currently in use by the IP set * references in a firewall. To determine how many CIDR blocks are available for * you to use in a firewall, you can call AvailableCIDRCount.

*/ inline IPSetMetadata& WithResolvedCIDRCount(int value) { SetResolvedCIDRCount(value); return *this;} private: int m_resolvedCIDRCount; bool m_resolvedCIDRCountHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws