/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a deployment rollback.See Also:
AWS
* API Reference
The ID of the deployment rollback.
*/ inline const Aws::String& GetRollbackDeploymentId() const{ return m_rollbackDeploymentId; } /** *The ID of the deployment rollback.
*/ inline bool RollbackDeploymentIdHasBeenSet() const { return m_rollbackDeploymentIdHasBeenSet; } /** *The ID of the deployment rollback.
*/ inline void SetRollbackDeploymentId(const Aws::String& value) { m_rollbackDeploymentIdHasBeenSet = true; m_rollbackDeploymentId = value; } /** *The ID of the deployment rollback.
*/ inline void SetRollbackDeploymentId(Aws::String&& value) { m_rollbackDeploymentIdHasBeenSet = true; m_rollbackDeploymentId = std::move(value); } /** *The ID of the deployment rollback.
*/ inline void SetRollbackDeploymentId(const char* value) { m_rollbackDeploymentIdHasBeenSet = true; m_rollbackDeploymentId.assign(value); } /** *The ID of the deployment rollback.
*/ inline RollbackInfo& WithRollbackDeploymentId(const Aws::String& value) { SetRollbackDeploymentId(value); return *this;} /** *The ID of the deployment rollback.
*/ inline RollbackInfo& WithRollbackDeploymentId(Aws::String&& value) { SetRollbackDeploymentId(std::move(value)); return *this;} /** *The ID of the deployment rollback.
*/ inline RollbackInfo& WithRollbackDeploymentId(const char* value) { SetRollbackDeploymentId(value); return *this;} /** *The deployment ID of the deployment that was underway and triggered a * rollback deployment because it failed or was stopped.
*/ inline const Aws::String& GetRollbackTriggeringDeploymentId() const{ return m_rollbackTriggeringDeploymentId; } /** *The deployment ID of the deployment that was underway and triggered a * rollback deployment because it failed or was stopped.
*/ inline bool RollbackTriggeringDeploymentIdHasBeenSet() const { return m_rollbackTriggeringDeploymentIdHasBeenSet; } /** *The deployment ID of the deployment that was underway and triggered a * rollback deployment because it failed or was stopped.
*/ inline void SetRollbackTriggeringDeploymentId(const Aws::String& value) { m_rollbackTriggeringDeploymentIdHasBeenSet = true; m_rollbackTriggeringDeploymentId = value; } /** *The deployment ID of the deployment that was underway and triggered a * rollback deployment because it failed or was stopped.
*/ inline void SetRollbackTriggeringDeploymentId(Aws::String&& value) { m_rollbackTriggeringDeploymentIdHasBeenSet = true; m_rollbackTriggeringDeploymentId = std::move(value); } /** *The deployment ID of the deployment that was underway and triggered a * rollback deployment because it failed or was stopped.
*/ inline void SetRollbackTriggeringDeploymentId(const char* value) { m_rollbackTriggeringDeploymentIdHasBeenSet = true; m_rollbackTriggeringDeploymentId.assign(value); } /** *The deployment ID of the deployment that was underway and triggered a * rollback deployment because it failed or was stopped.
*/ inline RollbackInfo& WithRollbackTriggeringDeploymentId(const Aws::String& value) { SetRollbackTriggeringDeploymentId(value); return *this;} /** *The deployment ID of the deployment that was underway and triggered a * rollback deployment because it failed or was stopped.
*/ inline RollbackInfo& WithRollbackTriggeringDeploymentId(Aws::String&& value) { SetRollbackTriggeringDeploymentId(std::move(value)); return *this;} /** *The deployment ID of the deployment that was underway and triggered a * rollback deployment because it failed or was stopped.
*/ inline RollbackInfo& WithRollbackTriggeringDeploymentId(const char* value) { SetRollbackTriggeringDeploymentId(value); return *this;} /** *Information that describes the status of a deployment rollback (for example, * whether the deployment can't be rolled back, is in progress, failed, or * succeeded).
*/ inline const Aws::String& GetRollbackMessage() const{ return m_rollbackMessage; } /** *Information that describes the status of a deployment rollback (for example, * whether the deployment can't be rolled back, is in progress, failed, or * succeeded).
*/ inline bool RollbackMessageHasBeenSet() const { return m_rollbackMessageHasBeenSet; } /** *Information that describes the status of a deployment rollback (for example, * whether the deployment can't be rolled back, is in progress, failed, or * succeeded).
*/ inline void SetRollbackMessage(const Aws::String& value) { m_rollbackMessageHasBeenSet = true; m_rollbackMessage = value; } /** *Information that describes the status of a deployment rollback (for example, * whether the deployment can't be rolled back, is in progress, failed, or * succeeded).
*/ inline void SetRollbackMessage(Aws::String&& value) { m_rollbackMessageHasBeenSet = true; m_rollbackMessage = std::move(value); } /** *Information that describes the status of a deployment rollback (for example, * whether the deployment can't be rolled back, is in progress, failed, or * succeeded).
*/ inline void SetRollbackMessage(const char* value) { m_rollbackMessageHasBeenSet = true; m_rollbackMessage.assign(value); } /** *Information that describes the status of a deployment rollback (for example, * whether the deployment can't be rolled back, is in progress, failed, or * succeeded).
*/ inline RollbackInfo& WithRollbackMessage(const Aws::String& value) { SetRollbackMessage(value); return *this;} /** *Information that describes the status of a deployment rollback (for example, * whether the deployment can't be rolled back, is in progress, failed, or * succeeded).
*/ inline RollbackInfo& WithRollbackMessage(Aws::String&& value) { SetRollbackMessage(std::move(value)); return *this;} /** *Information that describes the status of a deployment rollback (for example, * whether the deployment can't be rolled back, is in progress, failed, or * succeeded).
*/ inline RollbackInfo& WithRollbackMessage(const char* value) { SetRollbackMessage(value); return *this;} private: Aws::String m_rollbackDeploymentId; bool m_rollbackDeploymentIdHasBeenSet = false; Aws::String m_rollbackTriggeringDeploymentId; bool m_rollbackTriggeringDeploymentIdHasBeenSet = false; Aws::String m_rollbackMessage; bool m_rollbackMessageHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws