/* * 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 structure that contains summary information about a stack instance. /// public partial class StackInstanceSummary { private string _account; private StackDriftStatus _driftStatus; private DateTime? _lastDriftCheckTimestamp; private string _lastOperationId; private string _organizationalUnitId; private string _region; private string _stackId; private StackInstanceComprehensiveStatus _stackInstanceStatus; private string _stackSetId; private StackInstanceStatus _status; private string _statusReason; /// /// Gets and sets the property Account. /// /// [Self-managed permissions] The name of the Amazon Web Services account that the stack /// instance is associated with. /// /// public string Account { get { return this._account; } set { this._account = value; } } // Check to see if Account property is set internal bool IsSetAccount() { return this._account != null; } /// /// Gets and sets the property DriftStatus. /// /// Status of the stack instance's actual configuration compared to the expected template /// and parameter configuration of the stack set to which it belongs. /// /// /// public StackDriftStatus DriftStatus { get { return this._driftStatus; } set { this._driftStatus = value; } } // Check to see if DriftStatus property is set internal bool IsSetDriftStatus() { return this._driftStatus != null; } /// /// Gets and sets the property LastDriftCheckTimestamp. /// /// Most recent time when CloudFormation performed a drift detection operation on the /// stack instance. This value will be NULL for any stack instance on which /// drift detection hasn't yet been performed. /// /// public DateTime LastDriftCheckTimestamp { get { return this._lastDriftCheckTimestamp.GetValueOrDefault(); } set { this._lastDriftCheckTimestamp = value; } } // Check to see if LastDriftCheckTimestamp property is set internal bool IsSetLastDriftCheckTimestamp() { return this._lastDriftCheckTimestamp.HasValue; } /// /// Gets and sets the property LastOperationId. /// /// The last unique ID of a StackSet operation performed on a stack instance. /// /// [AWSProperty(Min=1, Max=128)] public string LastOperationId { get { return this._lastOperationId; } set { this._lastOperationId = value; } } // Check to see if LastOperationId property is set internal bool IsSetLastOperationId() { return this._lastOperationId != null; } /// /// Gets and sets the property OrganizationalUnitId. /// /// [Service-managed permissions] The organization root ID or organizational unit (OU) /// IDs that you specified for DeploymentTargets. /// /// public string OrganizationalUnitId { get { return this._organizationalUnitId; } set { this._organizationalUnitId = value; } } // Check to see if OrganizationalUnitId property is set internal bool IsSetOrganizationalUnitId() { return this._organizationalUnitId != null; } /// /// Gets and sets the property Region. /// /// The name of the Amazon Web Services Region that the stack instance is associated with. /// /// public string Region { get { return this._region; } set { this._region = value; } } // Check to see if Region property is set internal bool IsSetRegion() { return this._region != null; } /// /// Gets and sets the property StackId. /// /// The ID of the stack instance. /// /// 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 StackInstanceStatus. /// /// The detailed status of the stack instance. /// /// public StackInstanceComprehensiveStatus StackInstanceStatus { get { return this._stackInstanceStatus; } set { this._stackInstanceStatus = value; } } // Check to see if StackInstanceStatus property is set internal bool IsSetStackInstanceStatus() { return this._stackInstanceStatus != null; } /// /// Gets and sets the property StackSetId. /// /// The name or unique ID of the stack set that the stack instance is associated with. /// /// public string StackSetId { get { return this._stackSetId; } set { this._stackSetId = value; } } // Check to see if StackSetId property is set internal bool IsSetStackSetId() { return this._stackSetId != null; } /// /// Gets and sets the property Status. /// /// The status of the stack instance, in terms of its synchronization with its associated /// stack set. /// /// /// public StackInstanceStatus 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. /// /// The explanation for the specific status code assigned to this stack instance. /// /// 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; } } }