7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/model/RuleAction.h>
59 template<
typename NameT = Aws::String>
60 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
72 template<
typename ActionToUseT = RuleAction>
74 template<
typename ActionToUseT = RuleAction>
80 bool m_nameHasBeenSet =
false;
83 bool m_actionToUseHasBeenSet =
false;
bool NameHasBeenSet() const
RuleActionOverride & WithActionToUse(ActionToUseT &&value)
void SetName(NameT &&value)
RuleActionOverride & WithName(NameT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionToUseHasBeenSet() const
void SetActionToUse(ActionToUseT &&value)
const Aws::String & GetName() const
AWS_WAFV2_API RuleActionOverride(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API RuleActionOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API RuleActionOverride()=default
const RuleAction & GetActionToUse() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue