/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The log odds metric details.See Also:
AWS
* API Reference
The name of the variable.
*/ inline const Aws::String& GetVariableName() const{ return m_variableName; } /** *The name of the variable.
*/ inline bool VariableNameHasBeenSet() const { return m_variableNameHasBeenSet; } /** *The name of the variable.
*/ inline void SetVariableName(const Aws::String& value) { m_variableNameHasBeenSet = true; m_variableName = value; } /** *The name of the variable.
*/ inline void SetVariableName(Aws::String&& value) { m_variableNameHasBeenSet = true; m_variableName = std::move(value); } /** *The name of the variable.
*/ inline void SetVariableName(const char* value) { m_variableNameHasBeenSet = true; m_variableName.assign(value); } /** *The name of the variable.
*/ inline LogOddsMetric& WithVariableName(const Aws::String& value) { SetVariableName(value); return *this;} /** *The name of the variable.
*/ inline LogOddsMetric& WithVariableName(Aws::String&& value) { SetVariableName(std::move(value)); return *this;} /** *The name of the variable.
*/ inline LogOddsMetric& WithVariableName(const char* value) { SetVariableName(value); return *this;} /** *The type of variable.
*/ inline const Aws::String& GetVariableType() const{ return m_variableType; } /** *The type of variable.
*/ inline bool VariableTypeHasBeenSet() const { return m_variableTypeHasBeenSet; } /** *The type of variable.
*/ inline void SetVariableType(const Aws::String& value) { m_variableTypeHasBeenSet = true; m_variableType = value; } /** *The type of variable.
*/ inline void SetVariableType(Aws::String&& value) { m_variableTypeHasBeenSet = true; m_variableType = std::move(value); } /** *The type of variable.
*/ inline void SetVariableType(const char* value) { m_variableTypeHasBeenSet = true; m_variableType.assign(value); } /** *The type of variable.
*/ inline LogOddsMetric& WithVariableType(const Aws::String& value) { SetVariableType(value); return *this;} /** *The type of variable.
*/ inline LogOddsMetric& WithVariableType(Aws::String&& value) { SetVariableType(std::move(value)); return *this;} /** *The type of variable.
*/ inline LogOddsMetric& WithVariableType(const char* value) { SetVariableType(value); return *this;} /** *The relative importance of the variable. For more information, see Model * variable importance.
*/ inline double GetVariableImportance() const{ return m_variableImportance; } /** *The relative importance of the variable. For more information, see Model * variable importance.
*/ inline bool VariableImportanceHasBeenSet() const { return m_variableImportanceHasBeenSet; } /** *The relative importance of the variable. For more information, see Model * variable importance.
*/ inline void SetVariableImportance(double value) { m_variableImportanceHasBeenSet = true; m_variableImportance = value; } /** *The relative importance of the variable. For more information, see Model * variable importance.
*/ inline LogOddsMetric& WithVariableImportance(double value) { SetVariableImportance(value); return *this;} private: Aws::String m_variableName; bool m_variableNameHasBeenSet = false; Aws::String m_variableType; bool m_variableTypeHasBeenSet = false; double m_variableImportance; bool m_variableImportanceHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws