/* * 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 { /// /// This is the response object from the DescribeChangeSetHooks operation. /// public partial class DescribeChangeSetHooksResponse : AmazonWebServiceResponse { private string _changeSetId; private string _changeSetName; private List _hooks = new List(); private string _nextToken; private string _stackId; private string _stackName; private ChangeSetHooksStatus _status; /// /// Gets and sets the property ChangeSetId. /// /// The change set identifier (stack ID). /// /// [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 change set name. /// /// [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 Hooks. /// /// List of hook objects. /// /// public List Hooks { get { return this._hooks; } set { this._hooks = value; } } // Check to see if Hooks property is set internal bool IsSetHooks() { return this._hooks != null && this._hooks.Count > 0; } /// /// Gets and sets the property NextToken. /// /// Pagination token, null or empty if no more results. /// /// [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 StackId. /// /// The stack identifier (stack ID). /// /// 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 stack name. /// /// 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. /// /// Provides the status of the change set hook. /// /// public ChangeSetHooksStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }