7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/route53-recovery-control-config/model/RuleType.h>
21namespace Route53RecoveryControlConfig
37 AWS_ROUTE53RECOVERYCONTROLCONFIG_API
RuleConfig() =
default;
50 inline void SetInverted(
bool value) { m_invertedHasBeenSet =
true; m_inverted = value; }
61 inline void SetThreshold(
int value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
76 bool m_inverted{
false};
77 bool m_invertedHasBeenSet =
false;
80 bool m_thresholdHasBeenSet =
false;
83 bool m_typeHasBeenSet =
false;
AWS_ROUTE53RECOVERYCONTROLCONFIG_API RuleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleConfig & WithThreshold(int value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RECOVERYCONTROLCONFIG_API RuleConfig()=default
bool InvertedHasBeenSet() const
void SetThreshold(int value)
bool ThresholdHasBeenSet() const
bool TypeHasBeenSet() const
void SetType(RuleType value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API RuleConfig(Aws::Utils::Json::JsonView jsonValue)
RuleConfig & WithType(RuleType value)
RuleConfig & WithInverted(bool value)
void SetInverted(bool value)
Aws::Utils::Json::JsonValue JsonValue