7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsWafRuleGroupRulesDetails.h>
44 template <
typename MetricNameT = Aws::String>
46 m_metricNameHasBeenSet =
true;
47 m_metricName = std::forward<MetricNameT>(value);
49 template <
typename MetricNameT = Aws::String>
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
80 template <
typename RuleGroupIdT = Aws::String>
82 m_ruleGroupIdHasBeenSet =
true;
83 m_ruleGroupId = std::forward<RuleGroupIdT>(value);
85 template <
typename RuleGroupIdT = Aws::String>
99 template <
typename RulesT = Aws::Vector<AwsWafRuleGroupRulesDetails>>
101 m_rulesHasBeenSet =
true;
102 m_rules = std::forward<RulesT>(value);
104 template <
typename RulesT = Aws::Vector<AwsWafRuleGroupRulesDetails>>
106 SetRules(std::forward<RulesT>(value));
109 template <
typename RulesT = AwsWafRuleGroupRulesDetails>
111 m_rulesHasBeenSet =
true;
112 m_rules.emplace_back(std::forward<RulesT>(value));
124 bool m_metricNameHasBeenSet =
false;
125 bool m_nameHasBeenSet =
false;
126 bool m_ruleGroupIdHasBeenSet =
false;
127 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