AWS SDK for C++  1.9.20
AWS SDK for C++
MetricDataPoint.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace FraudDetector
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
42  inline double GetFpr() const{ return m_fpr; }
43 
48  inline bool FprHasBeenSet() const { return m_fprHasBeenSet; }
49 
54  inline void SetFpr(double value) { m_fprHasBeenSet = true; m_fpr = value; }
55 
60  inline MetricDataPoint& WithFpr(double value) { SetFpr(value); return *this;}
61 
62 
67  inline double GetPrecision() const{ return m_precision; }
68 
73  inline bool PrecisionHasBeenSet() const { return m_precisionHasBeenSet; }
74 
79  inline void SetPrecision(double value) { m_precisionHasBeenSet = true; m_precision = value; }
80 
85  inline MetricDataPoint& WithPrecision(double value) { SetPrecision(value); return *this;}
86 
87 
92  inline double GetTpr() const{ return m_tpr; }
93 
98  inline bool TprHasBeenSet() const { return m_tprHasBeenSet; }
99 
104  inline void SetTpr(double value) { m_tprHasBeenSet = true; m_tpr = value; }
105 
110  inline MetricDataPoint& WithTpr(double value) { SetTpr(value); return *this;}
111 
112 
118  inline double GetThreshold() const{ return m_threshold; }
119 
125  inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }
126 
132  inline void SetThreshold(double value) { m_thresholdHasBeenSet = true; m_threshold = value; }
133 
139  inline MetricDataPoint& WithThreshold(double value) { SetThreshold(value); return *this;}
140 
141  private:
142 
143  double m_fpr;
144  bool m_fprHasBeenSet;
145 
146  double m_precision;
147  bool m_precisionHasBeenSet;
148 
149  double m_tpr;
150  bool m_tprHasBeenSet;
151 
152  double m_threshold;
153  bool m_thresholdHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace FraudDetector
158 } // namespace Aws
Aws::FraudDetector::Model::MetricDataPoint::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::MetricDataPoint::GetPrecision
double GetPrecision() const
Definition: MetricDataPoint.h:67
Aws::FraudDetector::Model::MetricDataPoint::GetThreshold
double GetThreshold() const
Definition: MetricDataPoint.h:118
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::MetricDataPoint::GetFpr
double GetFpr() const
Definition: MetricDataPoint.h:42
Aws::FraudDetector::Model::MetricDataPoint::WithTpr
MetricDataPoint & WithTpr(double value)
Definition: MetricDataPoint.h:110
Aws::FraudDetector::Model::MetricDataPoint
Definition: MetricDataPoint.h:30
Aws::FraudDetector::Model::MetricDataPoint::MetricDataPoint
MetricDataPoint()
Aws::FraudDetector::Model::MetricDataPoint::FprHasBeenSet
bool FprHasBeenSet() const
Definition: MetricDataPoint.h:48
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::MetricDataPoint::WithFpr
MetricDataPoint & WithFpr(double value)
Definition: MetricDataPoint.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::FraudDetector::Model::MetricDataPoint::WithPrecision
MetricDataPoint & WithPrecision(double value)
Definition: MetricDataPoint.h:85
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::MetricDataPoint::MetricDataPoint
MetricDataPoint(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::MetricDataPoint::ThresholdHasBeenSet
bool ThresholdHasBeenSet() const
Definition: MetricDataPoint.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::MetricDataPoint::SetTpr
void SetTpr(double value)
Definition: MetricDataPoint.h:104
Aws::FraudDetector::Model::MetricDataPoint::WithThreshold
MetricDataPoint & WithThreshold(double value)
Definition: MetricDataPoint.h:139
Aws::FraudDetector::Model::MetricDataPoint::operator=
MetricDataPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::MetricDataPoint::SetFpr
void SetFpr(double value)
Definition: MetricDataPoint.h:54
Aws::FraudDetector::Model::MetricDataPoint::SetThreshold
void SetThreshold(double value)
Definition: MetricDataPoint.h:132
Aws::FraudDetector::Model::MetricDataPoint::GetTpr
double GetTpr() const
Definition: MetricDataPoint.h:92
Aws::FraudDetector::Model::MetricDataPoint::SetPrecision
void SetPrecision(double value)
Definition: MetricDataPoint.h:79
Aws::FraudDetector::Model::MetricDataPoint::PrecisionHasBeenSet
bool PrecisionHasBeenSet() const
Definition: MetricDataPoint.h:73
Aws::FraudDetector::Model::MetricDataPoint::TprHasBeenSet
bool TprHasBeenSet() const
Definition: MetricDataPoint.h:98