7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AcceptRuleBehavior.h>
59 inline void SetThreshold(
double value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
65 bool m_ruleHasBeenSet =
false;
67 double m_threshold{0.0};
68 bool m_thresholdHasBeenSet =
false;
double GetThreshold() const
AWS_DATAZONE_API AcceptRule(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API AcceptRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThreshold(double value)
bool RuleHasBeenSet() const
AcceptRule & WithThreshold(double value)
bool ThresholdHasBeenSet() const
AcceptRuleBehavior GetRule() const
AcceptRule & WithRule(AcceptRuleBehavior value)
void SetRule(AcceptRuleBehavior value)
AWS_DATAZONE_API AcceptRule()=default
Aws::Utils::Json::JsonValue JsonValue