/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the deployment status of the instances in the
* deployment.See Also:
AWS
* API Reference
The number of instances in the deployment in a pending state.
*/ inline long long GetPending() const{ return m_pending; } /** *The number of instances in the deployment in a pending state.
*/ inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; } /** *The number of instances in the deployment in a pending state.
*/ inline void SetPending(long long value) { m_pendingHasBeenSet = true; m_pending = value; } /** *The number of instances in the deployment in a pending state.
*/ inline DeploymentOverview& WithPending(long long value) { SetPending(value); return *this;} /** *The number of instances in which the deployment is in progress.
*/ inline long long GetInProgress() const{ return m_inProgress; } /** *The number of instances in which the deployment is in progress.
*/ inline bool InProgressHasBeenSet() const { return m_inProgressHasBeenSet; } /** *The number of instances in which the deployment is in progress.
*/ inline void SetInProgress(long long value) { m_inProgressHasBeenSet = true; m_inProgress = value; } /** *The number of instances in which the deployment is in progress.
*/ inline DeploymentOverview& WithInProgress(long long value) { SetInProgress(value); return *this;} /** *The number of instances in the deployment to which revisions have been * successfully deployed.
*/ inline long long GetSucceeded() const{ return m_succeeded; } /** *The number of instances in the deployment to which revisions have been * successfully deployed.
*/ inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; } /** *The number of instances in the deployment to which revisions have been * successfully deployed.
*/ inline void SetSucceeded(long long value) { m_succeededHasBeenSet = true; m_succeeded = value; } /** *The number of instances in the deployment to which revisions have been * successfully deployed.
*/ inline DeploymentOverview& WithSucceeded(long long value) { SetSucceeded(value); return *this;} /** *The number of instances in the deployment in a failed state.
*/ inline long long GetFailed() const{ return m_failed; } /** *The number of instances in the deployment in a failed state.
*/ inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; } /** *The number of instances in the deployment in a failed state.
*/ inline void SetFailed(long long value) { m_failedHasBeenSet = true; m_failed = value; } /** *The number of instances in the deployment in a failed state.
*/ inline DeploymentOverview& WithFailed(long long value) { SetFailed(value); return *this;} /** *The number of instances in the deployment in a skipped state.
*/ inline long long GetSkipped() const{ return m_skipped; } /** *The number of instances in the deployment in a skipped state.
*/ inline bool SkippedHasBeenSet() const { return m_skippedHasBeenSet; } /** *The number of instances in the deployment in a skipped state.
*/ inline void SetSkipped(long long value) { m_skippedHasBeenSet = true; m_skipped = value; } /** *The number of instances in the deployment in a skipped state.
*/ inline DeploymentOverview& WithSkipped(long long value) { SetSkipped(value); return *this;} /** *The number of instances in a replacement environment ready to receive traffic * in a blue/green deployment.
*/ inline long long GetReady() const{ return m_ready; } /** *The number of instances in a replacement environment ready to receive traffic * in a blue/green deployment.
*/ inline bool ReadyHasBeenSet() const { return m_readyHasBeenSet; } /** *The number of instances in a replacement environment ready to receive traffic * in a blue/green deployment.
*/ inline void SetReady(long long value) { m_readyHasBeenSet = true; m_ready = value; } /** *The number of instances in a replacement environment ready to receive traffic * in a blue/green deployment.
*/ inline DeploymentOverview& WithReady(long long value) { SetReady(value); return *this;} private: long long m_pending; bool m_pendingHasBeenSet = false; long long m_inProgress; bool m_inProgressHasBeenSet = false; long long m_succeeded; bool m_succeededHasBeenSet = false; long long m_failed; bool m_failedHasBeenSet = false; long long m_skipped; bool m_skippedHasBeenSet = false; long long m_ready; bool m_readyHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws