7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
19namespace FraudDetector
43 inline double GetFpr()
const {
return m_fpr; }
45 inline void SetFpr(
double value) { m_fprHasBeenSet =
true; m_fpr = value; }
56 inline void SetPrecision(
double value) { m_precisionHasBeenSet =
true; m_precision = value; }
65 inline double GetTpr()
const {
return m_tpr; }
67 inline void SetTpr(
double value) { m_tprHasBeenSet =
true; m_tpr = value; }
79 inline void SetThreshold(
double value) { m_thresholdHasBeenSet =
true; m_threshold = value; }
85 bool m_fprHasBeenSet =
false;
87 double m_precision{0.0};
88 bool m_precisionHasBeenSet =
false;
91 bool m_tprHasBeenSet =
false;
93 double m_threshold{0.0};
94 bool m_thresholdHasBeenSet =
false;
AWS_FRAUDDETECTOR_API MetricDataPoint()=default
bool FprHasBeenSet() const
bool TprHasBeenSet() const
AWS_FRAUDDETECTOR_API MetricDataPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFpr(double value)
double GetPrecision() const
double GetThreshold() const
AWS_FRAUDDETECTOR_API MetricDataPoint(Aws::Utils::Json::JsonView jsonValue)
void SetPrecision(double value)
bool ThresholdHasBeenSet() const
void SetTpr(double value)
bool PrecisionHasBeenSet() const
MetricDataPoint & WithThreshold(double value)
MetricDataPoint & WithPrecision(double value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThreshold(double value)
MetricDataPoint & WithTpr(double value)
MetricDataPoint & WithFpr(double value)
Aws::Utils::Json::JsonValue JsonValue