/*
* 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
{
///
/// Container for the parameters to the GetEventPredictionMetadata operation.
/// Gets details of the past fraud predictions for the specified event ID, event type,
/// detector ID, and detector version ID that was generated in the specified time period.
///
public partial class GetEventPredictionMetadataRequest : AmazonFraudDetectorRequest
{
private string _detectorId;
private string _detectorVersionId;
private string _eventId;
private string _eventTypeName;
private string _predictionTimestamp;
///
/// Gets and sets the property DetectorId.
///
/// The detector ID.
///
///
[AWSProperty(Required=true, 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(Required=true, 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 EventId.
///
/// The event ID.
///
///
[AWSProperty(Required=true, 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 EventTypeName.
///
/// The event type associated with the detector specified for the prediction.
///
///
[AWSProperty(Required=true, 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 PredictionTimestamp.
///
/// The timestamp that defines when the prediction was generated. The timestamp must
/// be specified using ISO 8601 standard in UTC.
///
///
///
/// We recommend calling ListEventPredictions
/// first, and using the predictionTimestamp
value in the response to provide
/// an accurate prediction timestamp value.
///
///
[AWSProperty(Required=true, 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;
}
}
}