/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summarizes the CIDR blocks used by the IP set references in a firewall.
* Network Firewall calculates the number of CIDRs by taking an aggregated count of
* all CIDRs used by the IP sets you are referencing.See Also:
AWS
* API Reference
The number of CIDR blocks available for use by the IP set references in a * firewall.
*/ inline int GetAvailableCIDRCount() const{ return m_availableCIDRCount; } /** *The number of CIDR blocks available for use by the IP set references in a * firewall.
*/ inline bool AvailableCIDRCountHasBeenSet() const { return m_availableCIDRCountHasBeenSet; } /** *The number of CIDR blocks available for use by the IP set references in a * firewall.
*/ inline void SetAvailableCIDRCount(int value) { m_availableCIDRCountHasBeenSet = true; m_availableCIDRCount = value; } /** *The number of CIDR blocks available for use by the IP set references in a * firewall.
*/ inline CIDRSummary& WithAvailableCIDRCount(int value) { SetAvailableCIDRCount(value); return *this;} /** *The number of CIDR blocks used by the IP set references in a firewall.
*/ inline int GetUtilizedCIDRCount() const{ return m_utilizedCIDRCount; } /** *The number of CIDR blocks used by the IP set references in a firewall.
*/ inline bool UtilizedCIDRCountHasBeenSet() const { return m_utilizedCIDRCountHasBeenSet; } /** *The number of CIDR blocks used by the IP set references in a firewall.
*/ inline void SetUtilizedCIDRCount(int value) { m_utilizedCIDRCountHasBeenSet = true; m_utilizedCIDRCount = value; } /** *The number of CIDR blocks used by the IP set references in a firewall.
*/ inline CIDRSummary& WithUtilizedCIDRCount(int value) { SetUtilizedCIDRCount(value); return *this;} /** *The list of the IP set references used by a firewall.
*/ inline const Aws::MapThe list of the IP set references used by a firewall.
*/ inline bool IPSetReferencesHasBeenSet() const { return m_iPSetReferencesHasBeenSet; } /** *The list of the IP set references used by a firewall.
*/ inline void SetIPSetReferences(const Aws::MapThe list of the IP set references used by a firewall.
*/ inline void SetIPSetReferences(Aws::MapThe list of the IP set references used by a firewall.
*/ inline CIDRSummary& WithIPSetReferences(const Aws::MapThe list of the IP set references used by a firewall.
*/ inline CIDRSummary& WithIPSetReferences(Aws::MapThe list of the IP set references used by a firewall.
*/ inline CIDRSummary& AddIPSetReferences(const Aws::String& key, const IPSetMetadata& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, value); return *this; } /** *The list of the IP set references used by a firewall.
*/ inline CIDRSummary& AddIPSetReferences(Aws::String&& key, const IPSetMetadata& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(std::move(key), value); return *this; } /** *The list of the IP set references used by a firewall.
*/ inline CIDRSummary& AddIPSetReferences(const Aws::String& key, IPSetMetadata&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, std::move(value)); return *this; } /** *The list of the IP set references used by a firewall.
*/ inline CIDRSummary& AddIPSetReferences(Aws::String&& key, IPSetMetadata&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(std::move(key), std::move(value)); return *this; } /** *The list of the IP set references used by a firewall.
*/ inline CIDRSummary& AddIPSetReferences(const char* key, IPSetMetadata&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, std::move(value)); return *this; } /** *The list of the IP set references used by a firewall.
*/ inline CIDRSummary& AddIPSetReferences(const char* key, const IPSetMetadata& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, value); return *this; } private: int m_availableCIDRCount; bool m_availableCIDRCountHasBeenSet = false; int m_utilizedCIDRCount; bool m_utilizedCIDRCountHasBeenSet = false; Aws::Map