/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodePipeline { namespace Model { /** *

Represents the output of a PutActionRevision * action.

See Also:

AWS * API Reference

*/ class AWS_CODEPIPELINE_API PutActionRevisionResult { public: PutActionRevisionResult(); PutActionRevisionResult(const Aws::AmazonWebServiceResult& result); PutActionRevisionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Indicates whether the artifact revision was previously used in an execution * of the specified pipeline.

*/ inline bool GetNewRevision() const{ return m_newRevision; } /** *

Indicates whether the artifact revision was previously used in an execution * of the specified pipeline.

*/ inline void SetNewRevision(bool value) { m_newRevision = value; } /** *

Indicates whether the artifact revision was previously used in an execution * of the specified pipeline.

*/ inline PutActionRevisionResult& WithNewRevision(bool value) { SetNewRevision(value); return *this;} /** *

The ID of the current workflow state of the pipeline.

*/ inline const Aws::String& GetPipelineExecutionId() const{ return m_pipelineExecutionId; } /** *

The ID of the current workflow state of the pipeline.

*/ inline void SetPipelineExecutionId(const Aws::String& value) { m_pipelineExecutionId = value; } /** *

The ID of the current workflow state of the pipeline.

*/ inline void SetPipelineExecutionId(Aws::String&& value) { m_pipelineExecutionId = std::move(value); } /** *

The ID of the current workflow state of the pipeline.

*/ inline void SetPipelineExecutionId(const char* value) { m_pipelineExecutionId.assign(value); } /** *

The ID of the current workflow state of the pipeline.

*/ inline PutActionRevisionResult& WithPipelineExecutionId(const Aws::String& value) { SetPipelineExecutionId(value); return *this;} /** *

The ID of the current workflow state of the pipeline.

*/ inline PutActionRevisionResult& WithPipelineExecutionId(Aws::String&& value) { SetPipelineExecutionId(std::move(value)); return *this;} /** *

The ID of the current workflow state of the pipeline.

*/ inline PutActionRevisionResult& WithPipelineExecutionId(const char* value) { SetPipelineExecutionId(value); return *this;} private: bool m_newRevision; Aws::String m_pipelineExecutionId; }; } // namespace Model } // namespace CodePipeline } // namespace Aws