/*
* 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 a specific Map Run.
///
public partial class MapRunListItem
{
private string _executionArn;
private string _mapRunArn;
private DateTime? _startDate;
private string _stateMachineArn;
private DateTime? _stopDate;
///
/// Gets and sets the property ExecutionArn.
///
/// The executionArn
of the execution from which the Map Run was started.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string ExecutionArn
{
get { return this._executionArn; }
set { this._executionArn = value; }
}
// Check to see if ExecutionArn property is set
internal bool IsSetExecutionArn()
{
return this._executionArn != null;
}
///
/// Gets and sets the property MapRunArn.
///
/// The Amazon Resource Name (ARN) of the Map Run.
///
///
[AWSProperty(Required=true, Min=1, Max=2000)]
public string MapRunArn
{
get { return this._mapRunArn; }
set { this._mapRunArn = value; }
}
// Check to see if MapRunArn property is set
internal bool IsSetMapRunArn()
{
return this._mapRunArn != null;
}
///
/// Gets and sets the property StartDate.
///
/// The date on which the Map Run started.
///
///
[AWSProperty(Required=true)]
public DateTime StartDate
{
get { return this._startDate.GetValueOrDefault(); }
set { this._startDate = value; }
}
// Check to see if StartDate property is set
internal bool IsSetStartDate()
{
return this._startDate.HasValue;
}
///
/// Gets and sets the property StateMachineArn.
///
/// The Amazon Resource Name (ARN) of the executed state machine.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string StateMachineArn
{
get { return this._stateMachineArn; }
set { this._stateMachineArn = value; }
}
// Check to see if StateMachineArn property is set
internal bool IsSetStateMachineArn()
{
return this._stateMachineArn != null;
}
///
/// Gets and sets the property StopDate.
///
/// The date on which the Map Run stopped.
///
///
public DateTime StopDate
{
get { return this._stopDate.GetValueOrDefault(); }
set { this._stopDate = value; }
}
// Check to see if StopDate property is set
internal bool IsSetStopDate()
{
return this._stopDate.HasValue;
}
}
}