/* * 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 PollForThirdPartyJobs operation. /// Determines whether there are any third party jobs for a job worker to act on. Used /// for partner actions only. /// /// /// /// When this API is called, CodePipeline returns temporary credentials for the S3 bucket /// used to store artifacts for the pipeline, if the action requires access to that S3 /// bucket for input or output artifacts. /// /// /// public partial class PollForThirdPartyJobsRequest : AmazonCodePipelineRequest { private ActionTypeId _actionTypeId; private int? _maxBatchSize; /// /// Gets and sets the property ActionTypeId. /// /// Represents information about an action type. /// /// [AWSProperty(Required=true)] public ActionTypeId ActionTypeId { get { return this._actionTypeId; } set { this._actionTypeId = value; } } // Check to see if ActionTypeId property is set internal bool IsSetActionTypeId() { return this._actionTypeId != null; } /// /// Gets and sets the property MaxBatchSize. /// /// The maximum number of jobs to return in a poll for jobs call. /// /// [AWSProperty(Min=1)] public int MaxBatchSize { get { return this._maxBatchSize.GetValueOrDefault(); } set { this._maxBatchSize = value; } } // Check to see if MaxBatchSize property is set internal bool IsSetMaxBatchSize() { return this._maxBatchSize.HasValue; } } }