7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11#include <aws/network-firewall/model/IPSet.h>
21namespace NetworkFirewall {
33 AWS_NETWORKFIREWALL_API
PolicyVariables(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 template <
typename RuleVariablesT = Aws::Map<Aws::String, IPSet>>
49 m_ruleVariablesHasBeenSet =
true;
50 m_ruleVariables = std::forward<RuleVariablesT>(value);
52 template <
typename RuleVariablesT = Aws::Map<Aws::String, IPSet>>
57 template <
typename RuleVariablesKeyT = Aws::String,
typename RuleVariablesValueT = IPSet>
59 m_ruleVariablesHasBeenSet =
true;
60 m_ruleVariables.emplace(std::forward<RuleVariablesKeyT>(key), std::forward<RuleVariablesValueT>(value));
66 bool m_ruleVariablesHasBeenSet =
false;
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
PolicyVariables & AddRuleVariables(RuleVariablesKeyT &&key, RuleVariablesValueT &&value)
PolicyVariables & WithRuleVariables(RuleVariablesT &&value)
const Aws::Map< Aws::String, IPSet > & GetRuleVariables() const
AWS_NETWORKFIREWALL_API PolicyVariables & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetRuleVariables(RuleVariablesT &&value)
AWS_NETWORKFIREWALL_API PolicyVariables(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API PolicyVariables()=default
bool RuleVariablesHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map