/*
* 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
{
///
/// This is the response object from the GetEventPredictionMetadata operation.
///
public partial class GetEventPredictionMetadataResponse : AmazonWebServiceResponse
{
private string _detectorId;
private string _detectorVersionId;
private string _detectorVersionStatus;
private string _entityId;
private string _entityType;
private List _evaluatedExternalModels = new List();
private List _evaluatedModelVersions = new List();
private string _eventId;
private string _eventTimestamp;
private string _eventTypeName;
private List _eventVariables = new List();
private List _outcomes = new List();
private string _predictionTimestamp;
private RuleExecutionMode _ruleExecutionMode;
private List _rules = new List();
///
/// Gets and sets the property DetectorId.
///
/// The detector ID.
///
///
[AWSProperty(Min=1, Max=64)]
public string DetectorId
{
get { return this._detectorId; }
set { this._detectorId = value; }
}
// Check to see if DetectorId property is set
internal bool IsSetDetectorId()
{
return this._detectorId != null;
}
///
/// Gets and sets the property DetectorVersionId.
///
/// The detector version ID.
///
///
[AWSProperty(Min=1, Max=5)]
public string DetectorVersionId
{
get { return this._detectorVersionId; }
set { this._detectorVersionId = value; }
}
// Check to see if DetectorVersionId property is set
internal bool IsSetDetectorVersionId()
{
return this._detectorVersionId != null;
}
///
/// Gets and sets the property DetectorVersionStatus.
///
/// The status of the detector version.
///
///
public string DetectorVersionStatus
{
get { return this._detectorVersionStatus; }
set { this._detectorVersionStatus = value; }
}
// Check to see if DetectorVersionStatus property is set
internal bool IsSetDetectorVersionStatus()
{
return this._detectorVersionStatus != null;
}
///
/// Gets and sets the property EntityId.
///
/// The entity ID.
///
///
public string EntityId
{
get { return this._entityId; }
set { this._entityId = value; }
}
// Check to see if EntityId property is set
internal bool IsSetEntityId()
{
return this._entityId != null;
}
///
/// Gets and sets the property EntityType.
///
/// The entity type.
///
///
public string EntityType
{
get { return this._entityType; }
set { this._entityType = value; }
}
// Check to see if EntityType property is set
internal bool IsSetEntityType()
{
return this._entityType != null;
}
///
/// Gets and sets the property EvaluatedExternalModels.
///
/// External (Amazon SageMaker) models that were evaluated for generating predictions.
///
///
///
public List EvaluatedExternalModels
{
get { return this._evaluatedExternalModels; }
set { this._evaluatedExternalModels = value; }
}
// Check to see if EvaluatedExternalModels property is set
internal bool IsSetEvaluatedExternalModels()
{
return this._evaluatedExternalModels != null && this._evaluatedExternalModels.Count > 0;
}
///
/// Gets and sets the property EvaluatedModelVersions.
///
/// Model versions that were evaluated for generating predictions.
///
///
public List EvaluatedModelVersions
{
get { return this._evaluatedModelVersions; }
set { this._evaluatedModelVersions = value; }
}
// Check to see if EvaluatedModelVersions property is set
internal bool IsSetEvaluatedModelVersions()
{
return this._evaluatedModelVersions != null && this._evaluatedModelVersions.Count > 0;
}
///
/// Gets and sets the property EventId.
///
/// The event ID.
///
///
[AWSProperty(Min=1, Max=64)]
public string EventId
{
get { return this._eventId; }
set { this._eventId = value; }
}
// Check to see if EventId property is set
internal bool IsSetEventId()
{
return this._eventId != null;
}
///
/// Gets and sets the property EventTimestamp.
///
/// The timestamp for when the prediction was generated for the associated event ID.
///
///
///
[AWSProperty(Min=11, Max=30)]
public string EventTimestamp
{
get { return this._eventTimestamp; }
set { this._eventTimestamp = value; }
}
// Check to see if EventTimestamp property is set
internal bool IsSetEventTimestamp()
{
return this._eventTimestamp != null;
}
///
/// Gets and sets the property EventTypeName.
///
/// The event type associated with the detector specified for this prediction.
///
///
[AWSProperty(Min=1, Max=64)]
public string EventTypeName
{
get { return this._eventTypeName; }
set { this._eventTypeName = value; }
}
// Check to see if EventTypeName property is set
internal bool IsSetEventTypeName()
{
return this._eventTypeName != null;
}
///
/// Gets and sets the property EventVariables.
///
/// A list of event variables that influenced the prediction scores.
///
///
public List EventVariables
{
get { return this._eventVariables; }
set { this._eventVariables = value; }
}
// Check to see if EventVariables property is set
internal bool IsSetEventVariables()
{
return this._eventVariables != null && this._eventVariables.Count > 0;
}
///
/// Gets and sets the property Outcomes.
///
/// The outcomes of the matched rule, based on the rule execution mode.
///
///
public List Outcomes
{
get { return this._outcomes; }
set { this._outcomes = value; }
}
// Check to see if Outcomes property is set
internal bool IsSetOutcomes()
{
return this._outcomes != null && this._outcomes.Count > 0;
}
///
/// Gets and sets the property PredictionTimestamp.
///
/// The timestamp that defines when the prediction was generated.
///
///
[AWSProperty(Min=11, Max=30)]
public string PredictionTimestamp
{
get { return this._predictionTimestamp; }
set { this._predictionTimestamp = value; }
}
// Check to see if PredictionTimestamp property is set
internal bool IsSetPredictionTimestamp()
{
return this._predictionTimestamp != null;
}
///
/// Gets and sets the property RuleExecutionMode.
///
/// The execution mode of the rule used for evaluating variable values.
///
///
public RuleExecutionMode RuleExecutionMode
{
get { return this._ruleExecutionMode; }
set { this._ruleExecutionMode = value; }
}
// Check to see if RuleExecutionMode property is set
internal bool IsSetRuleExecutionMode()
{
return this._ruleExecutionMode != null;
}
///
/// Gets and sets the property Rules.
///
/// List of rules associated with the detector version that were used for evaluating
/// variable values.
///
///
public List Rules
{
get { return this._rules; }
set { this._rules = value; }
}
// Check to see if Rules property is set
internal bool IsSetRules()
{
return this._rules != null && this._rules.Count > 0;
}
}
}