/* * 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 codedeploy-2014-10-06.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.CodeDeploy.Model { /// /// Information about the location of an application revision. /// public partial class RevisionLocation { private AppSpecContent _appSpecContent; private GitHubLocation _gitHubLocation; private RevisionLocationType _revisionType; private S3Location _s3Location; private RawString _string; /// /// Gets and sets the property AppSpecContent. /// /// The content of an AppSpec file for an Lambda or Amazon ECS deployment. The content /// is formatted as JSON or YAML and stored as a RawString. /// /// public AppSpecContent AppSpecContent { get { return this._appSpecContent; } set { this._appSpecContent = value; } } // Check to see if AppSpecContent property is set internal bool IsSetAppSpecContent() { return this._appSpecContent != null; } /// /// Gets and sets the property GitHubLocation. /// /// Information about the location of application artifacts stored in GitHub. /// /// public GitHubLocation GitHubLocation { get { return this._gitHubLocation; } set { this._gitHubLocation = value; } } // Check to see if GitHubLocation property is set internal bool IsSetGitHubLocation() { return this._gitHubLocation != null; } /// /// Gets and sets the property RevisionType. /// /// The type of application revision: /// /// /// public RevisionLocationType RevisionType { get { return this._revisionType; } set { this._revisionType = value; } } // Check to see if RevisionType property is set internal bool IsSetRevisionType() { return this._revisionType != null; } /// /// Gets and sets the property S3Location. /// /// Information about the location of a revision stored in Amazon S3. /// /// public S3Location S3Location { get { return this._s3Location; } set { this._s3Location = value; } } // Check to see if S3Location property is set internal bool IsSetS3Location() { return this._s3Location != null; } /// /// Gets and sets the property String. /// /// Information about the location of an Lambda deployment revision stored as a RawString. /// /// public RawString String { get { return this._string; } set { this._string = value; } } // Check to see if String property is set internal bool IsSetString() { return this._string != null; } } }