/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace DataPipeline { namespace Model { /** *

Contains the parameters for ActivatePipeline.

See Also:

AWS * API Reference

*/ class ActivatePipelineRequest : public DataPipelineRequest { public: AWS_DATAPIPELINE_API ActivatePipelineRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ActivatePipeline"; } AWS_DATAPIPELINE_API Aws::String SerializePayload() const override; AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the pipeline.

*/ inline const Aws::String& GetPipelineId() const{ return m_pipelineId; } /** *

The ID of the pipeline.

*/ inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; } /** *

The ID of the pipeline.

*/ inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; } /** *

The ID of the pipeline.

*/ inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); } /** *

The ID of the pipeline.

*/ inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); } /** *

The ID of the pipeline.

*/ inline ActivatePipelineRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;} /** *

The ID of the pipeline.

*/ inline ActivatePipelineRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;} /** *

The ID of the pipeline.

*/ inline ActivatePipelineRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;} /** *

A list of parameter values to pass to the pipeline at activation.

*/ inline const Aws::Vector& GetParameterValues() const{ return m_parameterValues; } /** *

A list of parameter values to pass to the pipeline at activation.

*/ inline bool ParameterValuesHasBeenSet() const { return m_parameterValuesHasBeenSet; } /** *

A list of parameter values to pass to the pipeline at activation.

*/ inline void SetParameterValues(const Aws::Vector& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = value; } /** *

A list of parameter values to pass to the pipeline at activation.

*/ inline void SetParameterValues(Aws::Vector&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = std::move(value); } /** *

A list of parameter values to pass to the pipeline at activation.

*/ inline ActivatePipelineRequest& WithParameterValues(const Aws::Vector& value) { SetParameterValues(value); return *this;} /** *

A list of parameter values to pass to the pipeline at activation.

*/ inline ActivatePipelineRequest& WithParameterValues(Aws::Vector&& value) { SetParameterValues(std::move(value)); return *this;} /** *

A list of parameter values to pass to the pipeline at activation.

*/ inline ActivatePipelineRequest& AddParameterValues(const ParameterValue& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; } /** *

A list of parameter values to pass to the pipeline at activation.

*/ inline ActivatePipelineRequest& AddParameterValues(ParameterValue&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(std::move(value)); return *this; } /** *

The date and time to resume the pipeline. By default, the pipeline resumes * from the last completed execution.

*/ inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; } /** *

The date and time to resume the pipeline. By default, the pipeline resumes * from the last completed execution.

*/ inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; } /** *

The date and time to resume the pipeline. By default, the pipeline resumes * from the last completed execution.

*/ inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; } /** *

The date and time to resume the pipeline. By default, the pipeline resumes * from the last completed execution.

*/ inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); } /** *

The date and time to resume the pipeline. By default, the pipeline resumes * from the last completed execution.

*/ inline ActivatePipelineRequest& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;} /** *

The date and time to resume the pipeline. By default, the pipeline resumes * from the last completed execution.

*/ inline ActivatePipelineRequest& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;} private: Aws::String m_pipelineId; bool m_pipelineIdHasBeenSet = false; Aws::Vector m_parameterValues; bool m_parameterValuesHasBeenSet = false; Aws::Utils::DateTime m_startTimestamp; bool m_startTimestampHasBeenSet = false; }; } // namespace Model } // namespace DataPipeline } // namespace Aws