/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents information about the state of an action.See Also:
* AWS
* API Reference
The name of the action.
*/ inline const Aws::String& GetActionName() const{ return m_actionName; } /** *The name of the action.
*/ inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; } /** *The name of the action.
*/ inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; } /** *The name of the action.
*/ inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); } /** *The name of the action.
*/ inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); } /** *The name of the action.
*/ inline ActionState& WithActionName(const Aws::String& value) { SetActionName(value); return *this;} /** *The name of the action.
*/ inline ActionState& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;} /** *The name of the action.
*/ inline ActionState& WithActionName(const char* value) { SetActionName(value); return *this;} /** *Represents information about the version (or revision) of an action.
*/ inline const ActionRevision& GetCurrentRevision() const{ return m_currentRevision; } /** *Represents information about the version (or revision) of an action.
*/ inline bool CurrentRevisionHasBeenSet() const { return m_currentRevisionHasBeenSet; } /** *Represents information about the version (or revision) of an action.
*/ inline void SetCurrentRevision(const ActionRevision& value) { m_currentRevisionHasBeenSet = true; m_currentRevision = value; } /** *Represents information about the version (or revision) of an action.
*/ inline void SetCurrentRevision(ActionRevision&& value) { m_currentRevisionHasBeenSet = true; m_currentRevision = std::move(value); } /** *Represents information about the version (or revision) of an action.
*/ inline ActionState& WithCurrentRevision(const ActionRevision& value) { SetCurrentRevision(value); return *this;} /** *Represents information about the version (or revision) of an action.
*/ inline ActionState& WithCurrentRevision(ActionRevision&& value) { SetCurrentRevision(std::move(value)); return *this;} /** *Represents information about the run of an action.
*/ inline const ActionExecution& GetLatestExecution() const{ return m_latestExecution; } /** *Represents information about the run of an action.
*/ inline bool LatestExecutionHasBeenSet() const { return m_latestExecutionHasBeenSet; } /** *Represents information about the run of an action.
*/ inline void SetLatestExecution(const ActionExecution& value) { m_latestExecutionHasBeenSet = true; m_latestExecution = value; } /** *Represents information about the run of an action.
*/ inline void SetLatestExecution(ActionExecution&& value) { m_latestExecutionHasBeenSet = true; m_latestExecution = std::move(value); } /** *Represents information about the run of an action.
*/ inline ActionState& WithLatestExecution(const ActionExecution& value) { SetLatestExecution(value); return *this;} /** *Represents information about the run of an action.
*/ inline ActionState& WithLatestExecution(ActionExecution&& value) { SetLatestExecution(std::move(value)); return *this;} /** *A URL link for more information about the state of the action, such as a * deployment group details page.
*/ inline const Aws::String& GetEntityUrl() const{ return m_entityUrl; } /** *A URL link for more information about the state of the action, such as a * deployment group details page.
*/ inline bool EntityUrlHasBeenSet() const { return m_entityUrlHasBeenSet; } /** *A URL link for more information about the state of the action, such as a * deployment group details page.
*/ inline void SetEntityUrl(const Aws::String& value) { m_entityUrlHasBeenSet = true; m_entityUrl = value; } /** *A URL link for more information about the state of the action, such as a * deployment group details page.
*/ inline void SetEntityUrl(Aws::String&& value) { m_entityUrlHasBeenSet = true; m_entityUrl = std::move(value); } /** *A URL link for more information about the state of the action, such as a * deployment group details page.
*/ inline void SetEntityUrl(const char* value) { m_entityUrlHasBeenSet = true; m_entityUrl.assign(value); } /** *A URL link for more information about the state of the action, such as a * deployment group details page.
*/ inline ActionState& WithEntityUrl(const Aws::String& value) { SetEntityUrl(value); return *this;} /** *A URL link for more information about the state of the action, such as a * deployment group details page.
*/ inline ActionState& WithEntityUrl(Aws::String&& value) { SetEntityUrl(std::move(value)); return *this;} /** *A URL link for more information about the state of the action, such as a * deployment group details page.
*/ inline ActionState& WithEntityUrl(const char* value) { SetEntityUrl(value); return *this;} /** *A URL link for more information about the revision, such as a commit details * page.
*/ inline const Aws::String& GetRevisionUrl() const{ return m_revisionUrl; } /** *A URL link for more information about the revision, such as a commit details * page.
*/ inline bool RevisionUrlHasBeenSet() const { return m_revisionUrlHasBeenSet; } /** *A URL link for more information about the revision, such as a commit details * page.
*/ inline void SetRevisionUrl(const Aws::String& value) { m_revisionUrlHasBeenSet = true; m_revisionUrl = value; } /** *A URL link for more information about the revision, such as a commit details * page.
*/ inline void SetRevisionUrl(Aws::String&& value) { m_revisionUrlHasBeenSet = true; m_revisionUrl = std::move(value); } /** *A URL link for more information about the revision, such as a commit details * page.
*/ inline void SetRevisionUrl(const char* value) { m_revisionUrlHasBeenSet = true; m_revisionUrl.assign(value); } /** *A URL link for more information about the revision, such as a commit details * page.
*/ inline ActionState& WithRevisionUrl(const Aws::String& value) { SetRevisionUrl(value); return *this;} /** *A URL link for more information about the revision, such as a commit details * page.
*/ inline ActionState& WithRevisionUrl(Aws::String&& value) { SetRevisionUrl(std::move(value)); return *this;} /** *A URL link for more information about the revision, such as a commit details * page.
*/ inline ActionState& WithRevisionUrl(const char* value) { SetRevisionUrl(value); return *this;} private: Aws::String m_actionName; bool m_actionNameHasBeenSet = false; ActionRevision m_currentRevision; bool m_currentRevisionHasBeenSet = false; ActionExecution m_latestExecution; bool m_latestExecutionHasBeenSet = false; Aws::String m_entityUrl; bool m_entityUrlHasBeenSet = false; Aws::String m_revisionUrl; bool m_revisionUrlHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws