7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codedeploy/model/RevisionLocation.h>
10#include <aws/codedeploy/model/DeploymentStatus.h>
11#include <aws/codedeploy/model/ErrorInformation.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/codedeploy/model/DeploymentOverview.h>
14#include <aws/codedeploy/model/DeploymentCreator.h>
15#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
16#include <aws/codedeploy/model/RollbackInfo.h>
17#include <aws/codedeploy/model/DeploymentStyle.h>
18#include <aws/codedeploy/model/TargetInstances.h>
19#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
20#include <aws/codedeploy/model/LoadBalancerInfo.h>
21#include <aws/codedeploy/model/FileExistsBehavior.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
23#include <aws/codedeploy/model/ComputePlatform.h>
24#include <aws/codedeploy/model/RelatedDeployments.h>
25#include <aws/codedeploy/model/AlarmConfiguration.h>
63 template<
typename ApplicationNameT = Aws::String>
64 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet =
true; m_applicationName = std::forward<ApplicationNameT>(value); }
65 template<
typename ApplicationNameT = Aws::String>
75 template<
typename DeploymentGroupNameT = Aws::String>
76 void SetDeploymentGroupName(DeploymentGroupNameT&& value) { m_deploymentGroupNameHasBeenSet =
true; m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value); }
77 template<
typename DeploymentGroupNameT = Aws::String>
87 template<
typename DeploymentConfigNameT = Aws::String>
88 void SetDeploymentConfigName(DeploymentConfigNameT&& value) { m_deploymentConfigNameHasBeenSet =
true; m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value); }
89 template<
typename DeploymentConfigNameT = Aws::String>
99 template<
typename DeploymentIdT = Aws::String>
100 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet =
true; m_deploymentId = std::forward<DeploymentIdT>(value); }
101 template<
typename DeploymentIdT = Aws::String>
112 template<
typename PreviousRevisionT = RevisionLocation>
113 void SetPreviousRevision(PreviousRevisionT&& value) { m_previousRevisionHasBeenSet =
true; m_previousRevision = std::forward<PreviousRevisionT>(value); }
114 template<
typename PreviousRevisionT = RevisionLocation>
125 template<
typename RevisionT = RevisionLocation>
126 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet =
true; m_revision = std::forward<RevisionT>(value); }
127 template<
typename RevisionT = RevisionLocation>
147 template<
typename ErrorInformationT = ErrorInformation>
148 void SetErrorInformation(ErrorInformationT&& value) { m_errorInformationHasBeenSet =
true; m_errorInformation = std::forward<ErrorInformationT>(value); }
149 template<
typename ErrorInformationT = ErrorInformation>
159 template<
typename CreateTimeT = Aws::Utils::DateTime>
160 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
161 template<
typename CreateTimeT = Aws::Utils::DateTime>
174 template<
typename StartTimeT = Aws::Utils::DateTime>
175 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
176 template<
typename StartTimeT = Aws::Utils::DateTime>
186 template<
typename CompleteTimeT = Aws::Utils::DateTime>
187 void SetCompleteTime(CompleteTimeT&& value) { m_completeTimeHasBeenSet =
true; m_completeTime = std::forward<CompleteTimeT>(value); }
188 template<
typename CompleteTimeT = Aws::Utils::DateTime>
198 template<
typename DeploymentOverviewT = DeploymentOverview>
199 void SetDeploymentOverview(DeploymentOverviewT&& value) { m_deploymentOverviewHasBeenSet =
true; m_deploymentOverview = std::forward<DeploymentOverviewT>(value); }
200 template<
typename DeploymentOverviewT = DeploymentOverview>
210 template<
typename DescriptionT = Aws::String>
211 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
212 template<
typename DescriptionT = Aws::String>
270 template<
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
271 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { m_autoRollbackConfigurationHasBeenSet =
true; m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value); }
272 template<
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
293 template<
typename RollbackInfoT = RollbackInfo>
294 void SetRollbackInfo(RollbackInfoT&& value) { m_rollbackInfoHasBeenSet =
true; m_rollbackInfo = std::forward<RollbackInfoT>(value); }
295 template<
typename RollbackInfoT = RollbackInfo>
306 template<
typename DeploymentStyleT = DeploymentStyle>
307 void SetDeploymentStyle(DeploymentStyleT&& value) { m_deploymentStyleHasBeenSet =
true; m_deploymentStyle = std::forward<DeploymentStyleT>(value); }
308 template<
typename DeploymentStyleT = DeploymentStyle>
319 template<
typename TargetInstancesT = TargetInstances>
320 void SetTargetInstances(TargetInstancesT&& value) { m_targetInstancesHasBeenSet =
true; m_targetInstances = std::forward<TargetInstancesT>(value); }
321 template<
typename TargetInstancesT = TargetInstances>
343 template<
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
344 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) { m_blueGreenDeploymentConfigurationHasBeenSet =
true; m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value); }
345 template<
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
355 template<
typename LoadBalancerInfoT = LoadBalancerInfo>
356 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) { m_loadBalancerInfoHasBeenSet =
true; m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value); }
357 template<
typename LoadBalancerInfoT = LoadBalancerInfo>
369 template<
typename AdditionalDeploymentStatusInfoT = Aws::String>
370 void SetAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) { m_additionalDeploymentStatusInfoHasBeenSet =
true; m_additionalDeploymentStatusInfo = std::forward<AdditionalDeploymentStatusInfoT>(value); }
371 template<
typename AdditionalDeploymentStatusInfoT = Aws::String>
398 template<
typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
399 void SetDeploymentStatusMessages(DeploymentStatusMessagesT&& value) { m_deploymentStatusMessagesHasBeenSet =
true; m_deploymentStatusMessages = std::forward<DeploymentStatusMessagesT>(value); }
400 template<
typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
402 template<
typename DeploymentStatusMessagesT = Aws::String>
403 DeploymentInfo&
AddDeploymentStatusMessages(DeploymentStatusMessagesT&& value) { m_deploymentStatusMessagesHasBeenSet =
true; m_deploymentStatusMessages.emplace_back(std::forward<DeploymentStatusMessagesT>(value));
return *
this; }
424 template<
typename ExternalIdT = Aws::String>
425 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
426 template<
typename ExternalIdT = Aws::String>
434 template<
typename RelatedDeploymentsT = RelatedDeployments>
435 void SetRelatedDeployments(RelatedDeploymentsT&& value) { m_relatedDeploymentsHasBeenSet =
true; m_relatedDeployments = std::forward<RelatedDeploymentsT>(value); }
436 template<
typename RelatedDeploymentsT = RelatedDeployments>
444 template<
typename Overr
ideAlarmConfigurationT = AlarmConfiguration>
445 void SetOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) { m_overrideAlarmConfigurationHasBeenSet =
true; m_overrideAlarmConfiguration = std::forward<OverrideAlarmConfigurationT>(value); }
446 template<
typename Overr
ideAlarmConfigurationT = AlarmConfiguration>
452 bool m_applicationNameHasBeenSet =
false;
455 bool m_deploymentGroupNameHasBeenSet =
false;
458 bool m_deploymentConfigNameHasBeenSet =
false;
461 bool m_deploymentIdHasBeenSet =
false;
464 bool m_previousRevisionHasBeenSet =
false;
467 bool m_revisionHasBeenSet =
false;
470 bool m_statusHasBeenSet =
false;
472 ErrorInformation m_errorInformation;
473 bool m_errorInformationHasBeenSet =
false;
476 bool m_createTimeHasBeenSet =
false;
479 bool m_startTimeHasBeenSet =
false;
482 bool m_completeTimeHasBeenSet =
false;
484 DeploymentOverview m_deploymentOverview;
485 bool m_deploymentOverviewHasBeenSet =
false;
488 bool m_descriptionHasBeenSet =
false;
491 bool m_creatorHasBeenSet =
false;
493 bool m_ignoreApplicationStopFailures{
false};
494 bool m_ignoreApplicationStopFailuresHasBeenSet =
false;
496 AutoRollbackConfiguration m_autoRollbackConfiguration;
497 bool m_autoRollbackConfigurationHasBeenSet =
false;
499 bool m_updateOutdatedInstancesOnly{
false};
500 bool m_updateOutdatedInstancesOnlyHasBeenSet =
false;
502 RollbackInfo m_rollbackInfo;
503 bool m_rollbackInfoHasBeenSet =
false;
505 DeploymentStyle m_deploymentStyle;
506 bool m_deploymentStyleHasBeenSet =
false;
508 TargetInstances m_targetInstances;
509 bool m_targetInstancesHasBeenSet =
false;
511 bool m_instanceTerminationWaitTimeStarted{
false};
512 bool m_instanceTerminationWaitTimeStartedHasBeenSet =
false;
514 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
515 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
517 LoadBalancerInfo m_loadBalancerInfo;
518 bool m_loadBalancerInfoHasBeenSet =
false;
521 bool m_additionalDeploymentStatusInfoHasBeenSet =
false;
524 bool m_fileExistsBehaviorHasBeenSet =
false;
527 bool m_deploymentStatusMessagesHasBeenSet =
false;
530 bool m_computePlatformHasBeenSet =
false;
533 bool m_externalIdHasBeenSet =
false;
535 RelatedDeployments m_relatedDeployments;
536 bool m_relatedDeploymentsHasBeenSet =
false;
538 AlarmConfiguration m_overrideAlarmConfiguration;
539 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)
bool ErrorInformationHasBeenSet() const
void SetPreviousRevision(PreviousRevisionT &&value)
const DeploymentStyle & GetDeploymentStyle() const
DeploymentInfo & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
const AlarmConfiguration & GetOverrideAlarmConfiguration() const
const RelatedDeployments & GetRelatedDeployments() const
AWS_CODEDEPLOY_API DeploymentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentInfo & WithTargetInstances(TargetInstancesT &&value)
const Aws::Vector< Aws::String > & GetDeploymentStatusMessages() const
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