7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/AlarmConfiguration.h>
9#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
10#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
11#include <aws/codedeploy/model/ComputePlatform.h>
12#include <aws/codedeploy/model/DeploymentCreator.h>
13#include <aws/codedeploy/model/DeploymentMode.h>
14#include <aws/codedeploy/model/DeploymentOverview.h>
15#include <aws/codedeploy/model/DeploymentStatus.h>
16#include <aws/codedeploy/model/DeploymentStyle.h>
17#include <aws/codedeploy/model/EC2DeploymentOptions.h>
18#include <aws/codedeploy/model/ErrorInformation.h>
19#include <aws/codedeploy/model/FileExistsBehavior.h>
20#include <aws/codedeploy/model/LoadBalancerInfo.h>
21#include <aws/codedeploy/model/RelatedDeployments.h>
22#include <aws/codedeploy/model/RevisionLocation.h>
23#include <aws/codedeploy/model/RollbackInfo.h>
24#include <aws/codedeploy/model/TargetInstances.h>
25#include <aws/core/utils/DateTime.h>
26#include <aws/core/utils/memory/stl/AWSString.h>
27#include <aws/core/utils/memory/stl/AWSVector.h>
59 template <
typename ApplicationNameT = Aws::String>
61 m_applicationNameHasBeenSet =
true;
62 m_applicationName = std::forward<ApplicationNameT>(value);
64 template <
typename ApplicationNameT = Aws::String>
77 template <
typename DeploymentGroupNameT = Aws::String>
79 m_deploymentGroupNameHasBeenSet =
true;
80 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
82 template <
typename DeploymentGroupNameT = Aws::String>
95 template <
typename DeploymentConfigNameT = Aws::String>
97 m_deploymentConfigNameHasBeenSet =
true;
98 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
100 template <
typename DeploymentConfigNameT = Aws::String>
113 template <
typename DeploymentIdT = Aws::String>
115 m_deploymentIdHasBeenSet =
true;
116 m_deploymentId = std::forward<DeploymentIdT>(value);
118 template <
typename DeploymentIdT = Aws::String>
132 template <
typename PreviousRevisionT = RevisionLocation>
134 m_previousRevisionHasBeenSet =
true;
135 m_previousRevision = std::forward<PreviousRevisionT>(value);
137 template <
typename PreviousRevisionT = RevisionLocation>
151 template <
typename RevisionT = RevisionLocation>
153 m_revisionHasBeenSet =
true;
154 m_revision = std::forward<RevisionT>(value);
156 template <
typename RevisionT = RevisionLocation>
170 m_statusHasBeenSet =
true;
185 template <
typename ErrorInformationT = ErrorInformation>
187 m_errorInformationHasBeenSet =
true;
188 m_errorInformation = std::forward<ErrorInformationT>(value);
190 template <
typename ErrorInformationT = ErrorInformation>
203 template <
typename CreateTimeT = Aws::Utils::DateTime>
205 m_createTimeHasBeenSet =
true;
206 m_createTime = std::forward<CreateTimeT>(value);
208 template <
typename CreateTimeT = Aws::Utils::DateTime>
224 template <
typename StartTimeT = Aws::Utils::DateTime>
226 m_startTimeHasBeenSet =
true;
227 m_startTime = std::forward<StartTimeT>(value);
229 template <
typename StartTimeT = Aws::Utils::DateTime>
242 template <
typename CompleteTimeT = Aws::Utils::DateTime>
244 m_completeTimeHasBeenSet =
true;
245 m_completeTime = std::forward<CompleteTimeT>(value);
247 template <
typename CompleteTimeT = Aws::Utils::DateTime>
260 template <
typename DeploymentOverviewT = DeploymentOverview>
262 m_deploymentOverviewHasBeenSet =
true;
263 m_deploymentOverview = std::forward<DeploymentOverviewT>(value);
265 template <
typename DeploymentOverviewT = DeploymentOverview>
278 template <
typename DescriptionT = Aws::String>
280 m_descriptionHasBeenSet =
true;
281 m_description = std::forward<DescriptionT>(value);
283 template <
typename DescriptionT = Aws::String>
303 m_creatorHasBeenSet =
true;
340 m_ignoreApplicationStopFailuresHasBeenSet =
true;
341 m_ignoreApplicationStopFailures = value;
356 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
358 m_autoRollbackConfigurationHasBeenSet =
true;
359 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
361 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
376 m_updateOutdatedInstancesOnlyHasBeenSet =
true;
377 m_updateOutdatedInstancesOnly = value;
391 template <
typename RollbackInfoT = RollbackInfo>
393 m_rollbackInfoHasBeenSet =
true;
394 m_rollbackInfo = std::forward<RollbackInfoT>(value);
396 template <
typename RollbackInfoT = RollbackInfo>
410 template <
typename DeploymentStyleT = DeploymentStyle>
412 m_deploymentStyleHasBeenSet =
true;
413 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
415 template <
typename DeploymentStyleT = DeploymentStyle>
429 template <
typename TargetInstancesT = TargetInstances>
431 m_targetInstancesHasBeenSet =
true;
432 m_targetInstances = std::forward<TargetInstancesT>(value);
434 template <
typename TargetInstancesT = TargetInstances>
450 m_instanceTerminationWaitTimeStartedHasBeenSet =
true;
451 m_instanceTerminationWaitTimeStarted = value;
465 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
467 m_blueGreenDeploymentConfigurationHasBeenSet =
true;
468 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
470 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
483 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
485 m_loadBalancerInfoHasBeenSet =
true;
486 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
488 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
503 template <
typename AdditionalDeploymentStatusInfoT = Aws::String>
505 m_additionalDeploymentStatusInfoHasBeenSet =
true;
506 m_additionalDeploymentStatusInfo = std::forward<AdditionalDeploymentStatusInfoT>(value);
508 template <
typename AdditionalDeploymentStatusInfoT = Aws::String>
529 m_fileExistsBehaviorHasBeenSet =
true;
530 m_fileExistsBehavior = value;
553 m_deploymentModeHasBeenSet =
true;
554 m_deploymentMode = value;
568 template <
typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
570 m_deploymentStatusMessagesHasBeenSet =
true;
571 m_deploymentStatusMessages = std::forward<DeploymentStatusMessagesT>(value);
573 template <
typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
578 template <
typename DeploymentStatusMessagesT = Aws::String>
580 m_deploymentStatusMessagesHasBeenSet =
true;
581 m_deploymentStatusMessages.emplace_back(std::forward<DeploymentStatusMessagesT>(value));
594 m_computePlatformHasBeenSet =
true;
595 m_computePlatform = value;
610 template <
typename ExternalIdT = Aws::String>
612 m_externalIdHasBeenSet =
true;
613 m_externalId = std::forward<ExternalIdT>(value);
615 template <
typename ExternalIdT = Aws::String>
626 template <
typename RelatedDeploymentsT = RelatedDeployments>
628 m_relatedDeploymentsHasBeenSet =
true;
629 m_relatedDeployments = std::forward<RelatedDeploymentsT>(value);
631 template <
typename RelatedDeploymentsT = RelatedDeployments>
642 template <
typename Overr
ideAlarmConfigurationT = AlarmConfiguration>
644 m_overrideAlarmConfigurationHasBeenSet =
true;
645 m_overrideAlarmConfiguration = std::forward<OverrideAlarmConfigurationT>(value);
647 template <
typename Overr
ideAlarmConfigurationT = AlarmConfiguration>
658 template <
typename Ec2DeploymentOptionsT = EC2DeploymentOptions>
660 m_ec2DeploymentOptionsHasBeenSet =
true;
661 m_ec2DeploymentOptions = std::forward<Ec2DeploymentOptionsT>(value);
663 template <
typename Ec2DeploymentOptionsT = EC2DeploymentOptions>
684 ErrorInformation m_errorInformation;
692 DeploymentOverview m_deploymentOverview;
698 bool m_ignoreApplicationStopFailures{
false};
700 AutoRollbackConfiguration m_autoRollbackConfiguration;
702 bool m_updateOutdatedInstancesOnly{
false};
704 RollbackInfo m_rollbackInfo;
706 DeploymentStyle m_deploymentStyle;
708 TargetInstances m_targetInstances;
710 bool m_instanceTerminationWaitTimeStarted{
false};
712 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
714 LoadBalancerInfo m_loadBalancerInfo;
728 RelatedDeployments m_relatedDeployments;
730 AlarmConfiguration m_overrideAlarmConfiguration;
732 EC2DeploymentOptions m_ec2DeploymentOptions;
733 bool m_applicationNameHasBeenSet =
false;
734 bool m_deploymentGroupNameHasBeenSet =
false;
735 bool m_deploymentConfigNameHasBeenSet =
false;
736 bool m_deploymentIdHasBeenSet =
false;
737 bool m_previousRevisionHasBeenSet =
false;
738 bool m_revisionHasBeenSet =
false;
739 bool m_statusHasBeenSet =
false;
740 bool m_errorInformationHasBeenSet =
false;
741 bool m_createTimeHasBeenSet =
false;
742 bool m_startTimeHasBeenSet =
false;
743 bool m_completeTimeHasBeenSet =
false;
744 bool m_deploymentOverviewHasBeenSet =
false;
745 bool m_descriptionHasBeenSet =
false;
746 bool m_creatorHasBeenSet =
false;
747 bool m_ignoreApplicationStopFailuresHasBeenSet =
false;
748 bool m_autoRollbackConfigurationHasBeenSet =
false;
749 bool m_updateOutdatedInstancesOnlyHasBeenSet =
false;
750 bool m_rollbackInfoHasBeenSet =
false;
751 bool m_deploymentStyleHasBeenSet =
false;
752 bool m_targetInstancesHasBeenSet =
false;
753 bool m_instanceTerminationWaitTimeStartedHasBeenSet =
false;
754 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
755 bool m_loadBalancerInfoHasBeenSet =
false;
756 bool m_additionalDeploymentStatusInfoHasBeenSet =
false;
757 bool m_fileExistsBehaviorHasBeenSet =
false;
758 bool m_deploymentModeHasBeenSet =
false;
759 bool m_deploymentStatusMessagesHasBeenSet =
false;
760 bool m_computePlatformHasBeenSet =
false;
761 bool m_externalIdHasBeenSet =
false;
762 bool m_relatedDeploymentsHasBeenSet =
false;
763 bool m_overrideAlarmConfigurationHasBeenSet =
false;
764 bool m_ec2DeploymentOptionsHasBeenSet =
false;
DeploymentInfo & WithComputePlatform(ComputePlatform value)
DeploymentInfo & WithPreviousRevision(PreviousRevisionT &&value)
DeploymentInfo & WithDescription(DescriptionT &&value)
void SetCompleteTime(CompleteTimeT &&value)
const Aws::Utils::DateTime & GetCompleteTime() const
void SetDescription(DescriptionT &&value)
DeploymentInfo & AddDeploymentStatusMessages(DeploymentStatusMessagesT &&value)
bool CompleteTimeHasBeenSet() const
DeploymentInfo & WithDeploymentGroupName(DeploymentGroupNameT &&value)
DeploymentInfo & WithEc2DeploymentOptions(Ec2DeploymentOptionsT &&value)
DeploymentInfo & WithCreator(DeploymentCreator value)
const Aws::String & GetApplicationName() const
bool StartTimeHasBeenSet() const
const LoadBalancerInfo & GetLoadBalancerInfo() const
DeploymentInfo & WithRollbackInfo(RollbackInfoT &&value)
ComputePlatform GetComputePlatform() const
bool DescriptionHasBeenSet() const
bool DeploymentConfigNameHasBeenSet() const
bool DeploymentStatusMessagesHasBeenSet() const
void SetStartTime(StartTimeT &&value)
DeploymentInfo & WithDeploymentId(DeploymentIdT &&value)
const Aws::String & GetDeploymentId() const
bool UpdateOutdatedInstancesOnlyHasBeenSet() const
DeploymentInfo & WithCompleteTime(CompleteTimeT &&value)
bool AutoRollbackConfigurationHasBeenSet() const
const Aws::String & GetDescription() const
bool Ec2DeploymentOptionsHasBeenSet() const
DeploymentInfo & WithFileExistsBehavior(FileExistsBehavior value)
const Aws::String & GetDeploymentConfigName() const
DeploymentInfo & WithOverrideAlarmConfiguration(OverrideAlarmConfigurationT &&value)
bool GetInstanceTerminationWaitTimeStarted() const
bool StatusHasBeenSet() const
const TargetInstances & GetTargetInstances() const
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
void SetStatus(DeploymentStatus value)
DeploymentInfo & WithRevision(RevisionT &&value)
bool DeploymentGroupNameHasBeenSet() const
AWS_CODEDEPLOY_API DeploymentInfo(Aws::Utils::Json::JsonView jsonValue)
void SetDeploymentId(DeploymentIdT &&value)
FileExistsBehavior GetFileExistsBehavior() const
void SetDeploymentConfigName(DeploymentConfigNameT &&value)
DeploymentInfo & WithErrorInformation(ErrorInformationT &&value)
bool RelatedDeploymentsHasBeenSet() const
void SetCreator(DeploymentCreator value)
DeploymentInfo & WithAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT &&value)
DeploymentCreator GetCreator() const
DeploymentInfo & WithDeploymentConfigName(DeploymentConfigNameT &&value)
const Aws::String & GetAdditionalDeploymentStatusInfo() const
bool PreviousRevisionHasBeenSet() const
const Aws::String & GetDeploymentGroupName() const
bool LoadBalancerInfoHasBeenSet() const
void SetFileExistsBehavior(FileExistsBehavior value)
void SetRollbackInfo(RollbackInfoT &&value)
DeploymentInfo & WithApplicationName(ApplicationNameT &&value)
const RollbackInfo & GetRollbackInfo() const
void SetOverrideAlarmConfiguration(OverrideAlarmConfigurationT &&value)
DeploymentInfo & WithStatus(DeploymentStatus value)
bool DeploymentOverviewHasBeenSet() const
bool DeploymentIdHasBeenSet() const
const Aws::String & GetExternalId() const
void SetIgnoreApplicationStopFailures(bool value)
void SetApplicationName(ApplicationNameT &&value)
const DeploymentOverview & GetDeploymentOverview() const
const RevisionLocation & GetRevision() const
DeploymentInfo & WithDeploymentOverview(DeploymentOverviewT &&value)
bool OverrideAlarmConfigurationHasBeenSet() const
DeploymentInfo & WithExternalId(ExternalIdT &&value)
const ErrorInformation & GetErrorInformation() const
void SetDeploymentStyle(DeploymentStyleT &&value)
bool ComputePlatformHasBeenSet() const
void SetEc2DeploymentOptions(Ec2DeploymentOptionsT &&value)
void SetAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
DeploymentInfo & WithRelatedDeployments(RelatedDeploymentsT &&value)
void SetDeploymentGroupName(DeploymentGroupNameT &&value)
DeploymentInfo & WithAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
void SetErrorInformation(ErrorInformationT &&value)
void SetDeploymentStatusMessages(DeploymentStatusMessagesT &&value)
bool InstanceTerminationWaitTimeStartedHasBeenSet() const
bool BlueGreenDeploymentConfigurationHasBeenSet() const
void SetComputePlatform(ComputePlatform value)
void SetExternalId(ExternalIdT &&value)
bool GetIgnoreApplicationStopFailures() const
bool DeploymentStyleHasBeenSet() const
void SetUpdateOutdatedInstancesOnly(bool value)
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
DeploymentInfo & WithLoadBalancerInfo(LoadBalancerInfoT &&value)
bool RevisionHasBeenSet() const
DeploymentInfo & WithUpdateOutdatedInstancesOnly(bool value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetDeploymentOverview(DeploymentOverviewT &&value)
bool GetUpdateOutdatedInstancesOnly() const
void SetCreateTime(CreateTimeT &&value)
const EC2DeploymentOptions & GetEc2DeploymentOptions() const
void SetInstanceTerminationWaitTimeStarted(bool value)
DeploymentInfo & WithIgnoreApplicationStopFailures(bool value)
bool AdditionalDeploymentStatusInfoHasBeenSet() const
DeploymentInfo & WithDeploymentStyle(DeploymentStyleT &&value)
void SetAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT &&value)
bool CreatorHasBeenSet() const
void SetRevision(RevisionT &&value)
bool CreateTimeHasBeenSet() const
bool IgnoreApplicationStopFailuresHasBeenSet() const
AWS_CODEDEPLOY_API DeploymentInfo()=default
DeploymentInfo & WithStartTime(StartTimeT &&value)
bool ExternalIdHasBeenSet() const
DeploymentInfo & WithInstanceTerminationWaitTimeStarted(bool value)
DeploymentMode GetDeploymentMode() const
bool ErrorInformationHasBeenSet() const
void SetPreviousRevision(PreviousRevisionT &&value)
const DeploymentStyle & GetDeploymentStyle() const
DeploymentInfo & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
void SetDeploymentMode(DeploymentMode value)
const AlarmConfiguration & GetOverrideAlarmConfiguration() const
const RelatedDeployments & GetRelatedDeployments() const
bool DeploymentModeHasBeenSet() const
AWS_CODEDEPLOY_API DeploymentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentInfo & WithTargetInstances(TargetInstancesT &&value)
const Aws::Vector< Aws::String > & GetDeploymentStatusMessages() const
DeploymentInfo & WithDeploymentMode(DeploymentMode value)
bool RollbackInfoHasBeenSet() const
DeploymentInfo & WithCreateTime(CreateTimeT &&value)
void SetRelatedDeployments(RelatedDeploymentsT &&value)
void SetLoadBalancerInfo(LoadBalancerInfoT &&value)
bool ApplicationNameHasBeenSet() const
void SetTargetInstances(TargetInstancesT &&value)
const RevisionLocation & GetPreviousRevision() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentStatus GetStatus() const
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
bool FileExistsBehaviorHasBeenSet() const
bool TargetInstancesHasBeenSet() const
DeploymentInfo & WithDeploymentStatusMessages(DeploymentStatusMessagesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue