/* * 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 datapipeline-2012-10-29.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.DataPipeline.Model { /// /// Container for the parameters to the ActivatePipeline operation. /// Validates the specified pipeline and starts processing pipeline tasks. If the pipeline /// does not pass validation, activation fails. /// /// /// /// If you need to pause the pipeline to investigate an issue with a component, such as /// a data source or script, call DeactivatePipeline. /// /// /// /// To activate a finished pipeline, modify the end date for the pipeline and then activate /// it. /// /// public partial class ActivatePipelineRequest : AmazonDataPipelineRequest { private List _parameterValues = new List(); private string _pipelineId; private DateTime? _startTimestamp; /// /// Gets and sets the property ParameterValues. /// /// A list of parameter values to pass to the pipeline at activation. /// /// public List ParameterValues { get { return this._parameterValues; } set { this._parameterValues = value; } } // Check to see if ParameterValues property is set internal bool IsSetParameterValues() { return this._parameterValues != null && this._parameterValues.Count > 0; } /// /// Gets and sets the property PipelineId. /// /// The ID of the pipeline. /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string PipelineId { get { return this._pipelineId; } set { this._pipelineId = value; } } // Check to see if PipelineId property is set internal bool IsSetPipelineId() { return this._pipelineId != null; } /// /// Gets and sets the property StartTimestamp. /// /// The date and time to resume the pipeline. By default, the pipeline resumes from the /// last completed execution. /// /// public DateTime StartTimestamp { get { return this._startTimestamp.GetValueOrDefault(); } set { this._startTimestamp = value; } } // Check to see if StartTimestamp property is set internal bool IsSetStartTimestamp() { return this._startTimestamp.HasValue; } } }