7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsWafRuleGroupRulesActionDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
63 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
75 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
89 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
97 bool m_actionHasBeenSet =
false;
100 bool m_priorityHasBeenSet =
false;
103 bool m_ruleIdHasBeenSet =
false;
106 bool m_typeHasBeenSet =
false;
AwsWafRuleGroupRulesDetails & WithType(const Aws::String &value)
const Aws::String & GetType() const
AwsWafRuleGroupRulesDetails & WithRuleId(const char *value)
bool TypeHasBeenSet() const
AwsWafRuleGroupRulesDetails & WithAction(const AwsWafRuleGroupRulesActionDetails &value)
void SetRuleId(const Aws::String &value)
AWS_SECURITYHUB_API AwsWafRuleGroupRulesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsWafRuleGroupRulesDetails & WithAction(AwsWafRuleGroupRulesActionDetails &&value)
const Aws::String & GetRuleId() const
const AwsWafRuleGroupRulesActionDetails & GetAction() const
void SetType(const Aws::String &value)
AwsWafRuleGroupRulesDetails & WithRuleId(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafRuleGroupRulesDetails & WithType(const char *value)
void SetAction(const AwsWafRuleGroupRulesActionDetails &value)
bool ActionHasBeenSet() const
AwsWafRuleGroupRulesDetails & WithType(Aws::String &&value)
bool RuleIdHasBeenSet() const
void SetRuleId(Aws::String &&value)
void SetRuleId(const char *value)
bool PriorityHasBeenSet() const
void SetPriority(int value)
AWS_SECURITYHUB_API AwsWafRuleGroupRulesDetails(Aws::Utils::Json::JsonView jsonValue)
AwsWafRuleGroupRulesDetails & WithPriority(int value)
void SetType(const char *value)
void SetType(Aws::String &&value)
AwsWafRuleGroupRulesDetails & WithRuleId(const Aws::String &value)
AWS_SECURITYHUB_API AwsWafRuleGroupRulesDetails()
void SetAction(AwsWafRuleGroupRulesActionDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue