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/AwsWafRulePredicateListDetails.h>
43 template <
typename MetricNameT = Aws::String>
45 m_metricNameHasBeenSet =
true;
46 m_metricName = std::forward<MetricNameT>(value);
48 template <
typename MetricNameT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
83 template <
typename PredicateListT = Aws::Vector<AwsWafRulePredicateListDetails>>
85 m_predicateListHasBeenSet =
true;
86 m_predicateList = std::forward<PredicateListT>(value);
88 template <
typename PredicateListT = Aws::Vector<AwsWafRulePredicateListDetails>>
93 template <
typename PredicateListT = AwsWafRulePredicateListDetails>
95 m_predicateListHasBeenSet =
true;
96 m_predicateList.emplace_back(std::forward<PredicateListT>(value));
107 template <
typename RuleIdT = Aws::String>
109 m_ruleIdHasBeenSet =
true;
110 m_ruleId = std::forward<RuleIdT>(value);
112 template <
typename RuleIdT = Aws::String>
126 bool m_metricNameHasBeenSet =
false;
127 bool m_nameHasBeenSet =
false;
128 bool m_predicateListHasBeenSet =
false;
129 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