/*
* 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 StackSummary Data Type
///
public partial class StackSummary
{
private DateTime? _creationTime;
private DateTime? _deletionTime;
private StackDriftInformationSummary _driftInformation;
private DateTime? _lastUpdatedTime;
private string _parentId;
private string _rootId;
private string _stackId;
private string _stackName;
private StackStatus _stackStatus;
private string _stackStatusReason;
private string _templateDescription;
///
/// Gets and sets the property CreationTime.
///
/// The time the stack was created.
///
///
[AWSProperty(Required=true)]
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 DeletionTime.
///
/// The time the stack was deleted.
///
///
public DateTime DeletionTime
{
get { return this._deletionTime.GetValueOrDefault(); }
set { this._deletionTime = value; }
}
// Check to see if DeletionTime property is set
internal bool IsSetDeletionTime()
{
return this._deletionTime.HasValue;
}
///
/// Gets and sets the property DriftInformation.
///
/// Summarizes information about whether a stack's actual configuration differs, or has
/// drifted, from its expected configuration, as defined in the stack template
/// and any values specified as template parameters. For more information, see Detecting
/// Unregulated Configuration Changes to Stacks and Resources.
///
///
public StackDriftInformationSummary DriftInformation
{
get { return this._driftInformation; }
set { this._driftInformation = value; }
}
// Check to see if DriftInformation property is set
internal bool IsSetDriftInformation()
{
return this._driftInformation != null;
}
///
/// Gets and sets the property LastUpdatedTime.
///
/// The time the stack was last updated. This field will only be returned if the stack
/// has been updated at least once.
///
///
public DateTime LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
///
/// Gets and sets the property ParentId.
///
/// For nested stacks--stacks created as resources for another stack--the stack ID of
/// the direct parent of this stack. For the first level of nested stacks, the root stack
/// is also the parent stack.
///
///
///
/// For more information, see Working
/// with Nested Stacks in the CloudFormation User Guide.
///
///
public string ParentId
{
get { return this._parentId; }
set { this._parentId = value; }
}
// Check to see if ParentId property is set
internal bool IsSetParentId()
{
return this._parentId != null;
}
///
/// Gets and sets the property RootId.
///
/// For nested stacks--stacks created as resources for another stack--the stack ID of
/// the top-level stack to which the nested stack ultimately belongs.
///
///
///
/// For more information, see Working
/// with Nested Stacks in the CloudFormation User Guide.
///
///
public string RootId
{
get { return this._rootId; }
set { this._rootId = value; }
}
// Check to see if RootId property is set
internal bool IsSetRootId()
{
return this._rootId != null;
}
///
/// Gets and sets the property StackId.
///
/// Unique stack identifier.
///
///
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 associated with the stack.
///
///
[AWSProperty(Required=true)]
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 StackStatus.
///
/// The current status of the stack.
///
///
[AWSProperty(Required=true)]
public StackStatus StackStatus
{
get { return this._stackStatus; }
set { this._stackStatus = value; }
}
// Check to see if StackStatus property is set
internal bool IsSetStackStatus()
{
return this._stackStatus != null;
}
///
/// Gets and sets the property StackStatusReason.
///
/// Success/Failure message associated with the stack status.
///
///
public string StackStatusReason
{
get { return this._stackStatusReason; }
set { this._stackStatusReason = value; }
}
// Check to see if StackStatusReason property is set
internal bool IsSetStackStatusReason()
{
return this._stackStatusReason != null;
}
///
/// Gets and sets the property TemplateDescription.
///
/// The template description of the template used to create the stack.
///
///
public string TemplateDescription
{
get { return this._templateDescription; }
set { this._templateDescription = value; }
}
// Check to see if TemplateDescription property is set
internal bool IsSetTemplateDescription()
{
return this._templateDescription != null;
}
}
}