/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 performance score.

See * Also:

AWS * API Reference

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

The area under the curve (auc). This summarizes the total positive rate * (tpr) and false positive rate (FPR) across all possible model score thresholds. *

*/ inline double GetAuc() const{ return m_auc; } /** *

The area under the curve (auc). This summarizes the total positive rate * (tpr) and false positive rate (FPR) across all possible model score thresholds. *

*/ inline bool AucHasBeenSet() const { return m_aucHasBeenSet; } /** *

The area under the curve (auc). This summarizes the total positive rate * (tpr) and false positive rate (FPR) across all possible model score thresholds. *

*/ inline void SetAuc(double value) { m_aucHasBeenSet = true; m_auc = value; } /** *

The area under the curve (auc). This summarizes the total positive rate * (tpr) and false positive rate (FPR) across all possible model score thresholds. *

*/ inline OFIModelPerformance& WithAuc(double value) { SetAuc(value); return *this;} /** *

Indicates the range of area under curve (auc) expected from the OFI model. A * range greater than 0.1 indicates higher model uncertainity.

*/ inline const UncertaintyRange& GetUncertaintyRange() const{ return m_uncertaintyRange; } /** *

Indicates the range of area under curve (auc) expected from the OFI model. A * range greater than 0.1 indicates higher model uncertainity.

*/ inline bool UncertaintyRangeHasBeenSet() const { return m_uncertaintyRangeHasBeenSet; } /** *

Indicates the range of area under curve (auc) expected from the OFI model. A * range greater than 0.1 indicates higher model uncertainity.

*/ inline void SetUncertaintyRange(const UncertaintyRange& value) { m_uncertaintyRangeHasBeenSet = true; m_uncertaintyRange = value; } /** *

Indicates the range of area under curve (auc) expected from the OFI model. A * range greater than 0.1 indicates higher model uncertainity.

*/ inline void SetUncertaintyRange(UncertaintyRange&& value) { m_uncertaintyRangeHasBeenSet = true; m_uncertaintyRange = std::move(value); } /** *

Indicates the range of area under curve (auc) expected from the OFI model. A * range greater than 0.1 indicates higher model uncertainity.

*/ inline OFIModelPerformance& WithUncertaintyRange(const UncertaintyRange& value) { SetUncertaintyRange(value); return *this;} /** *

Indicates the range of area under curve (auc) expected from the OFI model. A * range greater than 0.1 indicates higher model uncertainity.

*/ inline OFIModelPerformance& WithUncertaintyRange(UncertaintyRange&& value) { SetUncertaintyRange(std::move(value)); return *this;} private: double m_auc; bool m_aucHasBeenSet = false; UncertaintyRange m_uncertaintyRange; bool m_uncertaintyRangeHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws