/** * 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 Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace NetworkFirewall { namespace Model { /** *

The capacity usage summary of the resources used by the ReferenceSets * in a firewall.

See Also:

AWS * API Reference

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

Describes the capacity usage of the CIDR blocks used by the IP set references * in a firewall.

*/ inline const CIDRSummary& GetCIDRs() const{ return m_cIDRs; } /** *

Describes the capacity usage of the CIDR blocks used by the IP set references * in a firewall.

*/ inline bool CIDRsHasBeenSet() const { return m_cIDRsHasBeenSet; } /** *

Describes the capacity usage of the CIDR blocks used by the IP set references * in a firewall.

*/ inline void SetCIDRs(const CIDRSummary& value) { m_cIDRsHasBeenSet = true; m_cIDRs = value; } /** *

Describes the capacity usage of the CIDR blocks used by the IP set references * in a firewall.

*/ inline void SetCIDRs(CIDRSummary&& value) { m_cIDRsHasBeenSet = true; m_cIDRs = std::move(value); } /** *

Describes the capacity usage of the CIDR blocks used by the IP set references * in a firewall.

*/ inline CapacityUsageSummary& WithCIDRs(const CIDRSummary& value) { SetCIDRs(value); return *this;} /** *

Describes the capacity usage of the CIDR blocks used by the IP set references * in a firewall.

*/ inline CapacityUsageSummary& WithCIDRs(CIDRSummary&& value) { SetCIDRs(std::move(value)); return *this;} private: CIDRSummary m_cIDRs; bool m_cIDRsHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws