/*
* 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 output for the DescribeChangeSet action.
///
public partial class DescribeChangeSetResponse : AmazonWebServiceResponse
{
private List _capabilities = new List();
private List _changes = new List();
private string _changeSetId;
private string _changeSetName;
private DateTime? _creationTime;
private string _description;
private ExecutionStatus _executionStatus;
private bool? _includeNestedStacks;
private string _nextToken;
private List _notificationARNs = new List();
private OnStackFailure _onStackFailure;
private List _parameters = new List();
private string _parentChangeSetId;
private RollbackConfiguration _rollbackConfiguration;
private string _rootChangeSetId;
private string _stackId;
private string _stackName;
private ChangeSetStatus _status;
private string _statusReason;
private List _tags = new List();
///
/// Gets and sets the property Capabilities.
///
/// If you execute the change set, the list of capabilities that were explicitly acknowledged
/// when the change set was created.
///
///
public List Capabilities
{
get { return this._capabilities; }
set { this._capabilities = value; }
}
// Check to see if Capabilities property is set
internal bool IsSetCapabilities()
{
return this._capabilities != null && this._capabilities.Count > 0;
}
///
/// Gets and sets the property Changes.
///
/// A list of Change
structures that describes the resources CloudFormation
/// changes if you execute the change set.
///
///
public List Changes
{
get { return this._changes; }
set { this._changes = value; }
}
// Check to see if Changes property is set
internal bool IsSetChanges()
{
return this._changes != null && this._changes.Count > 0;
}
///
/// Gets and sets the property ChangeSetId.
///
/// The Amazon Resource Name (ARN) 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.
///
/// 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.
///
/// Verifies if IncludeNestedStacks
is set to True
.
///
///
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 NextToken.
///
/// If the output exceeds 1 MB, a string that identifies the next page of changes. If
/// there is no additional page, this value is null.
///
///
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property NotificationARNs.
///
/// The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be
/// associated with the stack if you execute the change set.
///
///
[AWSProperty(Max=5)]
public List NotificationARNs
{
get { return this._notificationARNs; }
set { this._notificationARNs = value; }
}
// Check to see if NotificationARNs property is set
internal bool IsSetNotificationARNs()
{
return this._notificationARNs != null && this._notificationARNs.Count > 0;
}
///
/// Gets and sets the property OnStackFailure.
///
/// Determines what action will be taken if stack creation fails. When this parameter
/// is specified, the DisableRollback
parameter to the ExecuteChangeSet
/// API operation must not be specified. This must be one of these values:
///
/// -
///
///
DELETE
- Deletes the change set if the stack creation fails. This is
/// only valid when the ChangeSetType
parameter is set to CREATE
.
/// If the deletion of the stack fails, the status of the stack is DELETE_FAILED
.
///
/// -
///
///
DO_NOTHING
- if the stack creation fails, do nothing. This is equivalent
/// to specifying true
for the DisableRollback
parameter to
/// the ExecuteChangeSet
/// API operation.
///
/// -
///
///
ROLLBACK
- if the stack creation fails, roll back the stack. This is
/// equivalent to specifying false
for the DisableRollback
parameter
/// to the ExecuteChangeSet
/// API operation.
///
///
///
public OnStackFailure OnStackFailure
{
get { return this._onStackFailure; }
set { this._onStackFailure = value; }
}
// Check to see if OnStackFailure property is set
internal bool IsSetOnStackFailure()
{
return this._onStackFailure != null;
}
///
/// Gets and sets the property Parameters.
///
/// A list of Parameter
structures that describes the input parameters and
/// their values used to create the change set. For more information, see the Parameter
/// data type.
///
///
public List Parameters
{
get { return this._parameters; }
set { this._parameters = value; }
}
// Check to see if Parameters property is set
internal bool IsSetParameters()
{
return this._parameters != null && this._parameters.Count > 0;
}
///
/// Gets and sets the property ParentChangeSetId.
///
/// Specifies the change set ID of the parent change set in the current nested change
/// set hierarchy.
///
///
[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 RollbackConfiguration.
///
/// The rollback triggers for CloudFormation to monitor during stack creation and updating
/// operations, and for the specified monitoring period afterwards.
///
///
public RollbackConfiguration RollbackConfiguration
{
get { return this._rollbackConfiguration; }
set { this._rollbackConfiguration = value; }
}
// Check to see if RollbackConfiguration property is set
internal bool IsSetRollbackConfiguration()
{
return this._rollbackConfiguration != null;
}
///
/// Gets and sets the property RootChangeSetId.
///
/// Specifies the change set ID of the root change set in the current nested change set
/// hierarchy.
///
///
[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 Amazon Resource Name (ARN) of the stack that's associated with the change set.
///
///
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 that's associated with the change set.
///
///
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 current status 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 attempt to create a
/// change set failed, 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;
}
///
/// Gets and sets the property Tags.
///
/// If you execute the change set, the tags that will be associated with the stack.
///
///
[AWSProperty(Max=50)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}