/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FMS { namespace Model { /** *

Configuration settings for the handling of the stateful rule groups in a * Network Firewall firewall policy.

See Also:

AWS * API Reference

*/ class StatefulEngineOptions { public: AWS_FMS_API StatefulEngineOptions(); AWS_FMS_API StatefulEngineOptions(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API StatefulEngineOptions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Indicates how to manage the order of stateful rule evaluation for the policy. * DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are * provided to the rule engine as Suricata compatible strings, and Suricata * evaluates them based on certain settings. For more information, see Evaluation * order for stateful rules in the Network Firewall Developer Guide.

*/ inline const RuleOrder& GetRuleOrder() const{ return m_ruleOrder; } /** *

Indicates how to manage the order of stateful rule evaluation for the policy. * DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are * provided to the rule engine as Suricata compatible strings, and Suricata * evaluates them based on certain settings. For more information, see Evaluation * order for stateful rules in the Network Firewall Developer Guide.

*/ inline bool RuleOrderHasBeenSet() const { return m_ruleOrderHasBeenSet; } /** *

Indicates how to manage the order of stateful rule evaluation for the policy. * DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are * provided to the rule engine as Suricata compatible strings, and Suricata * evaluates them based on certain settings. For more information, see Evaluation * order for stateful rules in the Network Firewall Developer Guide.

*/ inline void SetRuleOrder(const RuleOrder& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = value; } /** *

Indicates how to manage the order of stateful rule evaluation for the policy. * DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are * provided to the rule engine as Suricata compatible strings, and Suricata * evaluates them based on certain settings. For more information, see Evaluation * order for stateful rules in the Network Firewall Developer Guide.

*/ inline void SetRuleOrder(RuleOrder&& value) { m_ruleOrderHasBeenSet = true; m_ruleOrder = std::move(value); } /** *

Indicates how to manage the order of stateful rule evaluation for the policy. * DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are * provided to the rule engine as Suricata compatible strings, and Suricata * evaluates them based on certain settings. For more information, see Evaluation * order for stateful rules in the Network Firewall Developer Guide.

*/ inline StatefulEngineOptions& WithRuleOrder(const RuleOrder& value) { SetRuleOrder(value); return *this;} /** *

Indicates how to manage the order of stateful rule evaluation for the policy. * DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are * provided to the rule engine as Suricata compatible strings, and Suricata * evaluates them based on certain settings. For more information, see Evaluation * order for stateful rules in the Network Firewall Developer Guide.

*/ inline StatefulEngineOptions& WithRuleOrder(RuleOrder&& value) { SetRuleOrder(std::move(value)); return *this;} private: RuleOrder m_ruleOrder; bool m_ruleOrderHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws