/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Settings that are available for use in the rules in the RuleGroup
* where this is defined. See Also:
AWS
* API Reference
A list of IP addresses and address ranges, in CIDR notation.
*/ inline const Aws::MapA list of IP addresses and address ranges, in CIDR notation.
*/ inline bool IPSetsHasBeenSet() const { return m_iPSetsHasBeenSet; } /** *A list of IP addresses and address ranges, in CIDR notation.
*/ inline void SetIPSets(const Aws::MapA list of IP addresses and address ranges, in CIDR notation.
*/ inline void SetIPSets(Aws::MapA list of IP addresses and address ranges, in CIDR notation.
*/ inline RuleVariables& WithIPSets(const Aws::MapA list of IP addresses and address ranges, in CIDR notation.
*/ inline RuleVariables& WithIPSets(Aws::MapA list of IP addresses and address ranges, in CIDR notation.
*/ inline RuleVariables& AddIPSets(const Aws::String& key, const IPSet& value) { m_iPSetsHasBeenSet = true; m_iPSets.emplace(key, value); return *this; } /** *A list of IP addresses and address ranges, in CIDR notation.
*/ inline RuleVariables& AddIPSets(Aws::String&& key, const IPSet& value) { m_iPSetsHasBeenSet = true; m_iPSets.emplace(std::move(key), value); return *this; } /** *A list of IP addresses and address ranges, in CIDR notation.
*/ inline RuleVariables& AddIPSets(const Aws::String& key, IPSet&& value) { m_iPSetsHasBeenSet = true; m_iPSets.emplace(key, std::move(value)); return *this; } /** *A list of IP addresses and address ranges, in CIDR notation.
*/ inline RuleVariables& AddIPSets(Aws::String&& key, IPSet&& value) { m_iPSetsHasBeenSet = true; m_iPSets.emplace(std::move(key), std::move(value)); return *this; } /** *A list of IP addresses and address ranges, in CIDR notation.
*/ inline RuleVariables& AddIPSets(const char* key, IPSet&& value) { m_iPSetsHasBeenSet = true; m_iPSets.emplace(key, std::move(value)); return *this; } /** *A list of IP addresses and address ranges, in CIDR notation.
*/ inline RuleVariables& AddIPSets(const char* key, const IPSet& value) { m_iPSetsHasBeenSet = true; m_iPSets.emplace(key, value); return *this; } /** *A list of port ranges.
*/ inline const Aws::MapA list of port ranges.
*/ inline bool PortSetsHasBeenSet() const { return m_portSetsHasBeenSet; } /** *A list of port ranges.
*/ inline void SetPortSets(const Aws::MapA list of port ranges.
*/ inline void SetPortSets(Aws::MapA list of port ranges.
*/ inline RuleVariables& WithPortSets(const Aws::MapA list of port ranges.
*/ inline RuleVariables& WithPortSets(Aws::MapA list of port ranges.
*/ inline RuleVariables& AddPortSets(const Aws::String& key, const PortSet& value) { m_portSetsHasBeenSet = true; m_portSets.emplace(key, value); return *this; } /** *A list of port ranges.
*/ inline RuleVariables& AddPortSets(Aws::String&& key, const PortSet& value) { m_portSetsHasBeenSet = true; m_portSets.emplace(std::move(key), value); return *this; } /** *A list of port ranges.
*/ inline RuleVariables& AddPortSets(const Aws::String& key, PortSet&& value) { m_portSetsHasBeenSet = true; m_portSets.emplace(key, std::move(value)); return *this; } /** *A list of port ranges.
*/ inline RuleVariables& AddPortSets(Aws::String&& key, PortSet&& value) { m_portSetsHasBeenSet = true; m_portSets.emplace(std::move(key), std::move(value)); return *this; } /** *A list of port ranges.
*/ inline RuleVariables& AddPortSets(const char* key, PortSet&& value) { m_portSetsHasBeenSet = true; m_portSets.emplace(key, std::move(value)); return *this; } /** *A list of port ranges.
*/ inline RuleVariables& AddPortSets(const char* key, const PortSet& value) { m_portSetsHasBeenSet = true; m_portSets.emplace(key, value); return *this; } private: Aws::Map