/*
* 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 states-2016-11-23.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.StepFunctions.Model
{
///
/// Contains details about items that were processed in all of the child workflow executions
/// that were started by a Map Run.
///
public partial class MapRunItemCounts
{
private long? _aborted;
private long? _failed;
private long? _pending;
private long? _resultsWritten;
private long? _running;
private long? _succeeded;
private long? _timedOut;
private long? _total;
///
/// Gets and sets the property Aborted.
///
/// The total number of items processed in child workflow executions that were either
/// stopped by the user or by Step Functions, because the Map Run failed.
///
///
[AWSProperty(Required=true, Min=0)]
public long Aborted
{
get { return this._aborted.GetValueOrDefault(); }
set { this._aborted = value; }
}
// Check to see if Aborted property is set
internal bool IsSetAborted()
{
return this._aborted.HasValue;
}
///
/// Gets and sets the property Failed.
///
/// The total number of items processed in child workflow executions that have failed.
///
///
[AWSProperty(Required=true, Min=0)]
public long Failed
{
get { return this._failed.GetValueOrDefault(); }
set { this._failed = value; }
}
// Check to see if Failed property is set
internal bool IsSetFailed()
{
return this._failed.HasValue;
}
///
/// Gets and sets the property Pending.
///
/// The total number of items to process in child workflow executions that haven't started
/// running yet.
///
///
[AWSProperty(Required=true, Min=0)]
public long Pending
{
get { return this._pending.GetValueOrDefault(); }
set { this._pending = value; }
}
// Check to see if Pending property is set
internal bool IsSetPending()
{
return this._pending.HasValue;
}
///
/// Gets and sets the property ResultsWritten.
///
/// Returns the count of items whose results were written by ResultWriter
.
/// For more information, see ResultWriter
/// in the Step Functions Developer Guide.
///
///
[AWSProperty(Required=true, Min=0)]
public long ResultsWritten
{
get { return this._resultsWritten.GetValueOrDefault(); }
set { this._resultsWritten = value; }
}
// Check to see if ResultsWritten property is set
internal bool IsSetResultsWritten()
{
return this._resultsWritten.HasValue;
}
///
/// Gets and sets the property Running.
///
/// The total number of items being processed in child workflow executions that are currently
/// in-progress.
///
///
[AWSProperty(Required=true, Min=0)]
public long Running
{
get { return this._running.GetValueOrDefault(); }
set { this._running = value; }
}
// Check to see if Running property is set
internal bool IsSetRunning()
{
return this._running.HasValue;
}
///
/// Gets and sets the property Succeeded.
///
/// The total number of items processed in child workflow executions that have completed
/// successfully.
///
///
[AWSProperty(Required=true, Min=0)]
public long Succeeded
{
get { return this._succeeded.GetValueOrDefault(); }
set { this._succeeded = value; }
}
// Check to see if Succeeded property is set
internal bool IsSetSucceeded()
{
return this._succeeded.HasValue;
}
///
/// Gets and sets the property TimedOut.
///
/// The total number of items processed in child workflow executions that have timed out.
///
///
[AWSProperty(Required=true, Min=0)]
public long TimedOut
{
get { return this._timedOut.GetValueOrDefault(); }
set { this._timedOut = value; }
}
// Check to see if TimedOut property is set
internal bool IsSetTimedOut()
{
return this._timedOut.HasValue;
}
///
/// Gets and sets the property Total.
///
/// The total number of items processed in all the child workflow executions started by
/// a Map Run.
///
///
[AWSProperty(Required=true, Min=0)]
public long Total
{
get { return this._total.GetValueOrDefault(); }
set { this._total = value; }
}
// Check to see if Total property is set
internal bool IsSetTotal()
{
return this._total.HasValue;
}
}
}