98 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
155 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
173 inline Rule&
WithName(
const char* value) { SetName(value);
return *
this;}
185 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
254 bool m_ruleIdHasBeenSet;
256 bool m_nameHasBeenSet;
258 bool m_metricNameHasBeenSet;
260 bool m_predicatesHasBeenSet;
const Aws::String & GetMetricName() const
Rule & WithMetricName(Aws::String &&value)
const Aws::String & GetRuleId() const
const Aws::String & GetName() const
void SetMetricName(const Aws::String &value)
Rule & WithRuleId(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Rule & WithMetricName(const Aws::String &value)
void SetRuleId(const Aws::String &value)
Rule & WithName(const char *value)
Rule & WithName(const Aws::String &value)
Rule & WithRuleId(const char *value)
void SetName(const char *value)
Rule & AddPredicates(Predicate &&value)
Rule & WithName(Aws::String &&value)
Rule & WithMetricName(const char *value)
Rule & WithPredicates(const Aws::Vector< Predicate > &value)
void SetMetricName(const char *value)
void SetName(Aws::String &&value)
void SetRuleId(Aws::String &&value)
Rule & WithRuleId(const Aws::String &value)
void SetRuleId(const char *value)
const Aws::Vector< Predicate > & GetPredicates() const
Rule & AddPredicates(const Predicate &value)
Rule & WithPredicates(Aws::Vector< Predicate > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
void SetName(const Aws::String &value)
void SetMetricName(Aws::String &&value)
void SetPredicates(const Aws::Vector< Predicate > &value)
void SetPredicates(Aws::Vector< Predicate > &&value)
JSON (JavaScript Object Notation).