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/DeploymentOverview.h>
14#include <aws/codedeploy/model/DeploymentStatus.h>
15#include <aws/codedeploy/model/DeploymentStyle.h>
16#include <aws/codedeploy/model/ErrorInformation.h>
17#include <aws/codedeploy/model/FileExistsBehavior.h>
18#include <aws/codedeploy/model/LoadBalancerInfo.h>
19#include <aws/codedeploy/model/RelatedDeployments.h>
20#include <aws/codedeploy/model/RevisionLocation.h>
21#include <aws/codedeploy/model/RollbackInfo.h>
22#include <aws/codedeploy/model/TargetInstances.h>
23#include <aws/core/utils/DateTime.h>
24#include <aws/core/utils/memory/stl/AWSString.h>
25#include <aws/core/utils/memory/stl/AWSVector.h>
57 template <
typename ApplicationNameT = Aws::String>
59 m_applicationNameHasBeenSet =
true;
60 m_applicationName = std::forward<ApplicationNameT>(value);
62 template <
typename ApplicationNameT = Aws::String>
75 template <
typename DeploymentGroupNameT = Aws::String>
77 m_deploymentGroupNameHasBeenSet =
true;
78 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
80 template <
typename DeploymentGroupNameT = Aws::String>
93 template <
typename DeploymentConfigNameT = Aws::String>
95 m_deploymentConfigNameHasBeenSet =
true;
96 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
98 template <
typename DeploymentConfigNameT = Aws::String>
111 template <
typename DeploymentIdT = Aws::String>
113 m_deploymentIdHasBeenSet =
true;
114 m_deploymentId = std::forward<DeploymentIdT>(value);
116 template <
typename DeploymentIdT = Aws::String>
130 template <
typename PreviousRevisionT = RevisionLocation>
132 m_previousRevisionHasBeenSet =
true;
133 m_previousRevision = std::forward<PreviousRevisionT>(value);
135 template <
typename PreviousRevisionT = RevisionLocation>
149 template <
typename RevisionT = RevisionLocation>
151 m_revisionHasBeenSet =
true;
152 m_revision = std::forward<RevisionT>(value);
154 template <
typename RevisionT = RevisionLocation>
168 m_statusHasBeenSet =
true;
183 template <
typename ErrorInformationT = ErrorInformation>
185 m_errorInformationHasBeenSet =
true;
186 m_errorInformation = std::forward<ErrorInformationT>(value);
188 template <
typename ErrorInformationT = ErrorInformation>
201 template <
typename CreateTimeT = Aws::Utils::DateTime>
203 m_createTimeHasBeenSet =
true;
204 m_createTime = std::forward<CreateTimeT>(value);
206 template <
typename CreateTimeT = Aws::Utils::DateTime>
222 template <
typename StartTimeT = Aws::Utils::DateTime>
224 m_startTimeHasBeenSet =
true;
225 m_startTime = std::forward<StartTimeT>(value);
227 template <
typename StartTimeT = Aws::Utils::DateTime>
240 template <
typename CompleteTimeT = Aws::Utils::DateTime>
242 m_completeTimeHasBeenSet =
true;
243 m_completeTime = std::forward<CompleteTimeT>(value);
245 template <
typename CompleteTimeT = Aws::Utils::DateTime>
258 template <
typename DeploymentOverviewT = DeploymentOverview>
260 m_deploymentOverviewHasBeenSet =
true;
261 m_deploymentOverview = std::forward<DeploymentOverviewT>(value);
263 template <
typename DeploymentOverviewT = DeploymentOverview>
276 template <
typename DescriptionT = Aws::String>
278 m_descriptionHasBeenSet =
true;
279 m_description = std::forward<DescriptionT>(value);
281 template <
typename DescriptionT = Aws::String>
301 m_creatorHasBeenSet =
true;
338 m_ignoreApplicationStopFailuresHasBeenSet =
true;
339 m_ignoreApplicationStopFailures = value;
354 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
356 m_autoRollbackConfigurationHasBeenSet =
true;
357 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
359 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
374 m_updateOutdatedInstancesOnlyHasBeenSet =
true;
375 m_updateOutdatedInstancesOnly = value;
389 template <
typename RollbackInfoT = RollbackInfo>
391 m_rollbackInfoHasBeenSet =
true;
392 m_rollbackInfo = std::forward<RollbackInfoT>(value);
394 template <
typename RollbackInfoT = RollbackInfo>
408 template <
typename DeploymentStyleT = DeploymentStyle>
410 m_deploymentStyleHasBeenSet =
true;
411 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
413 template <
typename DeploymentStyleT = DeploymentStyle>
427 template <
typename TargetInstancesT = TargetInstances>
429 m_targetInstancesHasBeenSet =
true;
430 m_targetInstances = std::forward<TargetInstancesT>(value);
432 template <
typename TargetInstancesT = TargetInstances>
448 m_instanceTerminationWaitTimeStartedHasBeenSet =
true;
449 m_instanceTerminationWaitTimeStarted = value;
463 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
465 m_blueGreenDeploymentConfigurationHasBeenSet =
true;
466 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
468 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
481 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
483 m_loadBalancerInfoHasBeenSet =
true;
484 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
486 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
501 template <
typename AdditionalDeploymentStatusInfoT = Aws::String>
503 m_additionalDeploymentStatusInfoHasBeenSet =
true;
504 m_additionalDeploymentStatusInfo = std::forward<AdditionalDeploymentStatusInfoT>(value);
506 template <
typename AdditionalDeploymentStatusInfoT = Aws::String>
527 m_fileExistsBehaviorHasBeenSet =
true;
528 m_fileExistsBehavior = value;
542 template <
typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
544 m_deploymentStatusMessagesHasBeenSet =
true;
545 m_deploymentStatusMessages = std::forward<DeploymentStatusMessagesT>(value);
547 template <
typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
552 template <
typename DeploymentStatusMessagesT = Aws::String>
554 m_deploymentStatusMessagesHasBeenSet =
true;
555 m_deploymentStatusMessages.emplace_back(std::forward<DeploymentStatusMessagesT>(value));
568 m_computePlatformHasBeenSet =
true;
569 m_computePlatform = value;
584 template <
typename ExternalIdT = Aws::String>
586 m_externalIdHasBeenSet =
true;
587 m_externalId = std::forward<ExternalIdT>(value);
589 template <
typename ExternalIdT = Aws::String>
600 template <
typename RelatedDeploymentsT = RelatedDeployments>
602 m_relatedDeploymentsHasBeenSet =
true;
603 m_relatedDeployments = std::forward<RelatedDeploymentsT>(value);
605 template <
typename RelatedDeploymentsT = RelatedDeployments>
616 template <
typename Overr
ideAlarmConfigurationT = AlarmConfiguration>
618 m_overrideAlarmConfigurationHasBeenSet =
true;
619 m_overrideAlarmConfiguration = std::forward<OverrideAlarmConfigurationT>(value);
621 template <
typename Overr
ideAlarmConfigurationT = AlarmConfiguration>
642 ErrorInformation m_errorInformation;
650 DeploymentOverview m_deploymentOverview;
656 bool m_ignoreApplicationStopFailures{
false};
658 AutoRollbackConfiguration m_autoRollbackConfiguration;
660 bool m_updateOutdatedInstancesOnly{
false};
662 RollbackInfo m_rollbackInfo;
664 DeploymentStyle m_deploymentStyle;
666 TargetInstances m_targetInstances;
668 bool m_instanceTerminationWaitTimeStarted{
false};
670 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
672 LoadBalancerInfo m_loadBalancerInfo;
684 RelatedDeployments m_relatedDeployments;
686 AlarmConfiguration m_overrideAlarmConfiguration;
687 bool m_applicationNameHasBeenSet =
false;
688 bool m_deploymentGroupNameHasBeenSet =
false;
689 bool m_deploymentConfigNameHasBeenSet =
false;
690 bool m_deploymentIdHasBeenSet =
false;
691 bool m_previousRevisionHasBeenSet =
false;
692 bool m_revisionHasBeenSet =
false;
693 bool m_statusHasBeenSet =
false;
694 bool m_errorInformationHasBeenSet =
false;
695 bool m_createTimeHasBeenSet =
false;
696 bool m_startTimeHasBeenSet =
false;
697 bool m_completeTimeHasBeenSet =
false;
698 bool m_deploymentOverviewHasBeenSet =
false;
699 bool m_descriptionHasBeenSet =
false;
700 bool m_creatorHasBeenSet =
false;
701 bool m_ignoreApplicationStopFailuresHasBeenSet =
false;
702 bool m_autoRollbackConfigurationHasBeenSet =
false;
703 bool m_updateOutdatedInstancesOnlyHasBeenSet =
false;
704 bool m_rollbackInfoHasBeenSet =
false;
705 bool m_deploymentStyleHasBeenSet =
false;
706 bool m_targetInstancesHasBeenSet =
false;
707 bool m_instanceTerminationWaitTimeStartedHasBeenSet =
false;
708 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
709 bool m_loadBalancerInfoHasBeenSet =
false;
710 bool m_additionalDeploymentStatusInfoHasBeenSet =
false;
711 bool m_fileExistsBehaviorHasBeenSet =
false;
712 bool m_deploymentStatusMessagesHasBeenSet =
false;
713 bool m_computePlatformHasBeenSet =
false;
714 bool m_externalIdHasBeenSet =
false;
715 bool m_relatedDeploymentsHasBeenSet =
false;
716 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