/* * 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 { /// /// Container for the parameters to the PutActionRevision operation. /// Provides information to CodePipeline about new revisions to a source. /// public partial class PutActionRevisionRequest : AmazonCodePipelineRequest { private string _actionName; private ActionRevision _actionRevision; private string _pipelineName; private string _stageName; /// /// Gets and sets the property ActionName. /// /// The name of the action that processes the revision. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string ActionName { get { return this._actionName; } set { this._actionName = value; } } // Check to see if ActionName property is set internal bool IsSetActionName() { return this._actionName != null; } /// /// Gets and sets the property ActionRevision. /// /// Represents information about the version (or revision) of an action. /// /// [AWSProperty(Required=true)] public ActionRevision ActionRevision { get { return this._actionRevision; } set { this._actionRevision = value; } } // Check to see if ActionRevision property is set internal bool IsSetActionRevision() { return this._actionRevision != null; } /// /// Gets and sets the property PipelineName. /// /// The name of the pipeline that starts processing the revision to the source. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string PipelineName { get { return this._pipelineName; } set { this._pipelineName = value; } } // Check to see if PipelineName property is set internal bool IsSetPipelineName() { return this._pipelineName != null; } /// /// Gets and sets the property StageName. /// /// The name of the stage that contains the action that acts on the revision. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string StageName { get { return this._stageName; } set { this._stageName = value; } } // Check to see if StageName property is set internal bool IsSetStageName() { return this._stageName != null; } } }