AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/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>
26
27#include <utility>
28
29namespace Aws {
30namespace Utils {
31namespace Json {
32class JsonValue;
33class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace CodeDeploy {
37namespace Model {
38
45 public:
46 AWS_CODEDEPLOY_API DeploymentInfo() = default;
47 AWS_CODEDEPLOY_API DeploymentInfo(Aws::Utils::Json::JsonView jsonValue);
48 AWS_CODEDEPLOY_API DeploymentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
50
52
55 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
56 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
57 template <typename ApplicationNameT = Aws::String>
58 void SetApplicationName(ApplicationNameT&& value) {
59 m_applicationNameHasBeenSet = true;
60 m_applicationName = std::forward<ApplicationNameT>(value);
61 }
62 template <typename ApplicationNameT = Aws::String>
63 DeploymentInfo& WithApplicationName(ApplicationNameT&& value) {
64 SetApplicationName(std::forward<ApplicationNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDeploymentGroupName() const { return m_deploymentGroupName; }
74 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
75 template <typename DeploymentGroupNameT = Aws::String>
76 void SetDeploymentGroupName(DeploymentGroupNameT&& value) {
77 m_deploymentGroupNameHasBeenSet = true;
78 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
79 }
80 template <typename DeploymentGroupNameT = Aws::String>
81 DeploymentInfo& WithDeploymentGroupName(DeploymentGroupNameT&& value) {
82 SetDeploymentGroupName(std::forward<DeploymentGroupNameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDeploymentConfigName() const { return m_deploymentConfigName; }
92 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
93 template <typename DeploymentConfigNameT = Aws::String>
94 void SetDeploymentConfigName(DeploymentConfigNameT&& value) {
95 m_deploymentConfigNameHasBeenSet = true;
96 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
97 }
98 template <typename DeploymentConfigNameT = Aws::String>
99 DeploymentInfo& WithDeploymentConfigName(DeploymentConfigNameT&& value) {
100 SetDeploymentConfigName(std::forward<DeploymentConfigNameT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
110 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
111 template <typename DeploymentIdT = Aws::String>
112 void SetDeploymentId(DeploymentIdT&& value) {
113 m_deploymentIdHasBeenSet = true;
114 m_deploymentId = std::forward<DeploymentIdT>(value);
115 }
116 template <typename DeploymentIdT = Aws::String>
117 DeploymentInfo& WithDeploymentId(DeploymentIdT&& value) {
118 SetDeploymentId(std::forward<DeploymentIdT>(value));
119 return *this;
120 }
122
124
128 inline const RevisionLocation& GetPreviousRevision() const { return m_previousRevision; }
129 inline bool PreviousRevisionHasBeenSet() const { return m_previousRevisionHasBeenSet; }
130 template <typename PreviousRevisionT = RevisionLocation>
131 void SetPreviousRevision(PreviousRevisionT&& value) {
132 m_previousRevisionHasBeenSet = true;
133 m_previousRevision = std::forward<PreviousRevisionT>(value);
134 }
135 template <typename PreviousRevisionT = RevisionLocation>
136 DeploymentInfo& WithPreviousRevision(PreviousRevisionT&& value) {
137 SetPreviousRevision(std::forward<PreviousRevisionT>(value));
138 return *this;
139 }
141
143
147 inline const RevisionLocation& GetRevision() const { return m_revision; }
148 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
149 template <typename RevisionT = RevisionLocation>
150 void SetRevision(RevisionT&& value) {
151 m_revisionHasBeenSet = true;
152 m_revision = std::forward<RevisionT>(value);
153 }
154 template <typename RevisionT = RevisionLocation>
155 DeploymentInfo& WithRevision(RevisionT&& value) {
156 SetRevision(std::forward<RevisionT>(value));
157 return *this;
158 }
160
162
165 inline DeploymentStatus GetStatus() const { return m_status; }
166 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
167 inline void SetStatus(DeploymentStatus value) {
168 m_statusHasBeenSet = true;
169 m_status = value;
170 }
172 SetStatus(value);
173 return *this;
174 }
176
178
181 inline const ErrorInformation& GetErrorInformation() const { return m_errorInformation; }
182 inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; }
183 template <typename ErrorInformationT = ErrorInformation>
184 void SetErrorInformation(ErrorInformationT&& value) {
185 m_errorInformationHasBeenSet = true;
186 m_errorInformation = std::forward<ErrorInformationT>(value);
187 }
188 template <typename ErrorInformationT = ErrorInformation>
189 DeploymentInfo& WithErrorInformation(ErrorInformationT&& value) {
190 SetErrorInformation(std::forward<ErrorInformationT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
200 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
201 template <typename CreateTimeT = Aws::Utils::DateTime>
202 void SetCreateTime(CreateTimeT&& value) {
203 m_createTimeHasBeenSet = true;
204 m_createTime = std::forward<CreateTimeT>(value);
205 }
206 template <typename CreateTimeT = Aws::Utils::DateTime>
207 DeploymentInfo& WithCreateTime(CreateTimeT&& value) {
208 SetCreateTime(std::forward<CreateTimeT>(value));
209 return *this;
210 }
212
214
220 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
221 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
222 template <typename StartTimeT = Aws::Utils::DateTime>
223 void SetStartTime(StartTimeT&& value) {
224 m_startTimeHasBeenSet = true;
225 m_startTime = std::forward<StartTimeT>(value);
226 }
227 template <typename StartTimeT = Aws::Utils::DateTime>
228 DeploymentInfo& WithStartTime(StartTimeT&& value) {
229 SetStartTime(std::forward<StartTimeT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::Utils::DateTime& GetCompleteTime() const { return m_completeTime; }
239 inline bool CompleteTimeHasBeenSet() const { return m_completeTimeHasBeenSet; }
240 template <typename CompleteTimeT = Aws::Utils::DateTime>
241 void SetCompleteTime(CompleteTimeT&& value) {
242 m_completeTimeHasBeenSet = true;
243 m_completeTime = std::forward<CompleteTimeT>(value);
244 }
245 template <typename CompleteTimeT = Aws::Utils::DateTime>
246 DeploymentInfo& WithCompleteTime(CompleteTimeT&& value) {
247 SetCompleteTime(std::forward<CompleteTimeT>(value));
248 return *this;
249 }
251
253
256 inline const DeploymentOverview& GetDeploymentOverview() const { return m_deploymentOverview; }
257 inline bool DeploymentOverviewHasBeenSet() const { return m_deploymentOverviewHasBeenSet; }
258 template <typename DeploymentOverviewT = DeploymentOverview>
259 void SetDeploymentOverview(DeploymentOverviewT&& value) {
260 m_deploymentOverviewHasBeenSet = true;
261 m_deploymentOverview = std::forward<DeploymentOverviewT>(value);
262 }
263 template <typename DeploymentOverviewT = DeploymentOverview>
264 DeploymentInfo& WithDeploymentOverview(DeploymentOverviewT&& value) {
265 SetDeploymentOverview(std::forward<DeploymentOverviewT>(value));
266 return *this;
267 }
269
271
274 inline const Aws::String& GetDescription() const { return m_description; }
275 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
276 template <typename DescriptionT = Aws::String>
277 void SetDescription(DescriptionT&& value) {
278 m_descriptionHasBeenSet = true;
279 m_description = std::forward<DescriptionT>(value);
280 }
281 template <typename DescriptionT = Aws::String>
282 DeploymentInfo& WithDescription(DescriptionT&& value) {
283 SetDescription(std::forward<DescriptionT>(value));
284 return *this;
285 }
287
289
298 inline DeploymentCreator GetCreator() const { return m_creator; }
299 inline bool CreatorHasBeenSet() const { return m_creatorHasBeenSet; }
300 inline void SetCreator(DeploymentCreator value) {
301 m_creatorHasBeenSet = true;
302 m_creator = value;
303 }
305 SetCreator(value);
306 return *this;
307 }
309
311
335 inline bool GetIgnoreApplicationStopFailures() const { return m_ignoreApplicationStopFailures; }
336 inline bool IgnoreApplicationStopFailuresHasBeenSet() const { return m_ignoreApplicationStopFailuresHasBeenSet; }
337 inline void SetIgnoreApplicationStopFailures(bool value) {
338 m_ignoreApplicationStopFailuresHasBeenSet = true;
339 m_ignoreApplicationStopFailures = value;
340 }
343 return *this;
344 }
346
348
352 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const { return m_autoRollbackConfiguration; }
353 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
354 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
355 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
356 m_autoRollbackConfigurationHasBeenSet = true;
357 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
358 }
359 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
360 DeploymentInfo& WithAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
361 SetAutoRollbackConfiguration(std::forward<AutoRollbackConfigurationT>(value));
362 return *this;
363 }
365
367
371 inline bool GetUpdateOutdatedInstancesOnly() const { return m_updateOutdatedInstancesOnly; }
372 inline bool UpdateOutdatedInstancesOnlyHasBeenSet() const { return m_updateOutdatedInstancesOnlyHasBeenSet; }
373 inline void SetUpdateOutdatedInstancesOnly(bool value) {
374 m_updateOutdatedInstancesOnlyHasBeenSet = true;
375 m_updateOutdatedInstancesOnly = value;
376 }
379 return *this;
380 }
382
384
387 inline const RollbackInfo& GetRollbackInfo() const { return m_rollbackInfo; }
388 inline bool RollbackInfoHasBeenSet() const { return m_rollbackInfoHasBeenSet; }
389 template <typename RollbackInfoT = RollbackInfo>
390 void SetRollbackInfo(RollbackInfoT&& value) {
391 m_rollbackInfoHasBeenSet = true;
392 m_rollbackInfo = std::forward<RollbackInfoT>(value);
393 }
394 template <typename RollbackInfoT = RollbackInfo>
395 DeploymentInfo& WithRollbackInfo(RollbackInfoT&& value) {
396 SetRollbackInfo(std::forward<RollbackInfoT>(value));
397 return *this;
398 }
400
402
406 inline const DeploymentStyle& GetDeploymentStyle() const { return m_deploymentStyle; }
407 inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
408 template <typename DeploymentStyleT = DeploymentStyle>
409 void SetDeploymentStyle(DeploymentStyleT&& value) {
410 m_deploymentStyleHasBeenSet = true;
411 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
412 }
413 template <typename DeploymentStyleT = DeploymentStyle>
414 DeploymentInfo& WithDeploymentStyle(DeploymentStyleT&& value) {
415 SetDeploymentStyle(std::forward<DeploymentStyleT>(value));
416 return *this;
417 }
419
421
425 inline const TargetInstances& GetTargetInstances() const { return m_targetInstances; }
426 inline bool TargetInstancesHasBeenSet() const { return m_targetInstancesHasBeenSet; }
427 template <typename TargetInstancesT = TargetInstances>
428 void SetTargetInstances(TargetInstancesT&& value) {
429 m_targetInstancesHasBeenSet = true;
430 m_targetInstances = std::forward<TargetInstancesT>(value);
431 }
432 template <typename TargetInstancesT = TargetInstances>
433 DeploymentInfo& WithTargetInstances(TargetInstancesT&& value) {
434 SetTargetInstances(std::forward<TargetInstancesT>(value));
435 return *this;
436 }
438
440
445 inline bool GetInstanceTerminationWaitTimeStarted() const { return m_instanceTerminationWaitTimeStarted; }
446 inline bool InstanceTerminationWaitTimeStartedHasBeenSet() const { return m_instanceTerminationWaitTimeStartedHasBeenSet; }
448 m_instanceTerminationWaitTimeStartedHasBeenSet = true;
449 m_instanceTerminationWaitTimeStarted = value;
450 }
453 return *this;
454 }
456
458
461 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const { return m_blueGreenDeploymentConfiguration; }
462 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
463 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
464 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
465 m_blueGreenDeploymentConfigurationHasBeenSet = true;
466 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
467 }
468 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
469 DeploymentInfo& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
470 SetBlueGreenDeploymentConfiguration(std::forward<BlueGreenDeploymentConfigurationT>(value));
471 return *this;
472 }
474
476
479 inline const LoadBalancerInfo& GetLoadBalancerInfo() const { return m_loadBalancerInfo; }
480 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
481 template <typename LoadBalancerInfoT = LoadBalancerInfo>
482 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) {
483 m_loadBalancerInfoHasBeenSet = true;
484 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
485 }
486 template <typename LoadBalancerInfoT = LoadBalancerInfo>
487 DeploymentInfo& WithLoadBalancerInfo(LoadBalancerInfoT&& value) {
488 SetLoadBalancerInfo(std::forward<LoadBalancerInfoT>(value));
489 return *this;
490 }
492
494
499 inline const Aws::String& GetAdditionalDeploymentStatusInfo() const { return m_additionalDeploymentStatusInfo; }
500 inline bool AdditionalDeploymentStatusInfoHasBeenSet() const { return m_additionalDeploymentStatusInfoHasBeenSet; }
501 template <typename AdditionalDeploymentStatusInfoT = Aws::String>
502 void SetAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) {
503 m_additionalDeploymentStatusInfoHasBeenSet = true;
504 m_additionalDeploymentStatusInfo = std::forward<AdditionalDeploymentStatusInfoT>(value);
505 }
506 template <typename AdditionalDeploymentStatusInfoT = Aws::String>
507 DeploymentInfo& WithAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) {
508 SetAdditionalDeploymentStatusInfo(std::forward<AdditionalDeploymentStatusInfoT>(value));
509 return *this;
510 }
512
514
524 inline FileExistsBehavior GetFileExistsBehavior() const { return m_fileExistsBehavior; }
525 inline bool FileExistsBehaviorHasBeenSet() const { return m_fileExistsBehaviorHasBeenSet; }
527 m_fileExistsBehaviorHasBeenSet = true;
528 m_fileExistsBehavior = value;
529 }
532 return *this;
533 }
535
537
540 inline const Aws::Vector<Aws::String>& GetDeploymentStatusMessages() const { return m_deploymentStatusMessages; }
541 inline bool DeploymentStatusMessagesHasBeenSet() const { return m_deploymentStatusMessagesHasBeenSet; }
542 template <typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
543 void SetDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
544 m_deploymentStatusMessagesHasBeenSet = true;
545 m_deploymentStatusMessages = std::forward<DeploymentStatusMessagesT>(value);
546 }
547 template <typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
548 DeploymentInfo& WithDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
549 SetDeploymentStatusMessages(std::forward<DeploymentStatusMessagesT>(value));
550 return *this;
551 }
552 template <typename DeploymentStatusMessagesT = Aws::String>
553 DeploymentInfo& AddDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
554 m_deploymentStatusMessagesHasBeenSet = true;
555 m_deploymentStatusMessages.emplace_back(std::forward<DeploymentStatusMessagesT>(value));
556 return *this;
557 }
559
561
565 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
566 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
568 m_computePlatformHasBeenSet = true;
569 m_computePlatform = value;
570 }
572 SetComputePlatform(value);
573 return *this;
574 }
576
578
582 inline const Aws::String& GetExternalId() const { return m_externalId; }
583 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
584 template <typename ExternalIdT = Aws::String>
585 void SetExternalId(ExternalIdT&& value) {
586 m_externalIdHasBeenSet = true;
587 m_externalId = std::forward<ExternalIdT>(value);
588 }
589 template <typename ExternalIdT = Aws::String>
590 DeploymentInfo& WithExternalId(ExternalIdT&& value) {
591 SetExternalId(std::forward<ExternalIdT>(value));
592 return *this;
593 }
595
597
598 inline const RelatedDeployments& GetRelatedDeployments() const { return m_relatedDeployments; }
599 inline bool RelatedDeploymentsHasBeenSet() const { return m_relatedDeploymentsHasBeenSet; }
600 template <typename RelatedDeploymentsT = RelatedDeployments>
601 void SetRelatedDeployments(RelatedDeploymentsT&& value) {
602 m_relatedDeploymentsHasBeenSet = true;
603 m_relatedDeployments = std::forward<RelatedDeploymentsT>(value);
604 }
605 template <typename RelatedDeploymentsT = RelatedDeployments>
606 DeploymentInfo& WithRelatedDeployments(RelatedDeploymentsT&& value) {
607 SetRelatedDeployments(std::forward<RelatedDeploymentsT>(value));
608 return *this;
609 }
611
613
614 inline const AlarmConfiguration& GetOverrideAlarmConfiguration() const { return m_overrideAlarmConfiguration; }
615 inline bool OverrideAlarmConfigurationHasBeenSet() const { return m_overrideAlarmConfigurationHasBeenSet; }
616 template <typename OverrideAlarmConfigurationT = AlarmConfiguration>
617 void SetOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) {
618 m_overrideAlarmConfigurationHasBeenSet = true;
619 m_overrideAlarmConfiguration = std::forward<OverrideAlarmConfigurationT>(value);
620 }
621 template <typename OverrideAlarmConfigurationT = AlarmConfiguration>
622 DeploymentInfo& WithOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) {
623 SetOverrideAlarmConfiguration(std::forward<OverrideAlarmConfigurationT>(value));
624 return *this;
625 }
627 private:
628 Aws::String m_applicationName;
629
630 Aws::String m_deploymentGroupName;
631
632 Aws::String m_deploymentConfigName;
633
634 Aws::String m_deploymentId;
635
636 RevisionLocation m_previousRevision;
637
638 RevisionLocation m_revision;
639
641
642 ErrorInformation m_errorInformation;
643
644 Aws::Utils::DateTime m_createTime{};
645
646 Aws::Utils::DateTime m_startTime{};
647
648 Aws::Utils::DateTime m_completeTime{};
649
650 DeploymentOverview m_deploymentOverview;
651
652 Aws::String m_description;
653
655
656 bool m_ignoreApplicationStopFailures{false};
657
658 AutoRollbackConfiguration m_autoRollbackConfiguration;
659
660 bool m_updateOutdatedInstancesOnly{false};
661
662 RollbackInfo m_rollbackInfo;
663
664 DeploymentStyle m_deploymentStyle;
665
666 TargetInstances m_targetInstances;
667
668 bool m_instanceTerminationWaitTimeStarted{false};
669
670 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
671
672 LoadBalancerInfo m_loadBalancerInfo;
673
674 Aws::String m_additionalDeploymentStatusInfo;
675
677
678 Aws::Vector<Aws::String> m_deploymentStatusMessages;
679
680 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
681
682 Aws::String m_externalId;
683
684 RelatedDeployments m_relatedDeployments;
685
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;
717};
718
719} // namespace Model
720} // namespace CodeDeploy
721} // 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 & 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 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)
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)
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 & 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