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/AwsWafRegionalRuleGroupRulesDetails.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;
void SetName(Aws::String &&value)
AwsWafRegionalRuleGroupDetails & WithName(Aws::String &&value)
AWS_SECURITYHUB_API AwsWafRegionalRuleGroupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRules(Aws::Vector< AwsWafRegionalRuleGroupRulesDetails > &&value)
AWS_SECURITYHUB_API AwsWafRegionalRuleGroupDetails()
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafRegionalRuleGroupDetails & WithMetricName(const char *value)
AwsWafRegionalRuleGroupDetails & AddRules(AwsWafRegionalRuleGroupRulesDetails &&value)
void SetRules(const Aws::Vector< AwsWafRegionalRuleGroupRulesDetails > &value)
bool NameHasBeenSet() const
AwsWafRegionalRuleGroupDetails & WithName(const char *value)
void SetName(const char *value)
void SetRuleGroupId(Aws::String &&value)
void SetRuleGroupId(const Aws::String &value)
const Aws::String & GetName() const
AwsWafRegionalRuleGroupDetails & AddRules(const AwsWafRegionalRuleGroupRulesDetails &value)
bool RulesHasBeenSet() const
AwsWafRegionalRuleGroupDetails & WithRuleGroupId(const Aws::String &value)
void SetMetricName(const Aws::String &value)
AwsWafRegionalRuleGroupDetails & WithName(const Aws::String &value)
AWS_SECURITYHUB_API AwsWafRegionalRuleGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetricName(const char *value)
const Aws::Vector< AwsWafRegionalRuleGroupRulesDetails > & GetRules() const
bool RuleGroupIdHasBeenSet() const
AwsWafRegionalRuleGroupDetails & WithMetricName(Aws::String &&value)
void SetName(const Aws::String &value)
AwsWafRegionalRuleGroupDetails & WithRules(Aws::Vector< AwsWafRegionalRuleGroupRulesDetails > &&value)
AwsWafRegionalRuleGroupDetails & WithMetricName(const Aws::String &value)
const Aws::String & GetRuleGroupId() const
const Aws::String & GetMetricName() const
AwsWafRegionalRuleGroupDetails & WithRuleGroupId(Aws::String &&value)
AwsWafRegionalRuleGroupDetails & WithRules(const Aws::Vector< AwsWafRegionalRuleGroupRulesDetails > &value)
void SetRuleGroupId(const char *value)
AwsWafRegionalRuleGroupDetails & WithRuleGroupId(const char *value)
bool MetricNameHasBeenSet() const
void SetMetricName(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