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/AwsWafRegionalRulePredicateListDetails.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<AwsWafRegionalRulePredicateListDetails>>
85 m_predicateListHasBeenSet =
true;
86 m_predicateList = std::forward<PredicateListT>(value);
88 template <
typename PredicateListT = Aws::Vector<AwsWafRegionalRulePredicateListDetails>>
93 template <
typename PredicateListT = AwsWafRegionalRulePredicateListDetails>
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
void SetRuleId(RuleIdT &&value)
AWS_SECURITYHUB_API AwsWafRegionalRuleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMetricName() const
AwsWafRegionalRuleDetails & WithMetricName(MetricNameT &&value)
const Aws::Vector< AwsWafRegionalRulePredicateListDetails > & GetPredicateList() const
const Aws::String & GetName() const
void SetPredicateList(PredicateListT &&value)
bool NameHasBeenSet() const
AwsWafRegionalRuleDetails & AddPredicateList(PredicateListT &&value)
AWS_SECURITYHUB_API AwsWafRegionalRuleDetails(Aws::Utils::Json::JsonView jsonValue)
AwsWafRegionalRuleDetails & WithRuleId(RuleIdT &&value)
void SetName(NameT &&value)
AwsWafRegionalRuleDetails & WithName(NameT &&value)
bool RuleIdHasBeenSet() const
bool MetricNameHasBeenSet() const
AwsWafRegionalRuleDetails & WithPredicateList(PredicateListT &&value)
AWS_SECURITYHUB_API AwsWafRegionalRuleDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRuleId() const
void SetMetricName(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