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/IPSet.h>
11#include <aws/network-firewall/model/PortSet.h>
24namespace NetworkFirewall
58 inline RuleVariables&
AddIPSets(
const char* key,
IPSet&& value) { m_iPSetsHasBeenSet =
true; m_iPSets.emplace(key, std::move(value));
return *
this; }
59 inline RuleVariables&
AddIPSets(
const char* key,
const IPSet& value) { m_iPSetsHasBeenSet =
true; m_iPSets.emplace(key, value);
return *
this; }
82 bool m_iPSetsHasBeenSet =
false;
85 bool m_portSetsHasBeenSet =
false;
RuleVariables & WithIPSets(Aws::Map< Aws::String, IPSet > &&value)
void SetIPSets(const Aws::Map< Aws::String, IPSet > &value)
RuleVariables & AddIPSets(Aws::String &&key, IPSet &&value)
void SetPortSets(const Aws::Map< Aws::String, PortSet > &value)
RuleVariables & AddIPSets(const char *key, IPSet &&value)
bool PortSetsHasBeenSet() const
RuleVariables & WithPortSets(Aws::Map< Aws::String, PortSet > &&value)
const Aws::Map< Aws::String, PortSet > & GetPortSets() const
AWS_NETWORKFIREWALL_API RuleVariables(Aws::Utils::Json::JsonView jsonValue)
RuleVariables & AddPortSets(Aws::String &&key, PortSet &&value)
bool IPSetsHasBeenSet() const
RuleVariables & AddPortSets(const char *key, PortSet &&value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
RuleVariables & AddPortSets(Aws::String &&key, const PortSet &value)
RuleVariables & WithPortSets(const Aws::Map< Aws::String, PortSet > &value)
RuleVariables & WithIPSets(const Aws::Map< Aws::String, IPSet > &value)
AWS_NETWORKFIREWALL_API RuleVariables & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleVariables & AddIPSets(const Aws::String &key, const IPSet &value)
RuleVariables & AddIPSets(Aws::String &&key, const IPSet &value)
void SetIPSets(Aws::Map< Aws::String, IPSet > &&value)
AWS_NETWORKFIREWALL_API RuleVariables()
const Aws::Map< Aws::String, IPSet > & GetIPSets() const
void SetPortSets(Aws::Map< Aws::String, PortSet > &&value)
RuleVariables & AddIPSets(const char *key, const IPSet &value)
RuleVariables & AddIPSets(const Aws::String &key, IPSet &&value)
RuleVariables & AddPortSets(const char *key, const PortSet &value)
RuleVariables & AddPortSets(const Aws::String &key, const PortSet &value)
RuleVariables & AddPortSets(const Aws::String &key, PortSet &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue