AWS SDK for C++  1.9.15
AWS SDK for C++
TrainingMetrics.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace FraudDetector
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
47  inline double GetAuc() const{ return m_auc; }
48 
55  inline bool AucHasBeenSet() const { return m_aucHasBeenSet; }
56 
63  inline void SetAuc(double value) { m_aucHasBeenSet = true; m_auc = value; }
64 
71  inline TrainingMetrics& WithAuc(double value) { SetAuc(value); return *this;}
72 
73 
77  inline const Aws::Vector<MetricDataPoint>& GetMetricDataPoints() const{ return m_metricDataPoints; }
78 
82  inline bool MetricDataPointsHasBeenSet() const { return m_metricDataPointsHasBeenSet; }
83 
87  inline void SetMetricDataPoints(const Aws::Vector<MetricDataPoint>& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints = value; }
88 
92  inline void SetMetricDataPoints(Aws::Vector<MetricDataPoint>&& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints = std::move(value); }
93 
97  inline TrainingMetrics& WithMetricDataPoints(const Aws::Vector<MetricDataPoint>& value) { SetMetricDataPoints(value); return *this;}
98 
102  inline TrainingMetrics& WithMetricDataPoints(Aws::Vector<MetricDataPoint>&& value) { SetMetricDataPoints(std::move(value)); return *this;}
103 
107  inline TrainingMetrics& AddMetricDataPoints(const MetricDataPoint& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints.push_back(value); return *this; }
108 
112  inline TrainingMetrics& AddMetricDataPoints(MetricDataPoint&& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints.push_back(std::move(value)); return *this; }
113 
114  private:
115 
116  double m_auc;
117  bool m_aucHasBeenSet;
118 
119  Aws::Vector<MetricDataPoint> m_metricDataPoints;
120  bool m_metricDataPointsHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace FraudDetector
125 } // namespace Aws
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::TrainingMetrics::operator=
TrainingMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::TrainingMetrics::GetMetricDataPoints
const Aws::Vector< MetricDataPoint > & GetMetricDataPoints() const
Definition: TrainingMetrics.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::MetricDataPoint
Definition: MetricDataPoint.h:30
AWSVector.h
Aws::FraudDetector::Model::TrainingMetrics::SetAuc
void SetAuc(double value)
Definition: TrainingMetrics.h:63
Aws::FraudDetector::Model::TrainingMetrics::WithMetricDataPoints
TrainingMetrics & WithMetricDataPoints(const Aws::Vector< MetricDataPoint > &value)
Definition: TrainingMetrics.h:97
Aws::FraudDetector::Model::TrainingMetrics::SetMetricDataPoints
void SetMetricDataPoints(Aws::Vector< MetricDataPoint > &&value)
Definition: TrainingMetrics.h:92
Aws::FraudDetector::Model::TrainingMetrics::AddMetricDataPoints
TrainingMetrics & AddMetricDataPoints(const MetricDataPoint &value)
Definition: TrainingMetrics.h:107
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::TrainingMetrics::MetricDataPointsHasBeenSet
bool MetricDataPointsHasBeenSet() const
Definition: TrainingMetrics.h:82
MetricDataPoint.h
Aws::FraudDetector::Model::TrainingMetrics::AucHasBeenSet
bool AucHasBeenSet() const
Definition: TrainingMetrics.h:55
Aws::FraudDetector::Model::TrainingMetrics::WithAuc
TrainingMetrics & WithAuc(double value)
Definition: TrainingMetrics.h:71
Aws::FraudDetector::Model::TrainingMetrics::TrainingMetrics
TrainingMetrics()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::FraudDetector::Model::TrainingMetrics::SetMetricDataPoints
void SetMetricDataPoints(const Aws::Vector< MetricDataPoint > &value)
Definition: TrainingMetrics.h:87
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::TrainingMetrics::GetAuc
double GetAuc() const
Definition: TrainingMetrics.h:47
Aws::FraudDetector::Model::TrainingMetrics
Definition: TrainingMetrics.h:33
Aws::FraudDetector::Model::TrainingMetrics::WithMetricDataPoints
TrainingMetrics & WithMetricDataPoints(Aws::Vector< MetricDataPoint > &&value)
Definition: TrainingMetrics.h:102
Aws::FraudDetector::Model::TrainingMetrics::AddMetricDataPoints
TrainingMetrics & AddMetricDataPoints(MetricDataPoint &&value)
Definition: TrainingMetrics.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::TrainingMetrics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::TrainingMetrics::TrainingMetrics
TrainingMetrics(Aws::Utils::Json::JsonView jsonValue)