7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/ChangeAction.h>
9#include <aws/waf/model/Predicate.h>
54 m_actionHasBeenSet =
true;
70 template <
typename PredicateT = Predicate>
72 m_predicateHasBeenSet =
true;
73 m_predicate = std::forward<PredicateT>(value);
75 template <
typename PredicateT = Predicate>
84 Predicate m_predicate;
85 bool m_actionHasBeenSet =
false;
86 bool m_predicateHasBeenSet =
false;
RuleUpdate & WithPredicate(PredicateT &&value)
const Predicate & GetPredicate() const
void SetAction(ChangeAction value)
ChangeAction GetAction() const
AWS_WAF_API RuleUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API RuleUpdate()=default
void SetPredicate(PredicateT &&value)
AWS_WAF_API RuleUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PredicateHasBeenSet() const
RuleUpdate & WithAction(ChangeAction value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue