7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/StatefulAction.h>
9#include <aws/network-firewall/model/Header.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/network-firewall/model/RuleOption.h>
24namespace NetworkFirewall
84 inline void SetHeader(
const Header& value) { m_headerHasBeenSet =
true; m_header = value; }
85 inline void SetHeader(
Header&& value) { m_headerHasBeenSet =
true; m_header = std::move(value); }
107 bool m_actionHasBeenSet =
false;
110 bool m_headerHasBeenSet =
false;
113 bool m_ruleOptionsHasBeenSet =
false;
bool RuleOptionsHasBeenSet() const
bool ActionHasBeenSet() const
StatefulRule & WithAction(const StatefulAction &value)
StatefulRule & WithAction(StatefulAction &&value)
AWS_NETWORKFIREWALL_API StatefulRule(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
StatefulRule & WithRuleOptions(const Aws::Vector< RuleOption > &value)
const Aws::Vector< RuleOption > & GetRuleOptions() const
bool HeaderHasBeenSet() const
StatefulRule & AddRuleOptions(const RuleOption &value)
void SetAction(StatefulAction &&value)
StatefulRule & WithHeader(const Header &value)
void SetAction(const StatefulAction &value)
AWS_NETWORKFIREWALL_API StatefulRule()
const StatefulAction & GetAction() const
void SetHeader(const Header &value)
StatefulRule & WithRuleOptions(Aws::Vector< RuleOption > &&value)
StatefulRule & WithHeader(Header &&value)
void SetHeader(Header &&value)
const Header & GetHeader() const
void SetRuleOptions(const Aws::Vector< RuleOption > &value)
AWS_NETWORKFIREWALL_API StatefulRule & operator=(Aws::Utils::Json::JsonView jsonValue)
StatefulRule & AddRuleOptions(RuleOption &&value)
void SetRuleOptions(Aws::Vector< RuleOption > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue