7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsWafRuleGroupRulesActionDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename ActionT = AwsWafRuleGroupRulesActionDetails>
51 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
52 template<
typename ActionT = AwsWafRuleGroupRulesActionDetails>
63 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
73 template<
typename RuleIdT = Aws::String>
74 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet =
true; m_ruleId = std::forward<RuleIdT>(value); }
75 template<
typename RuleIdT = Aws::String>
85 template<
typename TypeT = Aws::String>
86 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
87 template<
typename TypeT = Aws::String>
93 bool m_actionHasBeenSet =
false;
96 bool m_priorityHasBeenSet =
false;
99 bool m_ruleIdHasBeenSet =
false;
102 bool m_typeHasBeenSet =
false;
const Aws::String & GetType() const
void SetType(TypeT &&value)
AwsWafRuleGroupRulesDetails & WithRuleId(RuleIdT &&value)
bool TypeHasBeenSet() const
AWS_SECURITYHUB_API AwsWafRuleGroupRulesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleId() const
const AwsWafRuleGroupRulesActionDetails & GetAction() const
AwsWafRuleGroupRulesDetails & WithAction(ActionT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsWafRuleGroupRulesDetails()=default
bool ActionHasBeenSet() const
bool RuleIdHasBeenSet() const
void SetRuleId(RuleIdT &&value)
AwsWafRuleGroupRulesDetails & WithType(TypeT &&value)
bool PriorityHasBeenSet() const
void SetPriority(int value)
AWS_SECURITYHUB_API AwsWafRuleGroupRulesDetails(Aws::Utils::Json::JsonView jsonValue)
AwsWafRuleGroupRulesDetails & WithPriority(int value)
void SetAction(ActionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue