7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsWafRuleGroupRulesDetails.h>
52 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
66 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
80 inline void SetRuleGroupId(
const char* value) { m_ruleGroupIdHasBeenSet =
true; m_ruleGroupId.assign(value); }
103 bool m_metricNameHasBeenSet =
false;
106 bool m_nameHasBeenSet =
false;
109 bool m_ruleGroupIdHasBeenSet =
false;
112 bool m_rulesHasBeenSet =
false;
bool NameHasBeenSet() const
bool RulesHasBeenSet() const
AWS_SECURITYHUB_API AwsWafRuleGroupDetails(Aws::Utils::Json::JsonView jsonValue)
AwsWafRuleGroupDetails & WithRuleGroupId(Aws::String &&value)
AwsWafRuleGroupDetails & AddRules(const AwsWafRuleGroupRulesDetails &value)
AwsWafRuleGroupDetails & WithMetricName(const Aws::String &value)
void SetMetricName(Aws::String &&value)
const Aws::String & GetRuleGroupId() const
AWS_SECURITYHUB_API AwsWafRuleGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AwsWafRuleGroupRulesDetails > & GetRules() const
void SetName(Aws::String &&value)
const Aws::String & GetMetricName() const
AwsWafRuleGroupDetails & AddRules(AwsWafRuleGroupRulesDetails &&value)
void SetRules(const Aws::Vector< AwsWafRuleGroupRulesDetails > &value)
AWS_SECURITYHUB_API AwsWafRuleGroupDetails()
void SetRules(Aws::Vector< AwsWafRuleGroupRulesDetails > &&value)
bool RuleGroupIdHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafRuleGroupDetails & WithName(const char *value)
AwsWafRuleGroupDetails & WithRuleGroupId(const char *value)
void SetName(const char *value)
AwsWafRuleGroupDetails & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
AwsWafRuleGroupDetails & WithMetricName(Aws::String &&value)
AwsWafRuleGroupDetails & WithRules(const Aws::Vector< AwsWafRuleGroupRulesDetails > &value)
const Aws::String & GetName() const
AwsWafRuleGroupDetails & WithRules(Aws::Vector< AwsWafRuleGroupRulesDetails > &&value)
void SetRuleGroupId(Aws::String &&value)
void SetMetricName(const Aws::String &value)
void SetMetricName(const char *value)
void SetRuleGroupId(const char *value)
AwsWafRuleGroupDetails & WithName(Aws::String &&value)
AwsWafRuleGroupDetails & WithMetricName(const char *value)
bool MetricNameHasBeenSet() const
void SetRuleGroupId(const Aws::String &value)
AwsWafRuleGroupDetails & WithRuleGroupId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue