/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a PutActionRevision
* action.See Also:
AWS
* API Reference
The name of the pipeline that starts processing the revision to the * source.
*/ inline const Aws::String& GetPipelineName() const{ return m_pipelineName; } /** *The name of the pipeline that starts processing the revision to the * source.
*/ inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; } /** *The name of the pipeline that starts processing the revision to the * source.
*/ inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; } /** *The name of the pipeline that starts processing the revision to the * source.
*/ inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); } /** *The name of the pipeline that starts processing the revision to the * source.
*/ inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); } /** *The name of the pipeline that starts processing the revision to the * source.
*/ inline PutActionRevisionRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;} /** *The name of the pipeline that starts processing the revision to the * source.
*/ inline PutActionRevisionRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;} /** *The name of the pipeline that starts processing the revision to the * source.
*/ inline PutActionRevisionRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;} /** *The name of the stage that contains the action that acts on the revision.
*/ inline const Aws::String& GetStageName() const{ return m_stageName; } /** *The name of the stage that contains the action that acts on the revision.
*/ inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; } /** *The name of the stage that contains the action that acts on the revision.
*/ inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; } /** *The name of the stage that contains the action that acts on the revision.
*/ inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); } /** *The name of the stage that contains the action that acts on the revision.
*/ inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); } /** *The name of the stage that contains the action that acts on the revision.
*/ inline PutActionRevisionRequest& WithStageName(const Aws::String& value) { SetStageName(value); return *this;} /** *The name of the stage that contains the action that acts on the revision.
*/ inline PutActionRevisionRequest& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;} /** *The name of the stage that contains the action that acts on the revision.
*/ inline PutActionRevisionRequest& WithStageName(const char* value) { SetStageName(value); return *this;} /** *The name of the action that processes the revision.
*/ inline const Aws::String& GetActionName() const{ return m_actionName; } /** *The name of the action that processes the revision.
*/ inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; } /** *The name of the action that processes the revision.
*/ inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; } /** *The name of the action that processes the revision.
*/ inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); } /** *The name of the action that processes the revision.
*/ inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); } /** *The name of the action that processes the revision.
*/ inline PutActionRevisionRequest& WithActionName(const Aws::String& value) { SetActionName(value); return *this;} /** *The name of the action that processes the revision.
*/ inline PutActionRevisionRequest& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;} /** *The name of the action that processes the revision.
*/ inline PutActionRevisionRequest& WithActionName(const char* value) { SetActionName(value); return *this;} /** *Represents information about the version (or revision) of an action.
*/ inline const ActionRevision& GetActionRevision() const{ return m_actionRevision; } /** *Represents information about the version (or revision) of an action.
*/ inline bool ActionRevisionHasBeenSet() const { return m_actionRevisionHasBeenSet; } /** *Represents information about the version (or revision) of an action.
*/ inline void SetActionRevision(const ActionRevision& value) { m_actionRevisionHasBeenSet = true; m_actionRevision = value; } /** *Represents information about the version (or revision) of an action.
*/ inline void SetActionRevision(ActionRevision&& value) { m_actionRevisionHasBeenSet = true; m_actionRevision = std::move(value); } /** *Represents information about the version (or revision) of an action.
*/ inline PutActionRevisionRequest& WithActionRevision(const ActionRevision& value) { SetActionRevision(value); return *this;} /** *Represents information about the version (or revision) of an action.
*/ inline PutActionRevisionRequest& WithActionRevision(ActionRevision&& value) { SetActionRevision(std::move(value)); return *this;} private: Aws::String m_pipelineName; bool m_pipelineNameHasBeenSet = false; Aws::String m_stageName; bool m_stageNameHasBeenSet = false; Aws::String m_actionName; bool m_actionNameHasBeenSet = false; ActionRevision m_actionRevision; bool m_actionRevisionHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws