/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a deployment.See Also:
AWS
* API Reference
The application name.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The application name.
*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *The application name.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *The application name.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *The application name.
*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *The application name.
*/ inline DeploymentInfo& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The application name.
*/ inline DeploymentInfo& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The application name.
*/ inline DeploymentInfo& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *The deployment group name.
*/ inline const Aws::String& GetDeploymentGroupName() const{ return m_deploymentGroupName; } /** *The deployment group name.
*/ inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; } /** *The deployment group name.
*/ inline void SetDeploymentGroupName(const Aws::String& value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName = value; } /** *The deployment group name.
*/ inline void SetDeploymentGroupName(Aws::String&& value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName = std::move(value); } /** *The deployment group name.
*/ inline void SetDeploymentGroupName(const char* value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName.assign(value); } /** *The deployment group name.
*/ inline DeploymentInfo& WithDeploymentGroupName(const Aws::String& value) { SetDeploymentGroupName(value); return *this;} /** *The deployment group name.
*/ inline DeploymentInfo& WithDeploymentGroupName(Aws::String&& value) { SetDeploymentGroupName(std::move(value)); return *this;} /** *The deployment group name.
*/ inline DeploymentInfo& WithDeploymentGroupName(const char* value) { SetDeploymentGroupName(value); return *this;} /** *The deployment configuration name.
*/ inline const Aws::String& GetDeploymentConfigName() const{ return m_deploymentConfigName; } /** *The deployment configuration name.
*/ inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; } /** *The deployment configuration name.
*/ inline void SetDeploymentConfigName(const Aws::String& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = value; } /** *The deployment configuration name.
*/ inline void SetDeploymentConfigName(Aws::String&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::move(value); } /** *The deployment configuration name.
*/ inline void SetDeploymentConfigName(const char* value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName.assign(value); } /** *The deployment configuration name.
*/ inline DeploymentInfo& WithDeploymentConfigName(const Aws::String& value) { SetDeploymentConfigName(value); return *this;} /** *The deployment configuration name.
*/ inline DeploymentInfo& WithDeploymentConfigName(Aws::String&& value) { SetDeploymentConfigName(std::move(value)); return *this;} /** *The deployment configuration name.
*/ inline DeploymentInfo& WithDeploymentConfigName(const char* value) { SetDeploymentConfigName(value); return *this;} /** *The unique ID of a deployment.
*/ inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; } /** *The unique ID of a deployment.
*/ inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); } /** *The unique ID of a deployment.
*/ inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); } /** *The unique ID of a deployment.
*/ inline DeploymentInfo& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;} /** *The unique ID of a deployment.
*/ inline DeploymentInfo& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;} /** *The unique ID of a deployment.
*/ inline DeploymentInfo& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;} /** *Information about the application revision that was deployed to the * deployment group before the most recent successful deployment.
*/ inline const RevisionLocation& GetPreviousRevision() const{ return m_previousRevision; } /** *Information about the application revision that was deployed to the * deployment group before the most recent successful deployment.
*/ inline bool PreviousRevisionHasBeenSet() const { return m_previousRevisionHasBeenSet; } /** *Information about the application revision that was deployed to the * deployment group before the most recent successful deployment.
*/ inline void SetPreviousRevision(const RevisionLocation& value) { m_previousRevisionHasBeenSet = true; m_previousRevision = value; } /** *Information about the application revision that was deployed to the * deployment group before the most recent successful deployment.
*/ inline void SetPreviousRevision(RevisionLocation&& value) { m_previousRevisionHasBeenSet = true; m_previousRevision = std::move(value); } /** *Information about the application revision that was deployed to the * deployment group before the most recent successful deployment.
*/ inline DeploymentInfo& WithPreviousRevision(const RevisionLocation& value) { SetPreviousRevision(value); return *this;} /** *Information about the application revision that was deployed to the * deployment group before the most recent successful deployment.
*/ inline DeploymentInfo& WithPreviousRevision(RevisionLocation&& value) { SetPreviousRevision(std::move(value)); return *this;} /** *Information about the location of stored application artifacts and the * service from which to retrieve them.
*/ inline const RevisionLocation& GetRevision() const{ return m_revision; } /** *Information about the location of stored application artifacts and the * service from which to retrieve them.
*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *Information about the location of stored application artifacts and the * service from which to retrieve them.
*/ inline void SetRevision(const RevisionLocation& value) { m_revisionHasBeenSet = true; m_revision = value; } /** *Information about the location of stored application artifacts and the * service from which to retrieve them.
*/ inline void SetRevision(RevisionLocation&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } /** *Information about the location of stored application artifacts and the * service from which to retrieve them.
*/ inline DeploymentInfo& WithRevision(const RevisionLocation& value) { SetRevision(value); return *this;} /** *Information about the location of stored application artifacts and the * service from which to retrieve them.
*/ inline DeploymentInfo& WithRevision(RevisionLocation&& value) { SetRevision(std::move(value)); return *this;} /** *The current state of the deployment as a whole.
*/ inline const DeploymentStatus& GetStatus() const{ return m_status; } /** *The current state of the deployment as a whole.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current state of the deployment as a whole.
*/ inline void SetStatus(const DeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current state of the deployment as a whole.
*/ inline void SetStatus(DeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current state of the deployment as a whole.
*/ inline DeploymentInfo& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;} /** *The current state of the deployment as a whole.
*/ inline DeploymentInfo& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *Information about any error associated with this deployment.
*/ inline const ErrorInformation& GetErrorInformation() const{ return m_errorInformation; } /** *Information about any error associated with this deployment.
*/ inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; } /** *Information about any error associated with this deployment.
*/ inline void SetErrorInformation(const ErrorInformation& value) { m_errorInformationHasBeenSet = true; m_errorInformation = value; } /** *Information about any error associated with this deployment.
*/ inline void SetErrorInformation(ErrorInformation&& value) { m_errorInformationHasBeenSet = true; m_errorInformation = std::move(value); } /** *Information about any error associated with this deployment.
*/ inline DeploymentInfo& WithErrorInformation(const ErrorInformation& value) { SetErrorInformation(value); return *this;} /** *Information about any error associated with this deployment.
*/ inline DeploymentInfo& WithErrorInformation(ErrorInformation&& value) { SetErrorInformation(std::move(value)); return *this;} /** *A timestamp that indicates when the deployment was created.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *A timestamp that indicates when the deployment was created.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *A timestamp that indicates when the deployment was created.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *A timestamp that indicates when the deployment was created.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *A timestamp that indicates when the deployment was created.
*/ inline DeploymentInfo& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *A timestamp that indicates when the deployment was created.
*/ inline DeploymentInfo& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *A timestamp that indicates when the deployment was deployed to the deployment * group.
In some cases, the reported value of the start time might be later * than the complete time. This is due to differences in the clock settings of * backend servers that participate in the deployment process.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *A timestamp that indicates when the deployment was deployed to the deployment * group.
In some cases, the reported value of the start time might be later * than the complete time. This is due to differences in the clock settings of * backend servers that participate in the deployment process.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *A timestamp that indicates when the deployment was deployed to the deployment * group.
In some cases, the reported value of the start time might be later * than the complete time. This is due to differences in the clock settings of * backend servers that participate in the deployment process.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *A timestamp that indicates when the deployment was deployed to the deployment * group.
In some cases, the reported value of the start time might be later * than the complete time. This is due to differences in the clock settings of * backend servers that participate in the deployment process.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *A timestamp that indicates when the deployment was deployed to the deployment * group.
In some cases, the reported value of the start time might be later * than the complete time. This is due to differences in the clock settings of * backend servers that participate in the deployment process.
*/ inline DeploymentInfo& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *A timestamp that indicates when the deployment was deployed to the deployment * group.
In some cases, the reported value of the start time might be later * than the complete time. This is due to differences in the clock settings of * backend servers that participate in the deployment process.
*/ inline DeploymentInfo& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *A timestamp that indicates when the deployment was complete.
*/ inline const Aws::Utils::DateTime& GetCompleteTime() const{ return m_completeTime; } /** *A timestamp that indicates when the deployment was complete.
*/ inline bool CompleteTimeHasBeenSet() const { return m_completeTimeHasBeenSet; } /** *A timestamp that indicates when the deployment was complete.
*/ inline void SetCompleteTime(const Aws::Utils::DateTime& value) { m_completeTimeHasBeenSet = true; m_completeTime = value; } /** *A timestamp that indicates when the deployment was complete.
*/ inline void SetCompleteTime(Aws::Utils::DateTime&& value) { m_completeTimeHasBeenSet = true; m_completeTime = std::move(value); } /** *A timestamp that indicates when the deployment was complete.
*/ inline DeploymentInfo& WithCompleteTime(const Aws::Utils::DateTime& value) { SetCompleteTime(value); return *this;} /** *A timestamp that indicates when the deployment was complete.
*/ inline DeploymentInfo& WithCompleteTime(Aws::Utils::DateTime&& value) { SetCompleteTime(std::move(value)); return *this;} /** *A summary of the deployment status of the instances in the deployment.
*/ inline const DeploymentOverview& GetDeploymentOverview() const{ return m_deploymentOverview; } /** *A summary of the deployment status of the instances in the deployment.
*/ inline bool DeploymentOverviewHasBeenSet() const { return m_deploymentOverviewHasBeenSet; } /** *A summary of the deployment status of the instances in the deployment.
*/ inline void SetDeploymentOverview(const DeploymentOverview& value) { m_deploymentOverviewHasBeenSet = true; m_deploymentOverview = value; } /** *A summary of the deployment status of the instances in the deployment.
*/ inline void SetDeploymentOverview(DeploymentOverview&& value) { m_deploymentOverviewHasBeenSet = true; m_deploymentOverview = std::move(value); } /** *A summary of the deployment status of the instances in the deployment.
*/ inline DeploymentInfo& WithDeploymentOverview(const DeploymentOverview& value) { SetDeploymentOverview(value); return *this;} /** *A summary of the deployment status of the instances in the deployment.
*/ inline DeploymentInfo& WithDeploymentOverview(DeploymentOverview&& value) { SetDeploymentOverview(std::move(value)); return *this;} /** *A comment about the deployment.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A comment about the deployment.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A comment about the deployment.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A comment about the deployment.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A comment about the deployment.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A comment about the deployment.
*/ inline DeploymentInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A comment about the deployment.
*/ inline DeploymentInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A comment about the deployment.
*/ inline DeploymentInfo& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The means by which the deployment was created:
* user
: A user created the deployment.
* autoscaling
: Amazon EC2 Auto Scaling created the deployment.
codeDeployRollback
: A rollback process created the
* deployment.
CodeDeployAutoUpdate
: An auto-update
* process created the deployment when it detected outdated Amazon EC2
* instances.
The means by which the deployment was created:
* user
: A user created the deployment.
* autoscaling
: Amazon EC2 Auto Scaling created the deployment.
codeDeployRollback
: A rollback process created the
* deployment.
CodeDeployAutoUpdate
: An auto-update
* process created the deployment when it detected outdated Amazon EC2
* instances.
The means by which the deployment was created:
* user
: A user created the deployment.
* autoscaling
: Amazon EC2 Auto Scaling created the deployment.
codeDeployRollback
: A rollback process created the
* deployment.
CodeDeployAutoUpdate
: An auto-update
* process created the deployment when it detected outdated Amazon EC2
* instances.
The means by which the deployment was created:
* user
: A user created the deployment.
* autoscaling
: Amazon EC2 Auto Scaling created the deployment.
codeDeployRollback
: A rollback process created the
* deployment.
CodeDeployAutoUpdate
: An auto-update
* process created the deployment when it detected outdated Amazon EC2
* instances.
The means by which the deployment was created:
* user
: A user created the deployment.
* autoscaling
: Amazon EC2 Auto Scaling created the deployment.
codeDeployRollback
: A rollback process created the
* deployment.
CodeDeployAutoUpdate
: An auto-update
* process created the deployment when it detected outdated Amazon EC2
* instances.
The means by which the deployment was created:
* user
: A user created the deployment.
* autoscaling
: Amazon EC2 Auto Scaling created the deployment.
codeDeployRollback
: A rollback process created the
* deployment.
CodeDeployAutoUpdate
: An auto-update
* process created the deployment when it detected outdated Amazon EC2
* instances.
If true, then if an ApplicationStop
,
* BeforeBlockTraffic
, or AfterBlockTraffic
deployment
* lifecycle event to an instance fails, then the deployment continues to the next
* deployment lifecycle event. For example, if ApplicationStop
fails,
* the deployment continues with DownloadBundle. If BeforeBlockTraffic
* fails, the deployment continues with BlockTraffic
. If
* AfterBlockTraffic
fails, the deployment continues with
* ApplicationStop
.
If false or not specified, then if a * lifecycle event fails during a deployment to an instance, that deployment fails. * If deployment to that instance is part of an overall deployment and the number * of healthy hosts is not less than the minimum number of healthy hosts, then a * deployment to the next instance is attempted.
During a deployment, the
* CodeDeploy agent runs the scripts specified for ApplicationStop
,
* BeforeBlockTraffic
, and AfterBlockTraffic
in the
* AppSpec file from the previous successful deployment. (All other scripts are run
* from the AppSpec file in the current deployment.) If one of these scripts
* contains an error and does not run successfully, the deployment can fail.
If the cause of the failure is a script from the last successful deployment
* that will never run successfully, create a new deployment and use
* ignoreApplicationStopFailures
to specify that the
* ApplicationStop
, BeforeBlockTraffic
, and
* AfterBlockTraffic
failures should be ignored.
If true, then if an ApplicationStop
,
* BeforeBlockTraffic
, or AfterBlockTraffic
deployment
* lifecycle event to an instance fails, then the deployment continues to the next
* deployment lifecycle event. For example, if ApplicationStop
fails,
* the deployment continues with DownloadBundle. If BeforeBlockTraffic
* fails, the deployment continues with BlockTraffic
. If
* AfterBlockTraffic
fails, the deployment continues with
* ApplicationStop
.
If false or not specified, then if a * lifecycle event fails during a deployment to an instance, that deployment fails. * If deployment to that instance is part of an overall deployment and the number * of healthy hosts is not less than the minimum number of healthy hosts, then a * deployment to the next instance is attempted.
During a deployment, the
* CodeDeploy agent runs the scripts specified for ApplicationStop
,
* BeforeBlockTraffic
, and AfterBlockTraffic
in the
* AppSpec file from the previous successful deployment. (All other scripts are run
* from the AppSpec file in the current deployment.) If one of these scripts
* contains an error and does not run successfully, the deployment can fail.
If the cause of the failure is a script from the last successful deployment
* that will never run successfully, create a new deployment and use
* ignoreApplicationStopFailures
to specify that the
* ApplicationStop
, BeforeBlockTraffic
, and
* AfterBlockTraffic
failures should be ignored.
If true, then if an ApplicationStop
,
* BeforeBlockTraffic
, or AfterBlockTraffic
deployment
* lifecycle event to an instance fails, then the deployment continues to the next
* deployment lifecycle event. For example, if ApplicationStop
fails,
* the deployment continues with DownloadBundle. If BeforeBlockTraffic
* fails, the deployment continues with BlockTraffic
. If
* AfterBlockTraffic
fails, the deployment continues with
* ApplicationStop
.
If false or not specified, then if a * lifecycle event fails during a deployment to an instance, that deployment fails. * If deployment to that instance is part of an overall deployment and the number * of healthy hosts is not less than the minimum number of healthy hosts, then a * deployment to the next instance is attempted.
During a deployment, the
* CodeDeploy agent runs the scripts specified for ApplicationStop
,
* BeforeBlockTraffic
, and AfterBlockTraffic
in the
* AppSpec file from the previous successful deployment. (All other scripts are run
* from the AppSpec file in the current deployment.) If one of these scripts
* contains an error and does not run successfully, the deployment can fail.
If the cause of the failure is a script from the last successful deployment
* that will never run successfully, create a new deployment and use
* ignoreApplicationStopFailures
to specify that the
* ApplicationStop
, BeforeBlockTraffic
, and
* AfterBlockTraffic
failures should be ignored.
If true, then if an ApplicationStop
,
* BeforeBlockTraffic
, or AfterBlockTraffic
deployment
* lifecycle event to an instance fails, then the deployment continues to the next
* deployment lifecycle event. For example, if ApplicationStop
fails,
* the deployment continues with DownloadBundle. If BeforeBlockTraffic
* fails, the deployment continues with BlockTraffic
. If
* AfterBlockTraffic
fails, the deployment continues with
* ApplicationStop
.
If false or not specified, then if a * lifecycle event fails during a deployment to an instance, that deployment fails. * If deployment to that instance is part of an overall deployment and the number * of healthy hosts is not less than the minimum number of healthy hosts, then a * deployment to the next instance is attempted.
During a deployment, the
* CodeDeploy agent runs the scripts specified for ApplicationStop
,
* BeforeBlockTraffic
, and AfterBlockTraffic
in the
* AppSpec file from the previous successful deployment. (All other scripts are run
* from the AppSpec file in the current deployment.) If one of these scripts
* contains an error and does not run successfully, the deployment can fail.
If the cause of the failure is a script from the last successful deployment
* that will never run successfully, create a new deployment and use
* ignoreApplicationStopFailures
to specify that the
* ApplicationStop
, BeforeBlockTraffic
, and
* AfterBlockTraffic
failures should be ignored.
Information about the automatic rollback configuration associated with the * deployment.
*/ inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const{ return m_autoRollbackConfiguration; } /** *Information about the automatic rollback configuration associated with the * deployment.
*/ inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; } /** *Information about the automatic rollback configuration associated with the * deployment.
*/ inline void SetAutoRollbackConfiguration(const AutoRollbackConfiguration& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = value; } /** *Information about the automatic rollback configuration associated with the * deployment.
*/ inline void SetAutoRollbackConfiguration(AutoRollbackConfiguration&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::move(value); } /** *Information about the automatic rollback configuration associated with the * deployment.
*/ inline DeploymentInfo& WithAutoRollbackConfiguration(const AutoRollbackConfiguration& value) { SetAutoRollbackConfiguration(value); return *this;} /** *Information about the automatic rollback configuration associated with the * deployment.
*/ inline DeploymentInfo& WithAutoRollbackConfiguration(AutoRollbackConfiguration&& value) { SetAutoRollbackConfiguration(std::move(value)); return *this;} /** *Indicates whether only instances that are not running the latest application * revision are to be deployed to.
*/ inline bool GetUpdateOutdatedInstancesOnly() const{ return m_updateOutdatedInstancesOnly; } /** *Indicates whether only instances that are not running the latest application * revision are to be deployed to.
*/ inline bool UpdateOutdatedInstancesOnlyHasBeenSet() const { return m_updateOutdatedInstancesOnlyHasBeenSet; } /** *Indicates whether only instances that are not running the latest application * revision are to be deployed to.
*/ inline void SetUpdateOutdatedInstancesOnly(bool value) { m_updateOutdatedInstancesOnlyHasBeenSet = true; m_updateOutdatedInstancesOnly = value; } /** *Indicates whether only instances that are not running the latest application * revision are to be deployed to.
*/ inline DeploymentInfo& WithUpdateOutdatedInstancesOnly(bool value) { SetUpdateOutdatedInstancesOnly(value); return *this;} /** *Information about a deployment rollback.
*/ inline const RollbackInfo& GetRollbackInfo() const{ return m_rollbackInfo; } /** *Information about a deployment rollback.
*/ inline bool RollbackInfoHasBeenSet() const { return m_rollbackInfoHasBeenSet; } /** *Information about a deployment rollback.
*/ inline void SetRollbackInfo(const RollbackInfo& value) { m_rollbackInfoHasBeenSet = true; m_rollbackInfo = value; } /** *Information about a deployment rollback.
*/ inline void SetRollbackInfo(RollbackInfo&& value) { m_rollbackInfoHasBeenSet = true; m_rollbackInfo = std::move(value); } /** *Information about a deployment rollback.
*/ inline DeploymentInfo& WithRollbackInfo(const RollbackInfo& value) { SetRollbackInfo(value); return *this;} /** *Information about a deployment rollback.
*/ inline DeploymentInfo& WithRollbackInfo(RollbackInfo&& value) { SetRollbackInfo(std::move(value)); return *this;} /** *Information about the type of deployment, either in-place or blue/green, you * want to run and whether to route deployment traffic behind a load balancer.
*/ inline const DeploymentStyle& GetDeploymentStyle() const{ return m_deploymentStyle; } /** *Information about the type of deployment, either in-place or blue/green, you * want to run and whether to route deployment traffic behind a load balancer.
*/ inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; } /** *Information about the type of deployment, either in-place or blue/green, you * want to run and whether to route deployment traffic behind a load balancer.
*/ inline void SetDeploymentStyle(const DeploymentStyle& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = value; } /** *Information about the type of deployment, either in-place or blue/green, you * want to run and whether to route deployment traffic behind a load balancer.
*/ inline void SetDeploymentStyle(DeploymentStyle&& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = std::move(value); } /** *Information about the type of deployment, either in-place or blue/green, you * want to run and whether to route deployment traffic behind a load balancer.
*/ inline DeploymentInfo& WithDeploymentStyle(const DeploymentStyle& value) { SetDeploymentStyle(value); return *this;} /** *Information about the type of deployment, either in-place or blue/green, you * want to run and whether to route deployment traffic behind a load balancer.
*/ inline DeploymentInfo& WithDeploymentStyle(DeploymentStyle&& value) { SetDeploymentStyle(std::move(value)); return *this;} /** *Information about the instances that belong to the replacement environment in * a blue/green deployment.
*/ inline const TargetInstances& GetTargetInstances() const{ return m_targetInstances; } /** *Information about the instances that belong to the replacement environment in * a blue/green deployment.
*/ inline bool TargetInstancesHasBeenSet() const { return m_targetInstancesHasBeenSet; } /** *Information about the instances that belong to the replacement environment in * a blue/green deployment.
*/ inline void SetTargetInstances(const TargetInstances& value) { m_targetInstancesHasBeenSet = true; m_targetInstances = value; } /** *Information about the instances that belong to the replacement environment in * a blue/green deployment.
*/ inline void SetTargetInstances(TargetInstances&& value) { m_targetInstancesHasBeenSet = true; m_targetInstances = std::move(value); } /** *Information about the instances that belong to the replacement environment in * a blue/green deployment.
*/ inline DeploymentInfo& WithTargetInstances(const TargetInstances& value) { SetTargetInstances(value); return *this;} /** *Information about the instances that belong to the replacement environment in * a blue/green deployment.
*/ inline DeploymentInfo& WithTargetInstances(TargetInstances&& value) { SetTargetInstances(std::move(value)); return *this;} /** *Indicates whether the wait period set for the termination of instances in the * original environment has started. Status is 'false' if the KEEP_ALIVE option is * specified. Otherwise, 'true' as soon as the termination wait period starts.
*/ inline bool GetInstanceTerminationWaitTimeStarted() const{ return m_instanceTerminationWaitTimeStarted; } /** *Indicates whether the wait period set for the termination of instances in the * original environment has started. Status is 'false' if the KEEP_ALIVE option is * specified. Otherwise, 'true' as soon as the termination wait period starts.
*/ inline bool InstanceTerminationWaitTimeStartedHasBeenSet() const { return m_instanceTerminationWaitTimeStartedHasBeenSet; } /** *Indicates whether the wait period set for the termination of instances in the * original environment has started. Status is 'false' if the KEEP_ALIVE option is * specified. Otherwise, 'true' as soon as the termination wait period starts.
*/ inline void SetInstanceTerminationWaitTimeStarted(bool value) { m_instanceTerminationWaitTimeStartedHasBeenSet = true; m_instanceTerminationWaitTimeStarted = value; } /** *Indicates whether the wait period set for the termination of instances in the * original environment has started. Status is 'false' if the KEEP_ALIVE option is * specified. Otherwise, 'true' as soon as the termination wait period starts.
*/ inline DeploymentInfo& WithInstanceTerminationWaitTimeStarted(bool value) { SetInstanceTerminationWaitTimeStarted(value); return *this;} /** *Information about blue/green deployment options for this deployment.
*/ inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const{ return m_blueGreenDeploymentConfiguration; } /** *Information about blue/green deployment options for this deployment.
*/ inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; } /** *Information about blue/green deployment options for this deployment.
*/ inline void SetBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = value; } /** *Information about blue/green deployment options for this deployment.
*/ inline void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration&& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = std::move(value); } /** *Information about blue/green deployment options for this deployment.
*/ inline DeploymentInfo& WithBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration& value) { SetBlueGreenDeploymentConfiguration(value); return *this;} /** *Information about blue/green deployment options for this deployment.
*/ inline DeploymentInfo& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration&& value) { SetBlueGreenDeploymentConfiguration(std::move(value)); return *this;} /** *Information about the load balancer used in the deployment.
*/ inline const LoadBalancerInfo& GetLoadBalancerInfo() const{ return m_loadBalancerInfo; } /** *Information about the load balancer used in the deployment.
*/ inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; } /** *Information about the load balancer used in the deployment.
*/ inline void SetLoadBalancerInfo(const LoadBalancerInfo& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = value; } /** *Information about the load balancer used in the deployment.
*/ inline void SetLoadBalancerInfo(LoadBalancerInfo&& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = std::move(value); } /** *Information about the load balancer used in the deployment.
*/ inline DeploymentInfo& WithLoadBalancerInfo(const LoadBalancerInfo& value) { SetLoadBalancerInfo(value); return *this;} /** *Information about the load balancer used in the deployment.
*/ inline DeploymentInfo& WithLoadBalancerInfo(LoadBalancerInfo&& value) { SetLoadBalancerInfo(std::move(value)); return *this;} /** *Provides information about the results of a deployment, such as whether * instances in the original environment in a blue/green deployment were not * terminated.
*/ inline const Aws::String& GetAdditionalDeploymentStatusInfo() const{ return m_additionalDeploymentStatusInfo; } /** *Provides information about the results of a deployment, such as whether * instances in the original environment in a blue/green deployment were not * terminated.
*/ inline bool AdditionalDeploymentStatusInfoHasBeenSet() const { return m_additionalDeploymentStatusInfoHasBeenSet; } /** *Provides information about the results of a deployment, such as whether * instances in the original environment in a blue/green deployment were not * terminated.
*/ inline void SetAdditionalDeploymentStatusInfo(const Aws::String& value) { m_additionalDeploymentStatusInfoHasBeenSet = true; m_additionalDeploymentStatusInfo = value; } /** *Provides information about the results of a deployment, such as whether * instances in the original environment in a blue/green deployment were not * terminated.
*/ inline void SetAdditionalDeploymentStatusInfo(Aws::String&& value) { m_additionalDeploymentStatusInfoHasBeenSet = true; m_additionalDeploymentStatusInfo = std::move(value); } /** *Provides information about the results of a deployment, such as whether * instances in the original environment in a blue/green deployment were not * terminated.
*/ inline void SetAdditionalDeploymentStatusInfo(const char* value) { m_additionalDeploymentStatusInfoHasBeenSet = true; m_additionalDeploymentStatusInfo.assign(value); } /** *Provides information about the results of a deployment, such as whether * instances in the original environment in a blue/green deployment were not * terminated.
*/ inline DeploymentInfo& WithAdditionalDeploymentStatusInfo(const Aws::String& value) { SetAdditionalDeploymentStatusInfo(value); return *this;} /** *Provides information about the results of a deployment, such as whether * instances in the original environment in a blue/green deployment were not * terminated.
*/ inline DeploymentInfo& WithAdditionalDeploymentStatusInfo(Aws::String&& value) { SetAdditionalDeploymentStatusInfo(std::move(value)); return *this;} /** *Provides information about the results of a deployment, such as whether * instances in the original environment in a blue/green deployment were not * terminated.
*/ inline DeploymentInfo& WithAdditionalDeploymentStatusInfo(const char* value) { SetAdditionalDeploymentStatusInfo(value); return *this;} /** *Information about how CodeDeploy handles files that already exist in a * deployment target location but weren't part of the previous successful * deployment.
DISALLOW
: The deployment fails. This
* is also the default behavior if no option is specified.
* OVERWRITE
: The version of the file from the application revision
* currently being deployed replaces the version already on the instance.
RETAIN
: The version of the file already on the instance is
* kept and used as part of the new deployment.
Information about how CodeDeploy handles files that already exist in a * deployment target location but weren't part of the previous successful * deployment.
DISALLOW
: The deployment fails. This
* is also the default behavior if no option is specified.
* OVERWRITE
: The version of the file from the application revision
* currently being deployed replaces the version already on the instance.
RETAIN
: The version of the file already on the instance is
* kept and used as part of the new deployment.
Information about how CodeDeploy handles files that already exist in a * deployment target location but weren't part of the previous successful * deployment.
DISALLOW
: The deployment fails. This
* is also the default behavior if no option is specified.
* OVERWRITE
: The version of the file from the application revision
* currently being deployed replaces the version already on the instance.
RETAIN
: The version of the file already on the instance is
* kept and used as part of the new deployment.
Information about how CodeDeploy handles files that already exist in a * deployment target location but weren't part of the previous successful * deployment.
DISALLOW
: The deployment fails. This
* is also the default behavior if no option is specified.
* OVERWRITE
: The version of the file from the application revision
* currently being deployed replaces the version already on the instance.
RETAIN
: The version of the file already on the instance is
* kept and used as part of the new deployment.
Information about how CodeDeploy handles files that already exist in a * deployment target location but weren't part of the previous successful * deployment.
DISALLOW
: The deployment fails. This
* is also the default behavior if no option is specified.
* OVERWRITE
: The version of the file from the application revision
* currently being deployed replaces the version already on the instance.
RETAIN
: The version of the file already on the instance is
* kept and used as part of the new deployment.
Information about how CodeDeploy handles files that already exist in a * deployment target location but weren't part of the previous successful * deployment.
DISALLOW
: The deployment fails. This
* is also the default behavior if no option is specified.
* OVERWRITE
: The version of the file from the application revision
* currently being deployed replaces the version already on the instance.
RETAIN
: The version of the file already on the instance is
* kept and used as part of the new deployment.
Messages that contain information about the status of a deployment.
*/ inline const Aws::VectorMessages that contain information about the status of a deployment.
*/ inline bool DeploymentStatusMessagesHasBeenSet() const { return m_deploymentStatusMessagesHasBeenSet; } /** *Messages that contain information about the status of a deployment.
*/ inline void SetDeploymentStatusMessages(const Aws::VectorMessages that contain information about the status of a deployment.
*/ inline void SetDeploymentStatusMessages(Aws::VectorMessages that contain information about the status of a deployment.
*/ inline DeploymentInfo& WithDeploymentStatusMessages(const Aws::VectorMessages that contain information about the status of a deployment.
*/ inline DeploymentInfo& WithDeploymentStatusMessages(Aws::VectorMessages that contain information about the status of a deployment.
*/ inline DeploymentInfo& AddDeploymentStatusMessages(const Aws::String& value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages.push_back(value); return *this; } /** *Messages that contain information about the status of a deployment.
*/ inline DeploymentInfo& AddDeploymentStatusMessages(Aws::String&& value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages.push_back(std::move(value)); return *this; } /** *Messages that contain information about the status of a deployment.
*/ inline DeploymentInfo& AddDeploymentStatusMessages(const char* value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages.push_back(value); return *this; } /** *The destination platform type for the deployment (Lambda
,
* Server
, or ECS
).
The destination platform type for the deployment (Lambda
,
* Server
, or ECS
).
The destination platform type for the deployment (Lambda
,
* Server
, or ECS
).
The destination platform type for the deployment (Lambda
,
* Server
, or ECS
).
The destination platform type for the deployment (Lambda
,
* Server
, or ECS
).
The destination platform type for the deployment (Lambda
,
* Server
, or ECS
).
The unique ID for an external resource (for example, a CloudFormation stack * ID) that is linked to this deployment.
*/ inline const Aws::String& GetExternalId() const{ return m_externalId; } /** *The unique ID for an external resource (for example, a CloudFormation stack * ID) that is linked to this deployment.
*/ inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; } /** *The unique ID for an external resource (for example, a CloudFormation stack * ID) that is linked to this deployment.
*/ inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; } /** *The unique ID for an external resource (for example, a CloudFormation stack * ID) that is linked to this deployment.
*/ inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); } /** *The unique ID for an external resource (for example, a CloudFormation stack * ID) that is linked to this deployment.
*/ inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); } /** *The unique ID for an external resource (for example, a CloudFormation stack * ID) that is linked to this deployment.
*/ inline DeploymentInfo& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;} /** *The unique ID for an external resource (for example, a CloudFormation stack * ID) that is linked to this deployment.
*/ inline DeploymentInfo& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;} /** *The unique ID for an external resource (for example, a CloudFormation stack * ID) that is linked to this deployment.
*/ inline DeploymentInfo& WithExternalId(const char* value) { SetExternalId(value); return *this;} inline const RelatedDeployments& GetRelatedDeployments() const{ return m_relatedDeployments; } inline bool RelatedDeploymentsHasBeenSet() const { return m_relatedDeploymentsHasBeenSet; } inline void SetRelatedDeployments(const RelatedDeployments& value) { m_relatedDeploymentsHasBeenSet = true; m_relatedDeployments = value; } inline void SetRelatedDeployments(RelatedDeployments&& value) { m_relatedDeploymentsHasBeenSet = true; m_relatedDeployments = std::move(value); } inline DeploymentInfo& WithRelatedDeployments(const RelatedDeployments& value) { SetRelatedDeployments(value); return *this;} inline DeploymentInfo& WithRelatedDeployments(RelatedDeployments&& value) { SetRelatedDeployments(std::move(value)); return *this;} inline const AlarmConfiguration& GetOverrideAlarmConfiguration() const{ return m_overrideAlarmConfiguration; } inline bool OverrideAlarmConfigurationHasBeenSet() const { return m_overrideAlarmConfigurationHasBeenSet; } inline void SetOverrideAlarmConfiguration(const AlarmConfiguration& value) { m_overrideAlarmConfigurationHasBeenSet = true; m_overrideAlarmConfiguration = value; } inline void SetOverrideAlarmConfiguration(AlarmConfiguration&& value) { m_overrideAlarmConfigurationHasBeenSet = true; m_overrideAlarmConfiguration = std::move(value); } inline DeploymentInfo& WithOverrideAlarmConfiguration(const AlarmConfiguration& value) { SetOverrideAlarmConfiguration(value); return *this;} inline DeploymentInfo& WithOverrideAlarmConfiguration(AlarmConfiguration&& value) { SetOverrideAlarmConfiguration(std::move(value)); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_deploymentGroupName; bool m_deploymentGroupNameHasBeenSet = false; Aws::String m_deploymentConfigName; bool m_deploymentConfigNameHasBeenSet = false; Aws::String m_deploymentId; bool m_deploymentIdHasBeenSet = false; RevisionLocation m_previousRevision; bool m_previousRevisionHasBeenSet = false; RevisionLocation m_revision; bool m_revisionHasBeenSet = false; DeploymentStatus m_status; bool m_statusHasBeenSet = false; ErrorInformation m_errorInformation; bool m_errorInformationHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_completeTime; bool m_completeTimeHasBeenSet = false; DeploymentOverview m_deploymentOverview; bool m_deploymentOverviewHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; DeploymentCreator m_creator; bool m_creatorHasBeenSet = false; bool m_ignoreApplicationStopFailures; bool m_ignoreApplicationStopFailuresHasBeenSet = false; AutoRollbackConfiguration m_autoRollbackConfiguration; bool m_autoRollbackConfigurationHasBeenSet = false; bool m_updateOutdatedInstancesOnly; bool m_updateOutdatedInstancesOnlyHasBeenSet = false; RollbackInfo m_rollbackInfo; bool m_rollbackInfoHasBeenSet = false; DeploymentStyle m_deploymentStyle; bool m_deploymentStyleHasBeenSet = false; TargetInstances m_targetInstances; bool m_targetInstancesHasBeenSet = false; bool m_instanceTerminationWaitTimeStarted; bool m_instanceTerminationWaitTimeStartedHasBeenSet = false; BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration; bool m_blueGreenDeploymentConfigurationHasBeenSet = false; LoadBalancerInfo m_loadBalancerInfo; bool m_loadBalancerInfoHasBeenSet = false; Aws::String m_additionalDeploymentStatusInfo; bool m_additionalDeploymentStatusInfoHasBeenSet = false; FileExistsBehavior m_fileExistsBehavior; bool m_fileExistsBehaviorHasBeenSet = false; Aws::Vector