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

The variable importance metrics details.

See Also:

AWS * API Reference

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

List of variable metrics.

*/ inline const Aws::Vector& GetLogOddsMetrics() const{ return m_logOddsMetrics; } /** *

List of variable metrics.

*/ inline bool LogOddsMetricsHasBeenSet() const { return m_logOddsMetricsHasBeenSet; } /** *

List of variable metrics.

*/ inline void SetLogOddsMetrics(const Aws::Vector& value) { m_logOddsMetricsHasBeenSet = true; m_logOddsMetrics = value; } /** *

List of variable metrics.

*/ inline void SetLogOddsMetrics(Aws::Vector&& value) { m_logOddsMetricsHasBeenSet = true; m_logOddsMetrics = std::move(value); } /** *

List of variable metrics.

*/ inline VariableImportanceMetrics& WithLogOddsMetrics(const Aws::Vector& value) { SetLogOddsMetrics(value); return *this;} /** *

List of variable metrics.

*/ inline VariableImportanceMetrics& WithLogOddsMetrics(Aws::Vector&& value) { SetLogOddsMetrics(std::move(value)); return *this;} /** *

List of variable metrics.

*/ inline VariableImportanceMetrics& AddLogOddsMetrics(const LogOddsMetric& value) { m_logOddsMetricsHasBeenSet = true; m_logOddsMetrics.push_back(value); return *this; } /** *

List of variable metrics.

*/ inline VariableImportanceMetrics& AddLogOddsMetrics(LogOddsMetric&& value) { m_logOddsMetricsHasBeenSet = true; m_logOddsMetrics.push_back(std::move(value)); return *this; } private: Aws::Vector m_logOddsMetrics; bool m_logOddsMetricsHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws