AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricDataPoint.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FraudDetector
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_FRAUDDETECTOR_API MetricDataPoint();
33 AWS_FRAUDDETECTOR_API MetricDataPoint(Aws::Utils::Json::JsonView jsonValue);
34 AWS_FRAUDDETECTOR_API MetricDataPoint& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline double GetFpr() const{ return m_fpr; }
44 inline bool FprHasBeenSet() const { return m_fprHasBeenSet; }
45 inline void SetFpr(double value) { m_fprHasBeenSet = true; m_fpr = value; }
46 inline MetricDataPoint& WithFpr(double value) { SetFpr(value); return *this;}
48
50
54 inline double GetPrecision() const{ return m_precision; }
55 inline bool PrecisionHasBeenSet() const { return m_precisionHasBeenSet; }
56 inline void SetPrecision(double value) { m_precisionHasBeenSet = true; m_precision = value; }
57 inline MetricDataPoint& WithPrecision(double value) { SetPrecision(value); return *this;}
59
61
65 inline double GetTpr() const{ return m_tpr; }
66 inline bool TprHasBeenSet() const { return m_tprHasBeenSet; }
67 inline void SetTpr(double value) { m_tprHasBeenSet = true; m_tpr = value; }
68 inline MetricDataPoint& WithTpr(double value) { SetTpr(value); return *this;}
70
72
77 inline double GetThreshold() const{ return m_threshold; }
78 inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }
79 inline void SetThreshold(double value) { m_thresholdHasBeenSet = true; m_threshold = value; }
80 inline MetricDataPoint& WithThreshold(double value) { SetThreshold(value); return *this;}
82 private:
83
84 double m_fpr;
85 bool m_fprHasBeenSet = false;
86
87 double m_precision;
88 bool m_precisionHasBeenSet = false;
89
90 double m_tpr;
91 bool m_tprHasBeenSet = false;
92
93 double m_threshold;
94 bool m_thresholdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace FraudDetector
99} // namespace Aws
AWS_FRAUDDETECTOR_API MetricDataPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API MetricDataPoint(Aws::Utils::Json::JsonView jsonValue)
MetricDataPoint & WithThreshold(double value)
MetricDataPoint & WithPrecision(double value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
MetricDataPoint & WithTpr(double value)
MetricDataPoint & WithFpr(double value)
Aws::Utils::Json::JsonValue JsonValue