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>
51 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
97 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
105 bool m_metricNameHasBeenSet =
false;
108 bool m_nameHasBeenSet =
false;
111 bool m_predicateListHasBeenSet =
false;
114 bool m_ruleIdHasBeenSet =
false;
AwsWafRuleDetails & WithMetricName(Aws::String &&value)
void SetName(const Aws::String &value)
bool PredicateListHasBeenSet() const
AWS_SECURITYHUB_API AwsWafRuleDetails(Aws::Utils::Json::JsonView jsonValue)
void SetPredicateList(const Aws::Vector< AwsWafRulePredicateListDetails > &value)
AwsWafRuleDetails & WithMetricName(const char *value)
AwsWafRuleDetails & WithMetricName(const Aws::String &value)
AwsWafRuleDetails & WithPredicateList(const Aws::Vector< AwsWafRulePredicateListDetails > &value)
const Aws::Vector< AwsWafRulePredicateListDetails > & GetPredicateList() const
void SetName(Aws::String &&value)
AwsWafRuleDetails & WithName(const char *value)
AwsWafRuleDetails & AddPredicateList(AwsWafRulePredicateListDetails &&value)
AwsWafRuleDetails & AddPredicateList(const AwsWafRulePredicateListDetails &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafRuleDetails & WithRuleId(Aws::String &&value)
AWS_SECURITYHUB_API AwsWafRuleDetails()
const Aws::String & GetName() const
void SetMetricName(const Aws::String &value)
bool NameHasBeenSet() const
bool MetricNameHasBeenSet() const
AwsWafRuleDetails & WithRuleId(const Aws::String &value)
const Aws::String & GetRuleId() const
AwsWafRuleDetails & WithRuleId(const char *value)
void SetMetricName(Aws::String &&value)
const Aws::String & GetMetricName() const
void SetRuleId(const char *value)
AWS_SECURITYHUB_API AwsWafRuleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsWafRuleDetails & WithName(const Aws::String &value)
AwsWafRuleDetails & WithPredicateList(Aws::Vector< AwsWafRulePredicateListDetails > &&value)
void SetPredicateList(Aws::Vector< AwsWafRulePredicateListDetails > &&value)
void SetRuleId(Aws::String &&value)
AwsWafRuleDetails & WithName(Aws::String &&value)
void SetRuleId(const Aws::String &value)
bool RuleIdHasBeenSet() const
void SetMetricName(const char *value)
void SetName(const char *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