AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingMetrics.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/frauddetector/model/MetricDataPoint.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FRAUDDETECTOR_API TrainingMetrics();
36 AWS_FRAUDDETECTOR_API TrainingMetrics(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API TrainingMetrics& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline double GetAuc() const{ return m_auc; }
49 inline bool AucHasBeenSet() const { return m_aucHasBeenSet; }
50 inline void SetAuc(double value) { m_aucHasBeenSet = true; m_auc = value; }
51 inline TrainingMetrics& WithAuc(double value) { SetAuc(value); return *this;}
53
55
58 inline const Aws::Vector<MetricDataPoint>& GetMetricDataPoints() const{ return m_metricDataPoints; }
59 inline bool MetricDataPointsHasBeenSet() const { return m_metricDataPointsHasBeenSet; }
60 inline void SetMetricDataPoints(const Aws::Vector<MetricDataPoint>& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints = value; }
61 inline void SetMetricDataPoints(Aws::Vector<MetricDataPoint>&& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints = std::move(value); }
63 inline TrainingMetrics& WithMetricDataPoints(Aws::Vector<MetricDataPoint>&& value) { SetMetricDataPoints(std::move(value)); return *this;}
64 inline TrainingMetrics& AddMetricDataPoints(const MetricDataPoint& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints.push_back(value); return *this; }
65 inline TrainingMetrics& AddMetricDataPoints(MetricDataPoint&& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints.push_back(std::move(value)); return *this; }
67 private:
68
69 double m_auc;
70 bool m_aucHasBeenSet = false;
71
72 Aws::Vector<MetricDataPoint> m_metricDataPoints;
73 bool m_metricDataPointsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace FraudDetector
78} // namespace Aws
AWS_FRAUDDETECTOR_API TrainingMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetricDataPoints(Aws::Vector< MetricDataPoint > &&value)
void SetMetricDataPoints(const Aws::Vector< MetricDataPoint > &value)
TrainingMetrics & WithMetricDataPoints(Aws::Vector< MetricDataPoint > &&value)
AWS_FRAUDDETECTOR_API TrainingMetrics(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MetricDataPoint > & GetMetricDataPoints() const
TrainingMetrics & WithMetricDataPoints(const Aws::Vector< MetricDataPoint > &value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingMetrics & AddMetricDataPoints(const MetricDataPoint &value)
TrainingMetrics & WithAuc(double value)
TrainingMetrics & AddMetricDataPoints(MetricDataPoint &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue