7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/MatchAttributes.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace NetworkFirewall
53 template<
typename MatchAttributesT = MatchAttributes>
54 void SetMatchAttributes(MatchAttributesT&& value) { m_matchAttributesHasBeenSet =
true; m_matchAttributes = std::forward<MatchAttributesT>(value); }
55 template<
typename MatchAttributesT = MatchAttributes>
87 template<
typename ActionsT = Aws::Vector<Aws::String>>
88 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
89 template<
typename ActionsT = Aws::Vector<Aws::String>>
91 template<
typename ActionsT = Aws::String>
92 RuleDefinition&
AddActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions.emplace_back(std::forward<ActionsT>(value));
return *
this; }
97 bool m_matchAttributesHasBeenSet =
false;
100 bool m_actionsHasBeenSet =
false;
AWS_NETWORKFIREWALL_API RuleDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MatchAttributesHasBeenSet() const
RuleDefinition & WithMatchAttributes(MatchAttributesT &&value)
const Aws::Vector< Aws::String > & GetActions() const
RuleDefinition & WithActions(ActionsT &&value)
AWS_NETWORKFIREWALL_API RuleDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
RuleDefinition & AddActions(ActionsT &&value)
const MatchAttributes & GetMatchAttributes() const
AWS_NETWORKFIREWALL_API RuleDefinition()=default
void SetMatchAttributes(MatchAttributesT &&value)
bool ActionsHasBeenSet() const
void SetActions(ActionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue