/** * 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 Transaction Fraud Insights (TFI) model training metric details. *

See Also:

AWS * API Reference

*/ class TFITrainingMetricsValue { public: AWS_FRAUDDETECTOR_API TFITrainingMetricsValue(); AWS_FRAUDDETECTOR_API TFITrainingMetricsValue(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API TFITrainingMetricsValue& 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 TFITrainingMetricsValue& WithMetricDataPoints(const Aws::Vector& value) { SetMetricDataPoints(value); return *this;} /** *

The model's performance metrics data points.

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

The model's performance metrics data points.

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

The model's performance metrics data points.

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

The model performance score.

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

The model performance score.

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

The model performance score.

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

The model performance score.

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

The model performance score.

*/ inline TFITrainingMetricsValue& WithModelPerformance(const TFIModelPerformance& value) { SetModelPerformance(value); return *this;} /** *

The model performance score.

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