/* * 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 GetTemplateSummary action. /// public partial class GetTemplateSummaryResponse : AmazonWebServiceResponse { private List _capabilities = new List(); private string _capabilitiesReason; private List _declaredTransforms = new List(); private string _description; private string _metadata; private List _parameters = new List(); private List _resourceIdentifierSummaries = new List(); private List _resourceTypes = new List(); private string _version; private Warnings _warnings; /// /// Gets and sets the property Capabilities. /// /// The capabilities found within the template. If your template contains IAM resources, /// you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM /// value for this parameter when you use the CreateStack or UpdateStack /// actions with your template; otherwise, those actions return an InsufficientCapabilities /// error. /// /// /// /// For more information, see Acknowledging /// IAM Resources in CloudFormation Templates. /// /// 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 CapabilitiesReason. /// /// The list of resources that generated the values in the Capabilities response /// element. /// /// public string CapabilitiesReason { get { return this._capabilitiesReason; } set { this._capabilitiesReason = value; } } // Check to see if CapabilitiesReason property is set internal bool IsSetCapabilitiesReason() { return this._capabilitiesReason != null; } /// /// Gets and sets the property DeclaredTransforms. /// /// A list of the transforms that are declared in the template. /// /// public List DeclaredTransforms { get { return this._declaredTransforms; } set { this._declaredTransforms = value; } } // Check to see if DeclaredTransforms property is set internal bool IsSetDeclaredTransforms() { return this._declaredTransforms != null && this._declaredTransforms.Count > 0; } /// /// Gets and sets the property Description. /// /// The value that's defined in the Description property of the template. /// /// [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 Metadata. /// /// The value that's defined for the Metadata property of the template. /// /// public string Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// /// Gets and sets the property Parameters. /// /// A list of parameter declarations that describe various properties for each parameter. /// /// 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 ResourceIdentifierSummaries. /// /// A list of resource identifier summaries that describe the target resources of an import /// operation and the properties you can provide during the import to identify the target /// resources. For example, BucketName is a possible identifier property /// for an AWS::S3::Bucket resource. /// /// public List ResourceIdentifierSummaries { get { return this._resourceIdentifierSummaries; } set { this._resourceIdentifierSummaries = value; } } // Check to see if ResourceIdentifierSummaries property is set internal bool IsSetResourceIdentifierSummaries() { return this._resourceIdentifierSummaries != null && this._resourceIdentifierSummaries.Count > 0; } /// /// Gets and sets the property ResourceTypes. /// /// A list of all the template resource types that are defined in the template, such as /// AWS::EC2::Instance, AWS::Dynamo::Table, and Custom::MyCustomInstance. /// /// public List ResourceTypes { get { return this._resourceTypes; } set { this._resourceTypes = value; } } // Check to see if ResourceTypes property is set internal bool IsSetResourceTypes() { return this._resourceTypes != null && this._resourceTypes.Count > 0; } /// /// Gets and sets the property Version. /// /// The Amazon Web Services template format version, which identifies the capabilities /// of the template. /// /// public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } /// /// Gets and sets the property Warnings. /// /// An object containing any warnings returned. /// /// public Warnings Warnings { get { return this._warnings; } set { this._warnings = value; } } // Check to see if Warnings property is set internal bool IsSetWarnings() { return this._warnings != null; } } }