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/AwsWafRulePredicateListDetails.h>
49 template<
typename MetricNameT = Aws::String>
50 void SetMetricName(MetricNameT&& value) { m_metricNameHasBeenSet =
true; m_metricName = std::forward<MetricNameT>(value); }
51 template<
typename MetricNameT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
77 template<
typename PredicateListT = Aws::Vector<AwsWafRulePredicateListDetails>>
78 void SetPredicateList(PredicateListT&& value) { m_predicateListHasBeenSet =
true; m_predicateList = std::forward<PredicateListT>(value); }
79 template<
typename PredicateListT = Aws::Vector<AwsWafRulePredicateListDetails>>
81 template<
typename PredicateListT = AwsWafRulePredicateListDetails>
82 AwsWafRuleDetails&
AddPredicateList(PredicateListT&& value) { m_predicateListHasBeenSet =
true; m_predicateList.emplace_back(std::forward<PredicateListT>(value));
return *
this; }
91 template<
typename RuleIdT = Aws::String>
92 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet =
true; m_ruleId = std::forward<RuleIdT>(value); }
93 template<
typename RuleIdT = Aws::String>
99 bool m_metricNameHasBeenSet =
false;
102 bool m_nameHasBeenSet =
false;
105 bool m_predicateListHasBeenSet =
false;
108 bool m_ruleIdHasBeenSet =
false;
bool PredicateListHasBeenSet() const
AWS_SECURITYHUB_API AwsWafRuleDetails(Aws::Utils::Json::JsonView jsonValue)
void SetRuleId(RuleIdT &&value)
const Aws::Vector< AwsWafRulePredicateListDetails > & GetPredicateList() const
AwsWafRuleDetails & WithPredicateList(PredicateListT &&value)
AwsWafRuleDetails & WithRuleId(RuleIdT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafRuleDetails & WithName(NameT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool MetricNameHasBeenSet() const
const Aws::String & GetRuleId() const
const Aws::String & GetMetricName() const
AWS_SECURITYHUB_API AwsWafRuleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetPredicateList(PredicateListT &&value)
AWS_SECURITYHUB_API AwsWafRuleDetails()=default
AwsWafRuleDetails & AddPredicateList(PredicateListT &&value)
void SetMetricName(MetricNameT &&value)
bool RuleIdHasBeenSet() const
AwsWafRuleDetails & WithMetricName(MetricNameT &&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