196 lines
5.7 KiB
C++
196 lines
5.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace CodeDeploy
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Information about the deployment status of the instances in the
|
|
* deployment.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentOverview">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_CODEDEPLOY_API DeploymentOverview
|
|
{
|
|
public:
|
|
DeploymentOverview();
|
|
DeploymentOverview(Aws::Utils::Json::JsonView jsonValue);
|
|
DeploymentOverview& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a pending state.</p>
|
|
*/
|
|
inline long long GetPending() const{ return m_pending; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a pending state.</p>
|
|
*/
|
|
inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a pending state.</p>
|
|
*/
|
|
inline void SetPending(long long value) { m_pendingHasBeenSet = true; m_pending = value; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a pending state.</p>
|
|
*/
|
|
inline DeploymentOverview& WithPending(long long value) { SetPending(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of instances in which the deployment is in progress.</p>
|
|
*/
|
|
inline long long GetInProgress() const{ return m_inProgress; }
|
|
|
|
/**
|
|
* <p>The number of instances in which the deployment is in progress.</p>
|
|
*/
|
|
inline bool InProgressHasBeenSet() const { return m_inProgressHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of instances in which the deployment is in progress.</p>
|
|
*/
|
|
inline void SetInProgress(long long value) { m_inProgressHasBeenSet = true; m_inProgress = value; }
|
|
|
|
/**
|
|
* <p>The number of instances in which the deployment is in progress.</p>
|
|
*/
|
|
inline DeploymentOverview& WithInProgress(long long value) { SetInProgress(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment to which revisions have been
|
|
* successfully deployed.</p>
|
|
*/
|
|
inline long long GetSucceeded() const{ return m_succeeded; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment to which revisions have been
|
|
* successfully deployed.</p>
|
|
*/
|
|
inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment to which revisions have been
|
|
* successfully deployed.</p>
|
|
*/
|
|
inline void SetSucceeded(long long value) { m_succeededHasBeenSet = true; m_succeeded = value; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment to which revisions have been
|
|
* successfully deployed.</p>
|
|
*/
|
|
inline DeploymentOverview& WithSucceeded(long long value) { SetSucceeded(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a failed state.</p>
|
|
*/
|
|
inline long long GetFailed() const{ return m_failed; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a failed state.</p>
|
|
*/
|
|
inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a failed state.</p>
|
|
*/
|
|
inline void SetFailed(long long value) { m_failedHasBeenSet = true; m_failed = value; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a failed state.</p>
|
|
*/
|
|
inline DeploymentOverview& WithFailed(long long value) { SetFailed(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a skipped state.</p>
|
|
*/
|
|
inline long long GetSkipped() const{ return m_skipped; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a skipped state.</p>
|
|
*/
|
|
inline bool SkippedHasBeenSet() const { return m_skippedHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a skipped state.</p>
|
|
*/
|
|
inline void SetSkipped(long long value) { m_skippedHasBeenSet = true; m_skipped = value; }
|
|
|
|
/**
|
|
* <p>The number of instances in the deployment in a skipped state.</p>
|
|
*/
|
|
inline DeploymentOverview& WithSkipped(long long value) { SetSkipped(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The number of instances in a replacement environment ready to receive traffic
|
|
* in a blue/green deployment.</p>
|
|
*/
|
|
inline long long GetReady() const{ return m_ready; }
|
|
|
|
/**
|
|
* <p>The number of instances in a replacement environment ready to receive traffic
|
|
* in a blue/green deployment.</p>
|
|
*/
|
|
inline bool ReadyHasBeenSet() const { return m_readyHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The number of instances in a replacement environment ready to receive traffic
|
|
* in a blue/green deployment.</p>
|
|
*/
|
|
inline void SetReady(long long value) { m_readyHasBeenSet = true; m_ready = value; }
|
|
|
|
/**
|
|
* <p>The number of instances in a replacement environment ready to receive traffic
|
|
* in a blue/green deployment.</p>
|
|
*/
|
|
inline DeploymentOverview& WithReady(long long value) { SetReady(value); return *this;}
|
|
|
|
private:
|
|
|
|
long long m_pending;
|
|
bool m_pendingHasBeenSet;
|
|
|
|
long long m_inProgress;
|
|
bool m_inProgressHasBeenSet;
|
|
|
|
long long m_succeeded;
|
|
bool m_succeededHasBeenSet;
|
|
|
|
long long m_failed;
|
|
bool m_failedHasBeenSet;
|
|
|
|
long long m_skipped;
|
|
bool m_skippedHasBeenSet;
|
|
|
|
long long m_ready;
|
|
bool m_readyHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace CodeDeploy
|
|
} // namespace Aws
|