/** * 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 training metrics details.

See Also:

AWS * API Reference

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

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

*/ inline const OFITrainingMetricsValue& GetOfi() const{ return m_ofi; } /** *

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

*/ inline bool OfiHasBeenSet() const { return m_ofiHasBeenSet; } /** *

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

*/ inline void SetOfi(const OFITrainingMetricsValue& value) { m_ofiHasBeenSet = true; m_ofi = value; } /** *

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

*/ inline void SetOfi(OFITrainingMetricsValue&& value) { m_ofiHasBeenSet = true; m_ofi = std::move(value); } /** *

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

*/ inline TrainingMetricsV2& WithOfi(const OFITrainingMetricsValue& value) { SetOfi(value); return *this;} /** *

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

*/ inline TrainingMetricsV2& WithOfi(OFITrainingMetricsValue&& value) { SetOfi(std::move(value)); return *this;} /** *

The Transaction Fraud Insights (TFI) model training metric details.

*/ inline const TFITrainingMetricsValue& GetTfi() const{ return m_tfi; } /** *

The Transaction Fraud Insights (TFI) model training metric details.

*/ inline bool TfiHasBeenSet() const { return m_tfiHasBeenSet; } /** *

The Transaction Fraud Insights (TFI) model training metric details.

*/ inline void SetTfi(const TFITrainingMetricsValue& value) { m_tfiHasBeenSet = true; m_tfi = value; } /** *

The Transaction Fraud Insights (TFI) model training metric details.

*/ inline void SetTfi(TFITrainingMetricsValue&& value) { m_tfiHasBeenSet = true; m_tfi = std::move(value); } /** *

The Transaction Fraud Insights (TFI) model training metric details.

*/ inline TrainingMetricsV2& WithTfi(const TFITrainingMetricsValue& value) { SetTfi(value); return *this;} /** *

The Transaction Fraud Insights (TFI) model training metric details.

*/ inline TrainingMetricsV2& WithTfi(TFITrainingMetricsValue&& value) { SetTfi(std::move(value)); return *this;} /** *

The Account Takeover Insights (ATI) model training metric details.

*/ inline const ATITrainingMetricsValue& GetAti() const{ return m_ati; } /** *

The Account Takeover Insights (ATI) model training metric details.

*/ inline bool AtiHasBeenSet() const { return m_atiHasBeenSet; } /** *

The Account Takeover Insights (ATI) model training metric details.

*/ inline void SetAti(const ATITrainingMetricsValue& value) { m_atiHasBeenSet = true; m_ati = value; } /** *

The Account Takeover Insights (ATI) model training metric details.

*/ inline void SetAti(ATITrainingMetricsValue&& value) { m_atiHasBeenSet = true; m_ati = std::move(value); } /** *

The Account Takeover Insights (ATI) model training metric details.

*/ inline TrainingMetricsV2& WithAti(const ATITrainingMetricsValue& value) { SetAti(value); return *this;} /** *

The Account Takeover Insights (ATI) model training metric details.

*/ inline TrainingMetricsV2& WithAti(ATITrainingMetricsValue&& value) { SetAti(std::move(value)); return *this;} private: OFITrainingMetricsValue m_ofi; bool m_ofiHasBeenSet = false; TFITrainingMetricsValue m_tfi; bool m_tfiHasBeenSet = false; ATITrainingMetricsValue m_ati; bool m_atiHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws