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/AwsWafRegionalRulePredicateListDetails.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<AwsWafRegionalRulePredicateListDetails>>
78 void SetPredicateList(PredicateListT&& value) { m_predicateListHasBeenSet =
true; m_predicateList = std::forward<PredicateListT>(value); }
79 template<
typename PredicateListT = Aws::Vector<AwsWafRegionalRulePredicateListDetails>>
81 template<
typename PredicateListT = AwsWafRegionalRulePredicateListDetails>
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
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