/* * 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 DescribeStateMachineAlias operation. /// public partial class DescribeStateMachineAliasResponse : AmazonWebServiceResponse { private DateTime? _creationDate; private string _description; private string _name; private List _routingConfiguration = new List(); private string _stateMachineAliasArn; private DateTime? _updateDate; /// /// Gets and sets the property CreationDate. /// /// The date the state machine alias was created. /// /// public DateTime CreationDate { get { return this._creationDate.GetValueOrDefault(); } set { this._creationDate = value; } } // Check to see if CreationDate property is set internal bool IsSetCreationDate() { return this._creationDate.HasValue; } /// /// Gets and sets the property Description. /// /// A description of the alias. /// /// [AWSProperty(Sensitive=true, Max=256)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Name. /// /// The name of the state machine alias. /// /// [AWSProperty(Min=1, Max=80)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property RoutingConfiguration. /// /// The routing configuration of the alias. /// /// [AWSProperty(Min=1, Max=2)] public List RoutingConfiguration { get { return this._routingConfiguration; } set { this._routingConfiguration = value; } } // Check to see if RoutingConfiguration property is set internal bool IsSetRoutingConfiguration() { return this._routingConfiguration != null && this._routingConfiguration.Count > 0; } /// /// Gets and sets the property StateMachineAliasArn. /// /// The Amazon Resource Name (ARN) of the state machine alias. /// /// [AWSProperty(Min=1, Max=256)] public string StateMachineAliasArn { get { return this._stateMachineAliasArn; } set { this._stateMachineAliasArn = value; } } // Check to see if StateMachineAliasArn property is set internal bool IsSetStateMachineAliasArn() { return this._stateMachineAliasArn != null; } /// /// Gets and sets the property UpdateDate. /// /// The date the state machine alias was last updated. /// /// /// /// For a newly created state machine, this is the same as the creation date. /// /// 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; } } }