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/AwsWafRateBasedRuleMatchPredicate.h>
53 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetRateKey(
const char* value) { m_rateKeyHasBeenSet =
true; m_rateKey.assign(value); }
98 inline void SetRateLimit(
long long value) { m_rateLimitHasBeenSet =
true; m_rateLimit = value; }
110 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
132 bool m_metricNameHasBeenSet =
false;
135 bool m_nameHasBeenSet =
false;
138 bool m_rateKeyHasBeenSet =
false;
140 long long m_rateLimit;
141 bool m_rateLimitHasBeenSet =
false;
144 bool m_ruleIdHasBeenSet =
false;
147 bool m_matchPredicatesHasBeenSet =
false;
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafRateBasedRuleDetails & WithRuleId(Aws::String &&value)
AwsWafRateBasedRuleDetails & WithMetricName(Aws::String &&value)
void SetRuleId(const Aws::String &value)
AwsWafRateBasedRuleDetails & WithMetricName(const char *value)
AWS_SECURITYHUB_API AwsWafRateBasedRuleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetricName(const Aws::String &value)
bool RateLimitHasBeenSet() const
AwsWafRateBasedRuleDetails & WithRuleId(const Aws::String &value)
AwsWafRateBasedRuleDetails & AddMatchPredicates(AwsWafRateBasedRuleMatchPredicate &&value)
void SetMetricName(Aws::String &&value)
void SetRateKey(Aws::String &&value)
void SetRateLimit(long long value)
const Aws::Vector< AwsWafRateBasedRuleMatchPredicate > & GetMatchPredicates() const
bool MetricNameHasBeenSet() const
void SetRuleId(Aws::String &&value)
AwsWafRateBasedRuleDetails & WithName(const Aws::String &value)
bool RuleIdHasBeenSet() const
void SetRuleId(const char *value)
const Aws::String & GetRateKey() const
AwsWafRateBasedRuleDetails & WithName(Aws::String &&value)
const Aws::String & GetRuleId() const
void SetMatchPredicates(Aws::Vector< AwsWafRateBasedRuleMatchPredicate > &&value)
AwsWafRateBasedRuleDetails & WithRuleId(const char *value)
AwsWafRateBasedRuleDetails & WithMatchPredicates(const Aws::Vector< AwsWafRateBasedRuleMatchPredicate > &value)
AWS_SECURITYHUB_API AwsWafRateBasedRuleDetails()
AwsWafRateBasedRuleDetails & AddMatchPredicates(const AwsWafRateBasedRuleMatchPredicate &value)
AwsWafRateBasedRuleDetails & WithRateLimit(long long value)
void SetMatchPredicates(const Aws::Vector< AwsWafRateBasedRuleMatchPredicate > &value)
AwsWafRateBasedRuleDetails & WithMetricName(const Aws::String &value)
void SetName(const Aws::String &value)
bool MatchPredicatesHasBeenSet() const
AwsWafRateBasedRuleDetails & WithName(const char *value)
void SetRateKey(const Aws::String &value)
AwsWafRateBasedRuleDetails & WithRateKey(const Aws::String &value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetMetricName() const
AwsWafRateBasedRuleDetails & WithRateKey(Aws::String &&value)
bool RateKeyHasBeenSet() const
void SetRateKey(const char *value)
void SetName(const char *value)
AwsWafRateBasedRuleDetails & WithMatchPredicates(Aws::Vector< AwsWafRateBasedRuleMatchPredicate > &&value)
void SetName(Aws::String &&value)
AWS_SECURITYHUB_API AwsWafRateBasedRuleDetails(Aws::Utils::Json::JsonView jsonValue)
long long GetRateLimit() const
void SetMetricName(const char *value)
AwsWafRateBasedRuleDetails & WithRateKey(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