7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/ChangeAction.h>
9#include <aws/waf/model/Predicate.h>
70 template<
typename PredicateT = Predicate>
71 void SetPredicate(PredicateT&& value) { m_predicateHasBeenSet =
true; m_predicate = std::forward<PredicateT>(value); }
72 template<
typename PredicateT = Predicate>
78 bool m_actionHasBeenSet =
false;
80 Predicate m_predicate;
81 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