7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-firewall/model/IPSetMetadata.h>
23namespace NetworkFirewall
51 inline void SetAvailableCIDRCount(
int value) { m_availableCIDRCountHasBeenSet =
true; m_availableCIDRCount = value; }
61 inline void SetUtilizedCIDRCount(
int value) { m_utilizedCIDRCountHasBeenSet =
true; m_utilizedCIDRCount = value; }
71 template<
typename IPSetReferencesT = Aws::Map<Aws::String, IPSetMetadata>>
72 void SetIPSetReferences(IPSetReferencesT&& value) { m_iPSetReferencesHasBeenSet =
true; m_iPSetReferences = std::forward<IPSetReferencesT>(value); }
73 template<
typename IPSetReferencesT = Aws::Map<Aws::String, IPSetMetadata>>
75 template<
typename IPSetReferencesKeyT = Aws::String,
typename IPSetReferencesValueT = IPSetMetadata>
77 m_iPSetReferencesHasBeenSet =
true; m_iPSetReferences.emplace(std::forward<IPSetReferencesKeyT>(key), std::forward<IPSetReferencesValueT>(value));
return *
this;
82 int m_availableCIDRCount{0};
83 bool m_availableCIDRCountHasBeenSet =
false;
85 int m_utilizedCIDRCount{0};
86 bool m_utilizedCIDRCountHasBeenSet =
false;
89 bool m_iPSetReferencesHasBeenSet =
false;
CIDRSummary & AddIPSetReferences(IPSetReferencesKeyT &&key, IPSetReferencesValueT &&value)
bool IPSetReferencesHasBeenSet() const
void SetAvailableCIDRCount(int value)
AWS_NETWORKFIREWALL_API CIDRSummary()=default
CIDRSummary & WithIPSetReferences(IPSetReferencesT &&value)
bool UtilizedCIDRCountHasBeenSet() const
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
bool AvailableCIDRCountHasBeenSet() const
void SetUtilizedCIDRCount(int value)
int GetUtilizedCIDRCount() const
const Aws::Map< Aws::String, IPSetMetadata > & GetIPSetReferences() const
AWS_NETWORKFIREWALL_API CIDRSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CIDRSummary & WithAvailableCIDRCount(int value)
int GetAvailableCIDRCount() const
void SetIPSetReferences(IPSetReferencesT &&value)
CIDRSummary & WithUtilizedCIDRCount(int value)
AWS_NETWORKFIREWALL_API CIDRSummary(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue