/*
* 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 cloudformation-2010-05-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.CloudFormation.Model
{
///
/// The ChangeSetSummary
structure describes a change set, its status, and
/// the stack with which it's associated.
///
public partial class ChangeSetSummary
{
private string _changeSetId;
private string _changeSetName;
private DateTime? _creationTime;
private string _description;
private ExecutionStatus _executionStatus;
private bool? _includeNestedStacks;
private string _parentChangeSetId;
private string _rootChangeSetId;
private string _stackId;
private string _stackName;
private ChangeSetStatus _status;
private string _statusReason;
///
/// Gets and sets the property ChangeSetId.
///
/// The ID of the change set.
///
///
[AWSProperty(Min=1)]
public string ChangeSetId
{
get { return this._changeSetId; }
set { this._changeSetId = value; }
}
// Check to see if ChangeSetId property is set
internal bool IsSetChangeSetId()
{
return this._changeSetId != null;
}
///
/// Gets and sets the property ChangeSetName.
///
/// The name of the change set.
///
///
[AWSProperty(Min=1, Max=128)]
public string ChangeSetName
{
get { return this._changeSetName; }
set { this._changeSetName = value; }
}
// Check to see if ChangeSetName property is set
internal bool IsSetChangeSetName()
{
return this._changeSetName != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The start time when the change set was created, in UTC.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property Description.
///
/// Descriptive information about the change set.
///
///
[AWSProperty(Min=1, Max=1024)]
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 ExecutionStatus.
///
/// If the change set execution status is AVAILABLE
, you can execute the
/// change set. If you can't execute the change set, the status indicates why. For example,
/// a change set might be in an UNAVAILABLE
state because CloudFormation
/// is still creating it or in an OBSOLETE
state because the stack was already
/// updated.
///
///
public ExecutionStatus ExecutionStatus
{
get { return this._executionStatus; }
set { this._executionStatus = value; }
}
// Check to see if ExecutionStatus property is set
internal bool IsSetExecutionStatus()
{
return this._executionStatus != null;
}
///
/// Gets and sets the property IncludeNestedStacks.
///
/// Specifies the current setting of IncludeNestedStacks
for the change set.
///
///
public bool IncludeNestedStacks
{
get { return this._includeNestedStacks.GetValueOrDefault(); }
set { this._includeNestedStacks = value; }
}
// Check to see if IncludeNestedStacks property is set
internal bool IsSetIncludeNestedStacks()
{
return this._includeNestedStacks.HasValue;
}
///
/// Gets and sets the property ParentChangeSetId.
///
/// The parent change set ID.
///
///
[AWSProperty(Min=1)]
public string ParentChangeSetId
{
get { return this._parentChangeSetId; }
set { this._parentChangeSetId = value; }
}
// Check to see if ParentChangeSetId property is set
internal bool IsSetParentChangeSetId()
{
return this._parentChangeSetId != null;
}
///
/// Gets and sets the property RootChangeSetId.
///
/// The root change set ID.
///
///
[AWSProperty(Min=1)]
public string RootChangeSetId
{
get { return this._rootChangeSetId; }
set { this._rootChangeSetId = value; }
}
// Check to see if RootChangeSetId property is set
internal bool IsSetRootChangeSetId()
{
return this._rootChangeSetId != null;
}
///
/// Gets and sets the property StackId.
///
/// The ID of the stack with which the change set is associated.
///
///
public string StackId
{
get { return this._stackId; }
set { this._stackId = value; }
}
// Check to see if StackId property is set
internal bool IsSetStackId()
{
return this._stackId != null;
}
///
/// Gets and sets the property StackName.
///
/// The name of the stack with which the change set is associated.
///
///
public string StackName
{
get { return this._stackName; }
set { this._stackName = value; }
}
// Check to see if StackName property is set
internal bool IsSetStackName()
{
return this._stackName != null;
}
///
/// Gets and sets the property Status.
///
/// The state of the change set, such as CREATE_IN_PROGRESS
, CREATE_COMPLETE
,
/// or FAILED
.
///
///
public ChangeSetStatus 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 StatusReason.
///
/// A description of the change set's status. For example, if your change set is in the
/// FAILED
state, CloudFormation shows the error message.
///
///
public string StatusReason
{
get { return this._statusReason; }
set { this._statusReason = value; }
}
// Check to see if StatusReason property is set
internal bool IsSetStatusReason()
{
return this._statusReason != null;
}
}
}