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/ErrorInformation.h>
18#include <aws/codedeploy/model/FileExistsBehavior.h>
19#include <aws/codedeploy/model/LoadBalancerInfo.h>
20#include <aws/codedeploy/model/RelatedDeployments.h>
21#include <aws/codedeploy/model/RevisionLocation.h>
22#include <aws/codedeploy/model/RollbackInfo.h>
23#include <aws/codedeploy/model/TargetInstances.h>
24#include <aws/core/utils/DateTime.h>
25#include <aws/core/utils/memory/stl/AWSString.h>
26#include <aws/core/utils/memory/stl/AWSVector.h>
58 template <
typename ApplicationNameT = Aws::String>
60 m_applicationNameHasBeenSet =
true;
61 m_applicationName = std::forward<ApplicationNameT>(value);
63 template <
typename ApplicationNameT = Aws::String>
76 template <
typename DeploymentGroupNameT = Aws::String>
78 m_deploymentGroupNameHasBeenSet =
true;
79 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
81 template <
typename DeploymentGroupNameT = Aws::String>
94 template <
typename DeploymentConfigNameT = Aws::String>
96 m_deploymentConfigNameHasBeenSet =
true;
97 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
99 template <
typename DeploymentConfigNameT = Aws::String>
112 template <
typename DeploymentIdT = Aws::String>
114 m_deploymentIdHasBeenSet =
true;
115 m_deploymentId = std::forward<DeploymentIdT>(value);
117 template <
typename DeploymentIdT = Aws::String>
131 template <
typename PreviousRevisionT = RevisionLocation>
133 m_previousRevisionHasBeenSet =
true;
134 m_previousRevision = std::forward<PreviousRevisionT>(value);
136 template <
typename PreviousRevisionT = RevisionLocation>
150 template <
typename RevisionT = RevisionLocation>
152 m_revisionHasBeenSet =
true;
153 m_revision = std::forward<RevisionT>(value);
155 template <
typename RevisionT = RevisionLocation>
169 m_statusHasBeenSet =
true;
184 template <
typename ErrorInformationT = ErrorInformation>
186 m_errorInformationHasBeenSet =
true;
187 m_errorInformation = std::forward<ErrorInformationT>(value);
189 template <
typename ErrorInformationT = ErrorInformation>
202 template <
typename CreateTimeT = Aws::Utils::DateTime>
204 m_createTimeHasBeenSet =
true;
205 m_createTime = std::forward<CreateTimeT>(value);
207 template <
typename CreateTimeT = Aws::Utils::DateTime>
223 template <
typename StartTimeT = Aws::Utils::DateTime>
225 m_startTimeHasBeenSet =
true;
226 m_startTime = std::forward<StartTimeT>(value);
228 template <
typename StartTimeT = Aws::Utils::DateTime>
241 template <
typename CompleteTimeT = Aws::Utils::DateTime>
243 m_completeTimeHasBeenSet =
true;
244 m_completeTime = std::forward<CompleteTimeT>(value);
246 template <
typename CompleteTimeT = Aws::Utils::DateTime>
259 template <
typename DeploymentOverviewT = DeploymentOverview>
261 m_deploymentOverviewHasBeenSet =
true;
262 m_deploymentOverview = std::forward<DeploymentOverviewT>(value);
264 template <
typename DeploymentOverviewT = DeploymentOverview>
277 template <
typename DescriptionT = Aws::String>
279 m_descriptionHasBeenSet =
true;
280 m_description = std::forward<DescriptionT>(value);
282 template <
typename DescriptionT = Aws::String>
302 m_creatorHasBeenSet =
true;
339 m_ignoreApplicationStopFailuresHasBeenSet =
true;
340 m_ignoreApplicationStopFailures = value;
355 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
357 m_autoRollbackConfigurationHasBeenSet =
true;
358 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
360 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
375 m_updateOutdatedInstancesOnlyHasBeenSet =
true;
376 m_updateOutdatedInstancesOnly = value;
390 template <
typename RollbackInfoT = RollbackInfo>
392 m_rollbackInfoHasBeenSet =
true;
393 m_rollbackInfo = std::forward<RollbackInfoT>(value);
395 template <
typename RollbackInfoT = RollbackInfo>
409 template <
typename DeploymentStyleT = DeploymentStyle>
411 m_deploymentStyleHasBeenSet =
true;
412 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
414 template <
typename DeploymentStyleT = DeploymentStyle>
428 template <
typename TargetInstancesT = TargetInstances>
430 m_targetInstancesHasBeenSet =
true;
431 m_targetInstances = std::forward<TargetInstancesT>(value);
433 template <
typename TargetInstancesT = TargetInstances>
449 m_instanceTerminationWaitTimeStartedHasBeenSet =
true;
450 m_instanceTerminationWaitTimeStarted = value;
464 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
466 m_blueGreenDeploymentConfigurationHasBeenSet =
true;
467 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
469 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
482 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
484 m_loadBalancerInfoHasBeenSet =
true;
485 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
487 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
502 template <
typename AdditionalDeploymentStatusInfoT = Aws::String>
504 m_additionalDeploymentStatusInfoHasBeenSet =
true;
505 m_additionalDeploymentStatusInfo = std::forward<AdditionalDeploymentStatusInfoT>(value);
507 template <
typename AdditionalDeploymentStatusInfoT = Aws::String>
528 m_fileExistsBehaviorHasBeenSet =
true;
529 m_fileExistsBehavior = value;
552 m_deploymentModeHasBeenSet =
true;
553 m_deploymentMode = value;
567 template <
typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
569 m_deploymentStatusMessagesHasBeenSet =
true;
570 m_deploymentStatusMessages = std::forward<DeploymentStatusMessagesT>(value);
572 template <
typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
577 template <
typename DeploymentStatusMessagesT = Aws::String>
579 m_deploymentStatusMessagesHasBeenSet =
true;
580 m_deploymentStatusMessages.emplace_back(std::forward<DeploymentStatusMessagesT>(value));
593 m_computePlatformHasBeenSet =
true;
594 m_computePlatform = value;
609 template <
typename ExternalIdT = Aws::String>
611 m_externalIdHasBeenSet =
true;
612 m_externalId = std::forward<ExternalIdT>(value);
614 template <
typename ExternalIdT = Aws::String>
625 template <
typename RelatedDeploymentsT = RelatedDeployments>
627 m_relatedDeploymentsHasBeenSet =
true;
628 m_relatedDeployments = std::forward<RelatedDeploymentsT>(value);
630 template <
typename RelatedDeploymentsT = RelatedDeployments>
641 template <
typename Overr
ideAlarmConfigurationT = AlarmConfiguration>
643 m_overrideAlarmConfigurationHasBeenSet =
true;
644 m_overrideAlarmConfiguration = std::forward<OverrideAlarmConfigurationT>(value);
646 template <
typename Overr
ideAlarmConfigurationT = AlarmConfiguration>
667 ErrorInformation m_errorInformation;
675 DeploymentOverview m_deploymentOverview;
681 bool m_ignoreApplicationStopFailures{
false};
683 AutoRollbackConfiguration m_autoRollbackConfiguration;
685 bool m_updateOutdatedInstancesOnly{
false};
687 RollbackInfo m_rollbackInfo;
689 DeploymentStyle m_deploymentStyle;
691 TargetInstances m_targetInstances;
693 bool m_instanceTerminationWaitTimeStarted{
false};
695 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
697 LoadBalancerInfo m_loadBalancerInfo;
711 RelatedDeployments m_relatedDeployments;
713 AlarmConfiguration m_overrideAlarmConfiguration;
714 bool m_applicationNameHasBeenSet =
false;
715 bool m_deploymentGroupNameHasBeenSet =
false;
716 bool m_deploymentConfigNameHasBeenSet =
false;
717 bool m_deploymentIdHasBeenSet =
false;
718 bool m_previousRevisionHasBeenSet =
false;
719 bool m_revisionHasBeenSet =
false;
720 bool m_statusHasBeenSet =
false;
721 bool m_errorInformationHasBeenSet =
false;
722 bool m_createTimeHasBeenSet =
false;
723 bool m_startTimeHasBeenSet =
false;
724 bool m_completeTimeHasBeenSet =
false;
725 bool m_deploymentOverviewHasBeenSet =
false;
726 bool m_descriptionHasBeenSet =
false;
727 bool m_creatorHasBeenSet =
false;
728 bool m_ignoreApplicationStopFailuresHasBeenSet =
false;
729 bool m_autoRollbackConfigurationHasBeenSet =
false;
730 bool m_updateOutdatedInstancesOnlyHasBeenSet =
false;
731 bool m_rollbackInfoHasBeenSet =
false;
732 bool m_deploymentStyleHasBeenSet =
false;
733 bool m_targetInstancesHasBeenSet =
false;
734 bool m_instanceTerminationWaitTimeStartedHasBeenSet =
false;
735 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
736 bool m_loadBalancerInfoHasBeenSet =
false;
737 bool m_additionalDeploymentStatusInfoHasBeenSet =
false;
738 bool m_fileExistsBehaviorHasBeenSet =
false;
739 bool m_deploymentModeHasBeenSet =
false;
740 bool m_deploymentStatusMessagesHasBeenSet =
false;
741 bool m_computePlatformHasBeenSet =
false;
742 bool m_externalIdHasBeenSet =
false;
743 bool m_relatedDeploymentsHasBeenSet =
false;
744 bool m_overrideAlarmConfigurationHasBeenSet =
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 & 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
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 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)
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