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
51 template<
typename IPSetsT = Aws::Map<Aws::String, IPSet>>
52 void SetIPSets(IPSetsT&& value) { m_iPSetsHasBeenSet =
true; m_iPSets = std::forward<IPSetsT>(value); }
53 template<
typename IPSetsT = Aws::Map<Aws::String, IPSet>>
55 template<
typename IPSetsKeyT = Aws::String,
typename IPSetsValueT = IPSet>
57 m_iPSetsHasBeenSet =
true; m_iPSets.emplace(std::forward<IPSetsKeyT>(key), std::forward<IPSetsValueT>(value));
return *
this;
67 template<
typename PortSetsT = Aws::Map<Aws::String, PortSet>>
68 void SetPortSets(PortSetsT&& value) { m_portSetsHasBeenSet =
true; m_portSets = std::forward<PortSetsT>(value); }
69 template<
typename PortSetsT = Aws::Map<Aws::String, PortSet>>
71 template<
typename PortSetsKeyT = Aws::String,
typename PortSetsValueT = PortSet>
73 m_portSetsHasBeenSet =
true; m_portSets.emplace(std::forward<PortSetsKeyT>(key), std::forward<PortSetsValueT>(value));
return *
this;
79 bool m_iPSetsHasBeenSet =
false;
82 bool m_portSetsHasBeenSet =
false;
RuleVariables & AddPortSets(PortSetsKeyT &&key, PortSetsValueT &&value)
bool PortSetsHasBeenSet() const
const Aws::Map< Aws::String, PortSet > & GetPortSets() const
AWS_NETWORKFIREWALL_API RuleVariables(Aws::Utils::Json::JsonView jsonValue)
RuleVariables & WithIPSets(IPSetsT &&value)
void SetIPSets(IPSetsT &&value)
bool IPSetsHasBeenSet() const
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPortSets(PortSetsT &&value)
AWS_NETWORKFIREWALL_API RuleVariables & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API RuleVariables()=default
RuleVariables & WithPortSets(PortSetsT &&value)
const Aws::Map< Aws::String, IPSet > & GetIPSets() const
RuleVariables & AddIPSets(IPSetsKeyT &&key, IPSetsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue