/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the frauddetector-2019-11-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.FraudDetector.Model
{
///
/// The log odds metric details.
///
public partial class LogOddsMetric
{
private float? _variableImportance;
private string _variableName;
private string _variableType;
///
/// Gets and sets the property VariableImportance.
///
/// The relative importance of the variable. For more information, see Model
/// variable importance.
///
///
[AWSProperty(Required=true)]
public float VariableImportance
{
get { return this._variableImportance.GetValueOrDefault(); }
set { this._variableImportance = value; }
}
// Check to see if VariableImportance property is set
internal bool IsSetVariableImportance()
{
return this._variableImportance.HasValue;
}
///
/// Gets and sets the property VariableName.
///
/// The name of the variable.
///
///
[AWSProperty(Required=true)]
public string VariableName
{
get { return this._variableName; }
set { this._variableName = value; }
}
// Check to see if VariableName property is set
internal bool IsSetVariableName()
{
return this._variableName != null;
}
///
/// Gets and sets the property VariableType.
///
/// The type of variable.
///
///
[AWSProperty(Required=true)]
public string VariableType
{
get { return this._variableType; }
set { this._variableType = value; }
}
// Check to see if VariableType property is set
internal bool IsSetVariableType()
{
return this._variableType != null;
}
}
}