/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a GetPipelineState
* action.See Also:
AWS
* API Reference
The name of the pipeline for which you want to get the state.
*/ inline const Aws::String& GetPipelineName() const{ return m_pipelineName; } /** *The name of the pipeline for which you want to get the state.
*/ inline void SetPipelineName(const Aws::String& value) { m_pipelineName = value; } /** *The name of the pipeline for which you want to get the state.
*/ inline void SetPipelineName(Aws::String&& value) { m_pipelineName = std::move(value); } /** *The name of the pipeline for which you want to get the state.
*/ inline void SetPipelineName(const char* value) { m_pipelineName.assign(value); } /** *The name of the pipeline for which you want to get the state.
*/ inline GetPipelineStateResult& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;} /** *The name of the pipeline for which you want to get the state.
*/ inline GetPipelineStateResult& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;} /** *The name of the pipeline for which you want to get the state.
*/ inline GetPipelineStateResult& WithPipelineName(const char* value) { SetPipelineName(value); return *this;} /** *The version number of the pipeline.
A newly created pipeline is
* always assigned a version number of 1
.
The version number of the pipeline.
A newly created pipeline is
* always assigned a version number of 1
.
The version number of the pipeline.
A newly created pipeline is
* always assigned a version number of 1
.
A list of the pipeline stage output information, including stage name, state, * most recent run details, whether the stage is disabled, and other data.
*/ inline const Aws::VectorA list of the pipeline stage output information, including stage name, state, * most recent run details, whether the stage is disabled, and other data.
*/ inline void SetStageStates(const Aws::VectorA list of the pipeline stage output information, including stage name, state, * most recent run details, whether the stage is disabled, and other data.
*/ inline void SetStageStates(Aws::VectorA list of the pipeline stage output information, including stage name, state, * most recent run details, whether the stage is disabled, and other data.
*/ inline GetPipelineStateResult& WithStageStates(const Aws::VectorA list of the pipeline stage output information, including stage name, state, * most recent run details, whether the stage is disabled, and other data.
*/ inline GetPipelineStateResult& WithStageStates(Aws::VectorA list of the pipeline stage output information, including stage name, state, * most recent run details, whether the stage is disabled, and other data.
*/ inline GetPipelineStateResult& AddStageStates(const StageState& value) { m_stageStates.push_back(value); return *this; } /** *A list of the pipeline stage output information, including stage name, state, * most recent run details, whether the stage is disabled, and other data.
*/ inline GetPipelineStateResult& AddStageStates(StageState&& value) { m_stageStates.push_back(std::move(value)); return *this; } /** *The date and time the pipeline was created, in timestamp format.
*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *The date and time the pipeline was created, in timestamp format.
*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_created = value; } /** *The date and time the pipeline was created, in timestamp format.
*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_created = std::move(value); } /** *The date and time the pipeline was created, in timestamp format.
*/ inline GetPipelineStateResult& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *The date and time the pipeline was created, in timestamp format.
*/ inline GetPipelineStateResult& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline const Aws::Utils::DateTime& GetUpdated() const{ return m_updated; } /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline void SetUpdated(const Aws::Utils::DateTime& value) { m_updated = value; } /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline void SetUpdated(Aws::Utils::DateTime&& value) { m_updated = std::move(value); } /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline GetPipelineStateResult& WithUpdated(const Aws::Utils::DateTime& value) { SetUpdated(value); return *this;} /** *The date and time the pipeline was last updated, in timestamp format.
*/ inline GetPipelineStateResult& WithUpdated(Aws::Utils::DateTime&& value) { SetUpdated(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetPipelineStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetPipelineStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetPipelineStateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_pipelineName; int m_pipelineVersion; Aws::Vector