AWS SDK for C++

AWS SDK for C++ Version 1.11.918

Loading...
Searching...
No Matches
DeploymentInfo.h
1
6#pragma once
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>
28
29#include <utility>
30
31namespace Aws {
32namespace Utils {
33namespace Json {
34class JsonValue;
35class JsonView;
36} // namespace Json
37} // namespace Utils
38namespace CodeDeploy {
39namespace Model {
40
47 public:
48 AWS_CODEDEPLOY_API DeploymentInfo() = default;
49 AWS_CODEDEPLOY_API DeploymentInfo(Aws::Utils::Json::JsonView jsonValue);
50 AWS_CODEDEPLOY_API DeploymentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
52
54
57 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
58 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
59 template <typename ApplicationNameT = Aws::String>
60 void SetApplicationName(ApplicationNameT&& value) {
61 m_applicationNameHasBeenSet = true;
62 m_applicationName = std::forward<ApplicationNameT>(value);
63 }
64 template <typename ApplicationNameT = Aws::String>
65 DeploymentInfo& WithApplicationName(ApplicationNameT&& value) {
66 SetApplicationName(std::forward<ApplicationNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDeploymentGroupName() const { return m_deploymentGroupName; }
76 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
77 template <typename DeploymentGroupNameT = Aws::String>
78 void SetDeploymentGroupName(DeploymentGroupNameT&& value) {
79 m_deploymentGroupNameHasBeenSet = true;
80 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
81 }
82 template <typename DeploymentGroupNameT = Aws::String>
83 DeploymentInfo& WithDeploymentGroupName(DeploymentGroupNameT&& value) {
84 SetDeploymentGroupName(std::forward<DeploymentGroupNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDeploymentConfigName() const { return m_deploymentConfigName; }
94 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
95 template <typename DeploymentConfigNameT = Aws::String>
96 void SetDeploymentConfigName(DeploymentConfigNameT&& value) {
97 m_deploymentConfigNameHasBeenSet = true;
98 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
99 }
100 template <typename DeploymentConfigNameT = Aws::String>
101 DeploymentInfo& WithDeploymentConfigName(DeploymentConfigNameT&& value) {
102 SetDeploymentConfigName(std::forward<DeploymentConfigNameT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
112 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
113 template <typename DeploymentIdT = Aws::String>
114 void SetDeploymentId(DeploymentIdT&& value) {
115 m_deploymentIdHasBeenSet = true;
116 m_deploymentId = std::forward<DeploymentIdT>(value);
117 }
118 template <typename DeploymentIdT = Aws::String>
119 DeploymentInfo& WithDeploymentId(DeploymentIdT&& value) {
120 SetDeploymentId(std::forward<DeploymentIdT>(value));
121 return *this;
122 }
124
126
130 inline const RevisionLocation& GetPreviousRevision() const { return m_previousRevision; }
131 inline bool PreviousRevisionHasBeenSet() const { return m_previousRevisionHasBeenSet; }
132 template <typename PreviousRevisionT = RevisionLocation>
133 void SetPreviousRevision(PreviousRevisionT&& value) {
134 m_previousRevisionHasBeenSet = true;
135 m_previousRevision = std::forward<PreviousRevisionT>(value);
136 }
137 template <typename PreviousRevisionT = RevisionLocation>
138 DeploymentInfo& WithPreviousRevision(PreviousRevisionT&& value) {
139 SetPreviousRevision(std::forward<PreviousRevisionT>(value));
140 return *this;
141 }
143
145
149 inline const RevisionLocation& GetRevision() const { return m_revision; }
150 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
151 template <typename RevisionT = RevisionLocation>
152 void SetRevision(RevisionT&& value) {
153 m_revisionHasBeenSet = true;
154 m_revision = std::forward<RevisionT>(value);
155 }
156 template <typename RevisionT = RevisionLocation>
157 DeploymentInfo& WithRevision(RevisionT&& value) {
158 SetRevision(std::forward<RevisionT>(value));
159 return *this;
160 }
162
164
167 inline DeploymentStatus GetStatus() const { return m_status; }
168 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
169 inline void SetStatus(DeploymentStatus value) {
170 m_statusHasBeenSet = true;
171 m_status = value;
172 }
174 SetStatus(value);
175 return *this;
176 }
178
180
183 inline const ErrorInformation& GetErrorInformation() const { return m_errorInformation; }
184 inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; }
185 template <typename ErrorInformationT = ErrorInformation>
186 void SetErrorInformation(ErrorInformationT&& value) {
187 m_errorInformationHasBeenSet = true;
188 m_errorInformation = std::forward<ErrorInformationT>(value);
189 }
190 template <typename ErrorInformationT = ErrorInformation>
191 DeploymentInfo& WithErrorInformation(ErrorInformationT&& value) {
192 SetErrorInformation(std::forward<ErrorInformationT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
202 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
203 template <typename CreateTimeT = Aws::Utils::DateTime>
204 void SetCreateTime(CreateTimeT&& value) {
205 m_createTimeHasBeenSet = true;
206 m_createTime = std::forward<CreateTimeT>(value);
207 }
208 template <typename CreateTimeT = Aws::Utils::DateTime>
209 DeploymentInfo& WithCreateTime(CreateTimeT&& value) {
210 SetCreateTime(std::forward<CreateTimeT>(value));
211 return *this;
212 }
214
216
222 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
223 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
224 template <typename StartTimeT = Aws::Utils::DateTime>
225 void SetStartTime(StartTimeT&& value) {
226 m_startTimeHasBeenSet = true;
227 m_startTime = std::forward<StartTimeT>(value);
228 }
229 template <typename StartTimeT = Aws::Utils::DateTime>
230 DeploymentInfo& WithStartTime(StartTimeT&& value) {
231 SetStartTime(std::forward<StartTimeT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::Utils::DateTime& GetCompleteTime() const { return m_completeTime; }
241 inline bool CompleteTimeHasBeenSet() const { return m_completeTimeHasBeenSet; }
242 template <typename CompleteTimeT = Aws::Utils::DateTime>
243 void SetCompleteTime(CompleteTimeT&& value) {
244 m_completeTimeHasBeenSet = true;
245 m_completeTime = std::forward<CompleteTimeT>(value);
246 }
247 template <typename CompleteTimeT = Aws::Utils::DateTime>
248 DeploymentInfo& WithCompleteTime(CompleteTimeT&& value) {
249 SetCompleteTime(std::forward<CompleteTimeT>(value));
250 return *this;
251 }
253
255
258 inline const DeploymentOverview& GetDeploymentOverview() const { return m_deploymentOverview; }
259 inline bool DeploymentOverviewHasBeenSet() const { return m_deploymentOverviewHasBeenSet; }
260 template <typename DeploymentOverviewT = DeploymentOverview>
261 void SetDeploymentOverview(DeploymentOverviewT&& value) {
262 m_deploymentOverviewHasBeenSet = true;
263 m_deploymentOverview = std::forward<DeploymentOverviewT>(value);
264 }
265 template <typename DeploymentOverviewT = DeploymentOverview>
266 DeploymentInfo& WithDeploymentOverview(DeploymentOverviewT&& value) {
267 SetDeploymentOverview(std::forward<DeploymentOverviewT>(value));
268 return *this;
269 }
271
273
276 inline const Aws::String& GetDescription() const { return m_description; }
277 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
278 template <typename DescriptionT = Aws::String>
279 void SetDescription(DescriptionT&& value) {
280 m_descriptionHasBeenSet = true;
281 m_description = std::forward<DescriptionT>(value);
282 }
283 template <typename DescriptionT = Aws::String>
284 DeploymentInfo& WithDescription(DescriptionT&& value) {
285 SetDescription(std::forward<DescriptionT>(value));
286 return *this;
287 }
289
291
300 inline DeploymentCreator GetCreator() const { return m_creator; }
301 inline bool CreatorHasBeenSet() const { return m_creatorHasBeenSet; }
302 inline void SetCreator(DeploymentCreator value) {
303 m_creatorHasBeenSet = true;
304 m_creator = value;
305 }
307 SetCreator(value);
308 return *this;
309 }
311
313
337 inline bool GetIgnoreApplicationStopFailures() const { return m_ignoreApplicationStopFailures; }
338 inline bool IgnoreApplicationStopFailuresHasBeenSet() const { return m_ignoreApplicationStopFailuresHasBeenSet; }
339 inline void SetIgnoreApplicationStopFailures(bool value) {
340 m_ignoreApplicationStopFailuresHasBeenSet = true;
341 m_ignoreApplicationStopFailures = value;
342 }
345 return *this;
346 }
348
350
354 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const { return m_autoRollbackConfiguration; }
355 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
356 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
357 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
358 m_autoRollbackConfigurationHasBeenSet = true;
359 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
360 }
361 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
362 DeploymentInfo& WithAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
363 SetAutoRollbackConfiguration(std::forward<AutoRollbackConfigurationT>(value));
364 return *this;
365 }
367
369
373 inline bool GetUpdateOutdatedInstancesOnly() const { return m_updateOutdatedInstancesOnly; }
374 inline bool UpdateOutdatedInstancesOnlyHasBeenSet() const { return m_updateOutdatedInstancesOnlyHasBeenSet; }
375 inline void SetUpdateOutdatedInstancesOnly(bool value) {
376 m_updateOutdatedInstancesOnlyHasBeenSet = true;
377 m_updateOutdatedInstancesOnly = value;
378 }
381 return *this;
382 }
384
386
389 inline const RollbackInfo& GetRollbackInfo() const { return m_rollbackInfo; }
390 inline bool RollbackInfoHasBeenSet() const { return m_rollbackInfoHasBeenSet; }
391 template <typename RollbackInfoT = RollbackInfo>
392 void SetRollbackInfo(RollbackInfoT&& value) {
393 m_rollbackInfoHasBeenSet = true;
394 m_rollbackInfo = std::forward<RollbackInfoT>(value);
395 }
396 template <typename RollbackInfoT = RollbackInfo>
397 DeploymentInfo& WithRollbackInfo(RollbackInfoT&& value) {
398 SetRollbackInfo(std::forward<RollbackInfoT>(value));
399 return *this;
400 }
402
404
408 inline const DeploymentStyle& GetDeploymentStyle() const { return m_deploymentStyle; }
409 inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
410 template <typename DeploymentStyleT = DeploymentStyle>
411 void SetDeploymentStyle(DeploymentStyleT&& value) {
412 m_deploymentStyleHasBeenSet = true;
413 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
414 }
415 template <typename DeploymentStyleT = DeploymentStyle>
416 DeploymentInfo& WithDeploymentStyle(DeploymentStyleT&& value) {
417 SetDeploymentStyle(std::forward<DeploymentStyleT>(value));
418 return *this;
419 }
421
423
427 inline const TargetInstances& GetTargetInstances() const { return m_targetInstances; }
428 inline bool TargetInstancesHasBeenSet() const { return m_targetInstancesHasBeenSet; }
429 template <typename TargetInstancesT = TargetInstances>
430 void SetTargetInstances(TargetInstancesT&& value) {
431 m_targetInstancesHasBeenSet = true;
432 m_targetInstances = std::forward<TargetInstancesT>(value);
433 }
434 template <typename TargetInstancesT = TargetInstances>
435 DeploymentInfo& WithTargetInstances(TargetInstancesT&& value) {
436 SetTargetInstances(std::forward<TargetInstancesT>(value));
437 return *this;
438 }
440
442
447 inline bool GetInstanceTerminationWaitTimeStarted() const { return m_instanceTerminationWaitTimeStarted; }
448 inline bool InstanceTerminationWaitTimeStartedHasBeenSet() const { return m_instanceTerminationWaitTimeStartedHasBeenSet; }
450 m_instanceTerminationWaitTimeStartedHasBeenSet = true;
451 m_instanceTerminationWaitTimeStarted = value;
452 }
455 return *this;
456 }
458
460
463 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const { return m_blueGreenDeploymentConfiguration; }
464 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
465 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
466 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
467 m_blueGreenDeploymentConfigurationHasBeenSet = true;
468 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
469 }
470 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
471 DeploymentInfo& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
472 SetBlueGreenDeploymentConfiguration(std::forward<BlueGreenDeploymentConfigurationT>(value));
473 return *this;
474 }
476
478
481 inline const LoadBalancerInfo& GetLoadBalancerInfo() const { return m_loadBalancerInfo; }
482 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
483 template <typename LoadBalancerInfoT = LoadBalancerInfo>
484 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) {
485 m_loadBalancerInfoHasBeenSet = true;
486 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
487 }
488 template <typename LoadBalancerInfoT = LoadBalancerInfo>
489 DeploymentInfo& WithLoadBalancerInfo(LoadBalancerInfoT&& value) {
490 SetLoadBalancerInfo(std::forward<LoadBalancerInfoT>(value));
491 return *this;
492 }
494
496
501 inline const Aws::String& GetAdditionalDeploymentStatusInfo() const { return m_additionalDeploymentStatusInfo; }
502 inline bool AdditionalDeploymentStatusInfoHasBeenSet() const { return m_additionalDeploymentStatusInfoHasBeenSet; }
503 template <typename AdditionalDeploymentStatusInfoT = Aws::String>
504 void SetAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) {
505 m_additionalDeploymentStatusInfoHasBeenSet = true;
506 m_additionalDeploymentStatusInfo = std::forward<AdditionalDeploymentStatusInfoT>(value);
507 }
508 template <typename AdditionalDeploymentStatusInfoT = Aws::String>
509 DeploymentInfo& WithAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) {
510 SetAdditionalDeploymentStatusInfo(std::forward<AdditionalDeploymentStatusInfoT>(value));
511 return *this;
512 }
514
516
526 inline FileExistsBehavior GetFileExistsBehavior() const { return m_fileExistsBehavior; }
527 inline bool FileExistsBehaviorHasBeenSet() const { return m_fileExistsBehaviorHasBeenSet; }
529 m_fileExistsBehaviorHasBeenSet = true;
530 m_fileExistsBehavior = value;
531 }
534 return *this;
535 }
537
539
550 inline DeploymentMode GetDeploymentMode() const { return m_deploymentMode; }
551 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
553 m_deploymentModeHasBeenSet = true;
554 m_deploymentMode = value;
555 }
557 SetDeploymentMode(value);
558 return *this;
559 }
561
563
566 inline const Aws::Vector<Aws::String>& GetDeploymentStatusMessages() const { return m_deploymentStatusMessages; }
567 inline bool DeploymentStatusMessagesHasBeenSet() const { return m_deploymentStatusMessagesHasBeenSet; }
568 template <typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
569 void SetDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
570 m_deploymentStatusMessagesHasBeenSet = true;
571 m_deploymentStatusMessages = std::forward<DeploymentStatusMessagesT>(value);
572 }
573 template <typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
574 DeploymentInfo& WithDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
575 SetDeploymentStatusMessages(std::forward<DeploymentStatusMessagesT>(value));
576 return *this;
577 }
578 template <typename DeploymentStatusMessagesT = Aws::String>
579 DeploymentInfo& AddDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
580 m_deploymentStatusMessagesHasBeenSet = true;
581 m_deploymentStatusMessages.emplace_back(std::forward<DeploymentStatusMessagesT>(value));
582 return *this;
583 }
585
587
591 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
592 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
594 m_computePlatformHasBeenSet = true;
595 m_computePlatform = value;
596 }
598 SetComputePlatform(value);
599 return *this;
600 }
602
604
608 inline const Aws::String& GetExternalId() const { return m_externalId; }
609 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
610 template <typename ExternalIdT = Aws::String>
611 void SetExternalId(ExternalIdT&& value) {
612 m_externalIdHasBeenSet = true;
613 m_externalId = std::forward<ExternalIdT>(value);
614 }
615 template <typename ExternalIdT = Aws::String>
616 DeploymentInfo& WithExternalId(ExternalIdT&& value) {
617 SetExternalId(std::forward<ExternalIdT>(value));
618 return *this;
619 }
621
623
624 inline const RelatedDeployments& GetRelatedDeployments() const { return m_relatedDeployments; }
625 inline bool RelatedDeploymentsHasBeenSet() const { return m_relatedDeploymentsHasBeenSet; }
626 template <typename RelatedDeploymentsT = RelatedDeployments>
627 void SetRelatedDeployments(RelatedDeploymentsT&& value) {
628 m_relatedDeploymentsHasBeenSet = true;
629 m_relatedDeployments = std::forward<RelatedDeploymentsT>(value);
630 }
631 template <typename RelatedDeploymentsT = RelatedDeployments>
632 DeploymentInfo& WithRelatedDeployments(RelatedDeploymentsT&& value) {
633 SetRelatedDeployments(std::forward<RelatedDeploymentsT>(value));
634 return *this;
635 }
637
639
640 inline const AlarmConfiguration& GetOverrideAlarmConfiguration() const { return m_overrideAlarmConfiguration; }
641 inline bool OverrideAlarmConfigurationHasBeenSet() const { return m_overrideAlarmConfigurationHasBeenSet; }
642 template <typename OverrideAlarmConfigurationT = AlarmConfiguration>
643 void SetOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) {
644 m_overrideAlarmConfigurationHasBeenSet = true;
645 m_overrideAlarmConfiguration = std::forward<OverrideAlarmConfigurationT>(value);
646 }
647 template <typename OverrideAlarmConfigurationT = AlarmConfiguration>
648 DeploymentInfo& WithOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) {
649 SetOverrideAlarmConfiguration(std::forward<OverrideAlarmConfigurationT>(value));
650 return *this;
651 }
653
655
656 inline const EC2DeploymentOptions& GetEc2DeploymentOptions() const { return m_ec2DeploymentOptions; }
657 inline bool Ec2DeploymentOptionsHasBeenSet() const { return m_ec2DeploymentOptionsHasBeenSet; }
658 template <typename Ec2DeploymentOptionsT = EC2DeploymentOptions>
659 void SetEc2DeploymentOptions(Ec2DeploymentOptionsT&& value) {
660 m_ec2DeploymentOptionsHasBeenSet = true;
661 m_ec2DeploymentOptions = std::forward<Ec2DeploymentOptionsT>(value);
662 }
663 template <typename Ec2DeploymentOptionsT = EC2DeploymentOptions>
664 DeploymentInfo& WithEc2DeploymentOptions(Ec2DeploymentOptionsT&& value) {
665 SetEc2DeploymentOptions(std::forward<Ec2DeploymentOptionsT>(value));
666 return *this;
667 }
669 private:
670 Aws::String m_applicationName;
671
672 Aws::String m_deploymentGroupName;
673
674 Aws::String m_deploymentConfigName;
675
676 Aws::String m_deploymentId;
677
678 RevisionLocation m_previousRevision;
679
680 RevisionLocation m_revision;
681
683
684 ErrorInformation m_errorInformation;
685
686 Aws::Utils::DateTime m_createTime{};
687
688 Aws::Utils::DateTime m_startTime{};
689
690 Aws::Utils::DateTime m_completeTime{};
691
692 DeploymentOverview m_deploymentOverview;
693
694 Aws::String m_description;
695
697
698 bool m_ignoreApplicationStopFailures{false};
699
700 AutoRollbackConfiguration m_autoRollbackConfiguration;
701
702 bool m_updateOutdatedInstancesOnly{false};
703
704 RollbackInfo m_rollbackInfo;
705
706 DeploymentStyle m_deploymentStyle;
707
708 TargetInstances m_targetInstances;
709
710 bool m_instanceTerminationWaitTimeStarted{false};
711
712 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
713
714 LoadBalancerInfo m_loadBalancerInfo;
715
716 Aws::String m_additionalDeploymentStatusInfo;
717
719
720 DeploymentMode m_deploymentMode{DeploymentMode::NOT_SET};
721
722 Aws::Vector<Aws::String> m_deploymentStatusMessages;
723
724 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
725
726 Aws::String m_externalId;
727
728 RelatedDeployments m_relatedDeployments;
729
730 AlarmConfiguration m_overrideAlarmConfiguration;
731
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;
765};
766
767} // namespace Model
768} // namespace CodeDeploy
769} // namespace Aws
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)
DeploymentInfo & WithDeploymentGroupName(DeploymentGroupNameT &&value)
DeploymentInfo & WithEc2DeploymentOptions(Ec2DeploymentOptionsT &&value)
DeploymentInfo & WithCreator(DeploymentCreator value)
const Aws::String & GetApplicationName() const
const LoadBalancerInfo & GetLoadBalancerInfo() const
DeploymentInfo & WithRollbackInfo(RollbackInfoT &&value)
ComputePlatform GetComputePlatform() const
void SetStartTime(StartTimeT &&value)
DeploymentInfo & WithDeploymentId(DeploymentIdT &&value)
const Aws::String & GetDeploymentId() const
DeploymentInfo & WithCompleteTime(CompleteTimeT &&value)
const Aws::String & GetDescription() const
DeploymentInfo & WithFileExistsBehavior(FileExistsBehavior value)
const Aws::String & GetDeploymentConfigName() const
DeploymentInfo & WithOverrideAlarmConfiguration(OverrideAlarmConfigurationT &&value)
const TargetInstances & GetTargetInstances() const
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
void SetStatus(DeploymentStatus value)
DeploymentInfo & WithRevision(RevisionT &&value)
AWS_CODEDEPLOY_API DeploymentInfo(Aws::Utils::Json::JsonView jsonValue)
void SetDeploymentId(DeploymentIdT &&value)
FileExistsBehavior GetFileExistsBehavior() const
void SetDeploymentConfigName(DeploymentConfigNameT &&value)
DeploymentInfo & WithErrorInformation(ErrorInformationT &&value)
void SetCreator(DeploymentCreator value)
DeploymentInfo & WithAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT &&value)
DeploymentCreator GetCreator() const
DeploymentInfo & WithDeploymentConfigName(DeploymentConfigNameT &&value)
const Aws::String & GetAdditionalDeploymentStatusInfo() const
const Aws::String & GetDeploymentGroupName() 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)
const Aws::String & GetExternalId() const
void SetApplicationName(ApplicationNameT &&value)
const DeploymentOverview & GetDeploymentOverview() const
const RevisionLocation & GetRevision() const
DeploymentInfo & WithDeploymentOverview(DeploymentOverviewT &&value)
DeploymentInfo & WithExternalId(ExternalIdT &&value)
const ErrorInformation & GetErrorInformation() const
void SetDeploymentStyle(DeploymentStyleT &&value)
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)
void SetComputePlatform(ComputePlatform value)
void SetExternalId(ExternalIdT &&value)
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
DeploymentInfo & WithLoadBalancerInfo(LoadBalancerInfoT &&value)
DeploymentInfo & WithUpdateOutdatedInstancesOnly(bool value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetDeploymentOverview(DeploymentOverviewT &&value)
void SetCreateTime(CreateTimeT &&value)
const EC2DeploymentOptions & GetEc2DeploymentOptions() const
void SetInstanceTerminationWaitTimeStarted(bool value)
DeploymentInfo & WithIgnoreApplicationStopFailures(bool value)
DeploymentInfo & WithDeploymentStyle(DeploymentStyleT &&value)
void SetAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT &&value)
AWS_CODEDEPLOY_API DeploymentInfo()=default
DeploymentInfo & WithStartTime(StartTimeT &&value)
DeploymentInfo & WithInstanceTerminationWaitTimeStarted(bool value)
void SetPreviousRevision(PreviousRevisionT &&value)
const DeploymentStyle & GetDeploymentStyle() const
DeploymentInfo & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
void SetDeploymentMode(DeploymentMode 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
DeploymentInfo & WithDeploymentMode(DeploymentMode value)
DeploymentInfo & WithCreateTime(CreateTimeT &&value)
void SetRelatedDeployments(RelatedDeploymentsT &&value)
void SetLoadBalancerInfo(LoadBalancerInfoT &&value)
void SetTargetInstances(TargetInstancesT &&value)
const RevisionLocation & GetPreviousRevision() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() 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