/* * 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 codepipeline-2015-07-09.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.CodePipeline.Model { /// /// Artifacts are the files that are worked on by actions in the pipeline. See the action /// configuration for each action for details about artifact parameters. For example, /// the S3 source action artifact is a file name (or file path), and the files are generally /// provided as a ZIP file. Example artifact name: SampleApp_Windows.zip /// public partial class Artifact { private ArtifactLocation _location; private string _name; private string _revision; /// /// Gets and sets the property Location. /// /// The location of an artifact. /// /// public ArtifactLocation Location { get { return this._location; } set { this._location = value; } } // Check to see if Location property is set internal bool IsSetLocation() { return this._location != null; } /// /// Gets and sets the property Name. /// /// The artifact's name. /// /// [AWSProperty(Min=1, Max=100)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Revision. /// /// The artifact's revision ID. Depending on the type of object, this could be a commit /// ID (GitHub) or a revision ID (Amazon S3). /// /// [AWSProperty(Min=1, Max=1500)] public string Revision { get { return this._revision; } set { this._revision = value; } } // Check to see if Revision property is set internal bool IsSetRevision() { return this._revision != null; } } }