7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/RuleAction.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
65 template <
typename ActionT = RuleAction>
67 m_actionHasBeenSet =
true;
68 m_action = std::forward<ActionT>(value);
70 template <
typename ActionT = RuleAction>
80 bool m_nameHasBeenSet =
false;
81 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue