/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** *

The Online Fraud Insights (OFI) model training metric details. *

See Also:

AWS * API Reference

*/ class OFITrainingMetricsValue { public: AWS_FRAUDDETECTOR_API OFITrainingMetricsValue(); AWS_FRAUDDETECTOR_API OFITrainingMetricsValue(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API OFITrainingMetricsValue& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The model's performance metrics data points.

*/ inline const Aws::Vector& GetMetricDataPoints() const{ return m_metricDataPoints; } /** *

The model's performance metrics data points.

*/ inline bool MetricDataPointsHasBeenSet() const { return m_metricDataPointsHasBeenSet; } /** *

The model's performance metrics data points.

*/ inline void SetMetricDataPoints(const Aws::Vector& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints = value; } /** *

The model's performance metrics data points.

*/ inline void SetMetricDataPoints(Aws::Vector&& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints = std::move(value); } /** *

The model's performance metrics data points.

*/ inline OFITrainingMetricsValue& WithMetricDataPoints(const Aws::Vector& value) { SetMetricDataPoints(value); return *this;} /** *

The model's performance metrics data points.

*/ inline OFITrainingMetricsValue& WithMetricDataPoints(Aws::Vector&& value) { SetMetricDataPoints(std::move(value)); return *this;} /** *

The model's performance metrics data points.

*/ inline OFITrainingMetricsValue& AddMetricDataPoints(const OFIMetricDataPoint& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints.push_back(value); return *this; } /** *

The model's performance metrics data points.

*/ inline OFITrainingMetricsValue& AddMetricDataPoints(OFIMetricDataPoint&& value) { m_metricDataPointsHasBeenSet = true; m_metricDataPoints.push_back(std::move(value)); return *this; } /** *

The model's overall performance score.

*/ inline const OFIModelPerformance& GetModelPerformance() const{ return m_modelPerformance; } /** *

The model's overall performance score.

*/ inline bool ModelPerformanceHasBeenSet() const { return m_modelPerformanceHasBeenSet; } /** *

The model's overall performance score.

*/ inline void SetModelPerformance(const OFIModelPerformance& value) { m_modelPerformanceHasBeenSet = true; m_modelPerformance = value; } /** *

The model's overall performance score.

*/ inline void SetModelPerformance(OFIModelPerformance&& value) { m_modelPerformanceHasBeenSet = true; m_modelPerformance = std::move(value); } /** *

The model's overall performance score.

*/ inline OFITrainingMetricsValue& WithModelPerformance(const OFIModelPerformance& value) { SetModelPerformance(value); return *this;} /** *

The model's overall performance score.

*/ inline OFITrainingMetricsValue& WithModelPerformance(OFIModelPerformance&& value) { SetModelPerformance(std::move(value)); return *this;} private: Aws::Vector m_metricDataPoints; bool m_metricDataPointsHasBeenSet = false; OFIModelPerformance m_modelPerformance; bool m_modelPerformanceHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws