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>
50 template<
typename MetricNameT = Aws::String>
51 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
52 template<
typename MetricNameT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
74 template<
typename RuleGroupIdT = Aws::String>
75 void SetRuleGroupId(RuleGroupIdT&& value) { m_ruleGroupIdHasBeenSet =
true; m_ruleGroupId = std::forward<RuleGroupIdT>(value); }
76 template<
typename RuleGroupIdT = Aws::String>
87 template<
typename RulesT = Aws::Vector<AwsWafRuleGroupRulesDetails>>
88 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
89 template<
typename RulesT = Aws::Vector<AwsWafRuleGroupRulesDetails>>
91 template<
typename RulesT = AwsWafRuleGroupRulesDetails>
97 bool m_metricNameHasBeenSet =
false;
100 bool m_nameHasBeenSet =
false;
103 bool m_ruleGroupIdHasBeenSet =
false;
106 bool m_rulesHasBeenSet =
false;
AwsWafRuleGroupDetails & AddRules(RulesT &&value)
bool NameHasBeenSet() const
bool RulesHasBeenSet() const
AWS_SECURITYHUB_API AwsWafRuleGroupDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleGroupId() const
AWS_SECURITYHUB_API AwsWafRuleGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AwsWafRuleGroupRulesDetails > & GetRules() const
void SetMetricName(MetricNameT &&value)
const Aws::String & GetMetricName() const
AwsWafRuleGroupDetails & WithRules(RulesT &&value)
bool RuleGroupIdHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafRuleGroupDetails & WithMetricName(MetricNameT &&value)
void SetRuleGroupId(RuleGroupIdT &&value)
const Aws::String & GetName() const
AWS_SECURITYHUB_API AwsWafRuleGroupDetails()=default
void SetName(NameT &&value)
AwsWafRuleGroupDetails & WithRuleGroupId(RuleGroupIdT &&value)
AwsWafRuleGroupDetails & WithName(NameT &&value)
void SetRules(RulesT &&value)
bool MetricNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue