/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A Suricata rule specification.See Also:
AWS
* API Reference
Defines what Network Firewall should do with the packets in a traffic flow * when the flow matches the stateful rule criteria.
*/ inline const Aws::String& GetAction() const{ return m_action; } /** *Defines what Network Firewall should do with the packets in a traffic flow * when the flow matches the stateful rule criteria.
*/ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** *Defines what Network Firewall should do with the packets in a traffic flow * when the flow matches the stateful rule criteria.
*/ inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; } /** *Defines what Network Firewall should do with the packets in a traffic flow * when the flow matches the stateful rule criteria.
*/ inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** *Defines what Network Firewall should do with the packets in a traffic flow * when the flow matches the stateful rule criteria.
*/ inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); } /** *Defines what Network Firewall should do with the packets in a traffic flow * when the flow matches the stateful rule criteria.
*/ inline RuleGroupSourceStatefulRulesDetails& WithAction(const Aws::String& value) { SetAction(value); return *this;} /** *Defines what Network Firewall should do with the packets in a traffic flow * when the flow matches the stateful rule criteria.
*/ inline RuleGroupSourceStatefulRulesDetails& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;} /** *Defines what Network Firewall should do with the packets in a traffic flow * when the flow matches the stateful rule criteria.
*/ inline RuleGroupSourceStatefulRulesDetails& WithAction(const char* value) { SetAction(value); return *this;} /** *The stateful inspection criteria for the rule.
*/ inline const RuleGroupSourceStatefulRulesHeaderDetails& GetHeader() const{ return m_header; } /** *The stateful inspection criteria for the rule.
*/ inline bool HeaderHasBeenSet() const { return m_headerHasBeenSet; } /** *The stateful inspection criteria for the rule.
*/ inline void SetHeader(const RuleGroupSourceStatefulRulesHeaderDetails& value) { m_headerHasBeenSet = true; m_header = value; } /** *The stateful inspection criteria for the rule.
*/ inline void SetHeader(RuleGroupSourceStatefulRulesHeaderDetails&& value) { m_headerHasBeenSet = true; m_header = std::move(value); } /** *The stateful inspection criteria for the rule.
*/ inline RuleGroupSourceStatefulRulesDetails& WithHeader(const RuleGroupSourceStatefulRulesHeaderDetails& value) { SetHeader(value); return *this;} /** *The stateful inspection criteria for the rule.
*/ inline RuleGroupSourceStatefulRulesDetails& WithHeader(RuleGroupSourceStatefulRulesHeaderDetails&& value) { SetHeader(std::move(value)); return *this;} /** *Additional options for the rule.
*/ inline const Aws::VectorAdditional options for the rule.
*/ inline bool RuleOptionsHasBeenSet() const { return m_ruleOptionsHasBeenSet; } /** *Additional options for the rule.
*/ inline void SetRuleOptions(const Aws::VectorAdditional options for the rule.
*/ inline void SetRuleOptions(Aws::VectorAdditional options for the rule.
*/ inline RuleGroupSourceStatefulRulesDetails& WithRuleOptions(const Aws::VectorAdditional options for the rule.
*/ inline RuleGroupSourceStatefulRulesDetails& WithRuleOptions(Aws::VectorAdditional options for the rule.
*/ inline RuleGroupSourceStatefulRulesDetails& AddRuleOptions(const RuleGroupSourceStatefulRulesOptionsDetails& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions.push_back(value); return *this; } /** *Additional options for the rule.
*/ inline RuleGroupSourceStatefulRulesDetails& AddRuleOptions(RuleGroupSourceStatefulRulesOptionsDetails&& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions.push_back(std::move(value)); return *this; } private: Aws::String m_action; bool m_actionHasBeenSet = false; RuleGroupSourceStatefulRulesHeaderDetails m_header; bool m_headerHasBeenSet = false; Aws::Vector