7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/model/RuleAction.h>
51 template<
typename NameT = Aws::String>
52 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
65 template<
typename ActionT = RuleAction>
66 void SetAction(
ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
67 template<
typename ActionT = RuleAction>
73 bool m_nameHasBeenSet =
false;
76 bool m_actionHasBeenSet =
false;
AWS_WAFV2_API RuleSummary()=default
void SetName(NameT &&value)
const Aws::String & GetName() const
RuleSummary & WithName(NameT &&value)
bool ActionHasBeenSet() const
bool NameHasBeenSet() const
void SetAction(ActionT &&value)
const RuleAction & GetAction() const
AWS_WAFV2_API RuleSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API RuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleSummary & WithAction(ActionT &&value)
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