/*
* 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
{
///
/// This is the response object from the UpdateStateMachine operation.
///
public partial class UpdateStateMachineResponse : AmazonWebServiceResponse
{
private string _revisionId;
private string _stateMachineVersionArn;
private DateTime? _updateDate;
///
/// Gets and sets the property RevisionId.
///
/// The revision identifier for the updated state machine.
///
///
public string RevisionId
{
get { return this._revisionId; }
set { this._revisionId = value; }
}
// Check to see if RevisionId property is set
internal bool IsSetRevisionId()
{
return this._revisionId != null;
}
///
/// Gets and sets the property StateMachineVersionArn.
///
/// The Amazon Resource Name (ARN) of the published state machine version.
///
///
///
/// If the publish
parameter isn't set to true
, this field returns
/// null.
///
///
[AWSProperty(Min=1, Max=256)]
public string StateMachineVersionArn
{
get { return this._stateMachineVersionArn; }
set { this._stateMachineVersionArn = value; }
}
// Check to see if StateMachineVersionArn property is set
internal bool IsSetStateMachineVersionArn()
{
return this._stateMachineVersionArn != null;
}
///
/// Gets and sets the property UpdateDate.
///
/// The date and time the state machine was updated.
///
///
[AWSProperty(Required=true)]
public DateTime UpdateDate
{
get { return this._updateDate.GetValueOrDefault(); }
set { this._updateDate = value; }
}
// Check to see if UpdateDate property is set
internal bool IsSetUpdateDate()
{
return this._updateDate.HasValue;
}
}
}