7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/model/ChangeAction.h>
9#include <aws/waf-regional/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;
AWS_WAFREGIONAL_API RuleUpdate()=default
bool PredicateHasBeenSet() const
AWS_WAFREGIONAL_API RuleUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ActionHasBeenSet() const
ChangeAction GetAction() const
RuleUpdate & WithPredicate(PredicateT &&value)
AWS_WAFREGIONAL_API RuleUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetAction(ChangeAction value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPredicate(PredicateT &&value)
const Predicate & GetPredicate() const
RuleUpdate & WithAction(ChangeAction value)
Aws::Utils::Json::JsonValue JsonValue