/* * 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 batch prediction details. /// public partial class BatchPrediction { private string _arn; private string _completionTime; private string _detectorName; private string _detectorVersion; private string _eventTypeName; private string _failureReason; private string _iamRoleArn; private string _inputPath; private string _jobId; private string _lastHeartbeatTime; private string _outputPath; private int? _processedRecordsCount; private string _startTime; private AsyncJobStatus _status; private int? _totalRecordsCount; /// /// Gets and sets the property Arn. /// /// The ARN of batch prediction job. /// /// [AWSProperty(Min=1, Max=256)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property CompletionTime. /// /// Timestamp of when the batch prediction job completed. /// /// [AWSProperty(Min=11, Max=30)] public string CompletionTime { get { return this._completionTime; } set { this._completionTime = value; } } // Check to see if CompletionTime property is set internal bool IsSetCompletionTime() { return this._completionTime != null; } /// /// Gets and sets the property DetectorName. /// /// The name of the detector. /// /// [AWSProperty(Min=1, Max=64)] public string DetectorName { get { return this._detectorName; } set { this._detectorName = value; } } // Check to see if DetectorName property is set internal bool IsSetDetectorName() { return this._detectorName != null; } /// /// Gets and sets the property DetectorVersion. /// /// The detector version. /// /// [AWSProperty(Min=3, Max=7)] public string DetectorVersion { get { return this._detectorVersion; } set { this._detectorVersion = value; } } // Check to see if DetectorVersion property is set internal bool IsSetDetectorVersion() { return this._detectorVersion != null; } /// /// Gets and sets the property EventTypeName. /// /// The name of the event type. /// /// [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 FailureReason. /// /// The reason a batch prediction job failed. /// /// public string FailureReason { get { return this._failureReason; } set { this._failureReason = value; } } // Check to see if FailureReason property is set internal bool IsSetFailureReason() { return this._failureReason != null; } /// /// Gets and sets the property IamRoleArn. /// /// The ARN of the IAM role to use for this job request. /// /// [AWSProperty(Min=1, Max=256)] public string IamRoleArn { get { return this._iamRoleArn; } set { this._iamRoleArn = value; } } // Check to see if IamRoleArn property is set internal bool IsSetIamRoleArn() { return this._iamRoleArn != null; } /// /// Gets and sets the property InputPath. /// /// The Amazon S3 location of your training file. /// /// [AWSProperty(Min=1, Max=512)] public string InputPath { get { return this._inputPath; } set { this._inputPath = value; } } // Check to see if InputPath property is set internal bool IsSetInputPath() { return this._inputPath != null; } /// /// Gets and sets the property JobId. /// /// The job ID for the batch prediction. /// /// [AWSProperty(Min=1, Max=64)] public string JobId { get { return this._jobId; } set { this._jobId = value; } } // Check to see if JobId property is set internal bool IsSetJobId() { return this._jobId != null; } /// /// Gets and sets the property LastHeartbeatTime. /// /// Timestamp of most recent heartbeat indicating the batch prediction job was making /// progress. /// /// [AWSProperty(Min=11, Max=30)] public string LastHeartbeatTime { get { return this._lastHeartbeatTime; } set { this._lastHeartbeatTime = value; } } // Check to see if LastHeartbeatTime property is set internal bool IsSetLastHeartbeatTime() { return this._lastHeartbeatTime != null; } /// /// Gets and sets the property OutputPath. /// /// The Amazon S3 location of your output file. /// /// [AWSProperty(Min=1, Max=512)] public string OutputPath { get { return this._outputPath; } set { this._outputPath = value; } } // Check to see if OutputPath property is set internal bool IsSetOutputPath() { return this._outputPath != null; } /// /// Gets and sets the property ProcessedRecordsCount. /// /// The number of records processed by the batch prediction job. /// /// public int ProcessedRecordsCount { get { return this._processedRecordsCount.GetValueOrDefault(); } set { this._processedRecordsCount = value; } } // Check to see if ProcessedRecordsCount property is set internal bool IsSetProcessedRecordsCount() { return this._processedRecordsCount.HasValue; } /// /// Gets and sets the property StartTime. /// /// Timestamp of when the batch prediction job started. /// /// [AWSProperty(Min=11, Max=30)] public string StartTime { get { return this._startTime; } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime != null; } /// /// Gets and sets the property Status. /// /// The batch prediction status. /// /// public AsyncJobStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property TotalRecordsCount. /// /// The total number of records in the batch prediction job. /// /// public int TotalRecordsCount { get { return this._totalRecordsCount.GetValueOrDefault(); } set { this._totalRecordsCount = value; } } // Check to see if TotalRecordsCount property is set internal bool IsSetTotalRecordsCount() { return this._totalRecordsCount.HasValue; } } }