AWS SDK for C++

AWS SDK for C++ Version 1.11.904

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/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>
27
28#include <utility>
29
30namespace Aws {
31namespace Utils {
32namespace Json {
33class JsonValue;
34class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace CodeDeploy {
38namespace Model {
39
46 public:
47 AWS_CODEDEPLOY_API DeploymentInfo() = default;
48 AWS_CODEDEPLOY_API DeploymentInfo(Aws::Utils::Json::JsonView jsonValue);
49 AWS_CODEDEPLOY_API DeploymentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
51
53
56 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
57 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
58 template <typename ApplicationNameT = Aws::String>
59 void SetApplicationName(ApplicationNameT&& value) {
60 m_applicationNameHasBeenSet = true;
61 m_applicationName = std::forward<ApplicationNameT>(value);
62 }
63 template <typename ApplicationNameT = Aws::String>
64 DeploymentInfo& WithApplicationName(ApplicationNameT&& value) {
65 SetApplicationName(std::forward<ApplicationNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDeploymentGroupName() const { return m_deploymentGroupName; }
75 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
76 template <typename DeploymentGroupNameT = Aws::String>
77 void SetDeploymentGroupName(DeploymentGroupNameT&& value) {
78 m_deploymentGroupNameHasBeenSet = true;
79 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
80 }
81 template <typename DeploymentGroupNameT = Aws::String>
82 DeploymentInfo& WithDeploymentGroupName(DeploymentGroupNameT&& value) {
83 SetDeploymentGroupName(std::forward<DeploymentGroupNameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDeploymentConfigName() const { return m_deploymentConfigName; }
93 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
94 template <typename DeploymentConfigNameT = Aws::String>
95 void SetDeploymentConfigName(DeploymentConfigNameT&& value) {
96 m_deploymentConfigNameHasBeenSet = true;
97 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
98 }
99 template <typename DeploymentConfigNameT = Aws::String>
100 DeploymentInfo& WithDeploymentConfigName(DeploymentConfigNameT&& value) {
101 SetDeploymentConfigName(std::forward<DeploymentConfigNameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
111 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
112 template <typename DeploymentIdT = Aws::String>
113 void SetDeploymentId(DeploymentIdT&& value) {
114 m_deploymentIdHasBeenSet = true;
115 m_deploymentId = std::forward<DeploymentIdT>(value);
116 }
117 template <typename DeploymentIdT = Aws::String>
118 DeploymentInfo& WithDeploymentId(DeploymentIdT&& value) {
119 SetDeploymentId(std::forward<DeploymentIdT>(value));
120 return *this;
121 }
123
125
129 inline const RevisionLocation& GetPreviousRevision() const { return m_previousRevision; }
130 inline bool PreviousRevisionHasBeenSet() const { return m_previousRevisionHasBeenSet; }
131 template <typename PreviousRevisionT = RevisionLocation>
132 void SetPreviousRevision(PreviousRevisionT&& value) {
133 m_previousRevisionHasBeenSet = true;
134 m_previousRevision = std::forward<PreviousRevisionT>(value);
135 }
136 template <typename PreviousRevisionT = RevisionLocation>
137 DeploymentInfo& WithPreviousRevision(PreviousRevisionT&& value) {
138 SetPreviousRevision(std::forward<PreviousRevisionT>(value));
139 return *this;
140 }
142
144
148 inline const RevisionLocation& GetRevision() const { return m_revision; }
149 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
150 template <typename RevisionT = RevisionLocation>
151 void SetRevision(RevisionT&& value) {
152 m_revisionHasBeenSet = true;
153 m_revision = std::forward<RevisionT>(value);
154 }
155 template <typename RevisionT = RevisionLocation>
156 DeploymentInfo& WithRevision(RevisionT&& value) {
157 SetRevision(std::forward<RevisionT>(value));
158 return *this;
159 }
161
163
166 inline DeploymentStatus GetStatus() const { return m_status; }
167 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
168 inline void SetStatus(DeploymentStatus value) {
169 m_statusHasBeenSet = true;
170 m_status = value;
171 }
173 SetStatus(value);
174 return *this;
175 }
177
179
182 inline const ErrorInformation& GetErrorInformation() const { return m_errorInformation; }
183 inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; }
184 template <typename ErrorInformationT = ErrorInformation>
185 void SetErrorInformation(ErrorInformationT&& value) {
186 m_errorInformationHasBeenSet = true;
187 m_errorInformation = std::forward<ErrorInformationT>(value);
188 }
189 template <typename ErrorInformationT = ErrorInformation>
190 DeploymentInfo& WithErrorInformation(ErrorInformationT&& value) {
191 SetErrorInformation(std::forward<ErrorInformationT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
201 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
202 template <typename CreateTimeT = Aws::Utils::DateTime>
203 void SetCreateTime(CreateTimeT&& value) {
204 m_createTimeHasBeenSet = true;
205 m_createTime = std::forward<CreateTimeT>(value);
206 }
207 template <typename CreateTimeT = Aws::Utils::DateTime>
208 DeploymentInfo& WithCreateTime(CreateTimeT&& value) {
209 SetCreateTime(std::forward<CreateTimeT>(value));
210 return *this;
211 }
213
215
221 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
222 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
223 template <typename StartTimeT = Aws::Utils::DateTime>
224 void SetStartTime(StartTimeT&& value) {
225 m_startTimeHasBeenSet = true;
226 m_startTime = std::forward<StartTimeT>(value);
227 }
228 template <typename StartTimeT = Aws::Utils::DateTime>
229 DeploymentInfo& WithStartTime(StartTimeT&& value) {
230 SetStartTime(std::forward<StartTimeT>(value));
231 return *this;
232 }
234
236
239 inline const Aws::Utils::DateTime& GetCompleteTime() const { return m_completeTime; }
240 inline bool CompleteTimeHasBeenSet() const { return m_completeTimeHasBeenSet; }
241 template <typename CompleteTimeT = Aws::Utils::DateTime>
242 void SetCompleteTime(CompleteTimeT&& value) {
243 m_completeTimeHasBeenSet = true;
244 m_completeTime = std::forward<CompleteTimeT>(value);
245 }
246 template <typename CompleteTimeT = Aws::Utils::DateTime>
247 DeploymentInfo& WithCompleteTime(CompleteTimeT&& value) {
248 SetCompleteTime(std::forward<CompleteTimeT>(value));
249 return *this;
250 }
252
254
257 inline const DeploymentOverview& GetDeploymentOverview() const { return m_deploymentOverview; }
258 inline bool DeploymentOverviewHasBeenSet() const { return m_deploymentOverviewHasBeenSet; }
259 template <typename DeploymentOverviewT = DeploymentOverview>
260 void SetDeploymentOverview(DeploymentOverviewT&& value) {
261 m_deploymentOverviewHasBeenSet = true;
262 m_deploymentOverview = std::forward<DeploymentOverviewT>(value);
263 }
264 template <typename DeploymentOverviewT = DeploymentOverview>
265 DeploymentInfo& WithDeploymentOverview(DeploymentOverviewT&& value) {
266 SetDeploymentOverview(std::forward<DeploymentOverviewT>(value));
267 return *this;
268 }
270
272
275 inline const Aws::String& GetDescription() const { return m_description; }
276 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
277 template <typename DescriptionT = Aws::String>
278 void SetDescription(DescriptionT&& value) {
279 m_descriptionHasBeenSet = true;
280 m_description = std::forward<DescriptionT>(value);
281 }
282 template <typename DescriptionT = Aws::String>
283 DeploymentInfo& WithDescription(DescriptionT&& value) {
284 SetDescription(std::forward<DescriptionT>(value));
285 return *this;
286 }
288
290
299 inline DeploymentCreator GetCreator() const { return m_creator; }
300 inline bool CreatorHasBeenSet() const { return m_creatorHasBeenSet; }
301 inline void SetCreator(DeploymentCreator value) {
302 m_creatorHasBeenSet = true;
303 m_creator = value;
304 }
306 SetCreator(value);
307 return *this;
308 }
310
312
336 inline bool GetIgnoreApplicationStopFailures() const { return m_ignoreApplicationStopFailures; }
337 inline bool IgnoreApplicationStopFailuresHasBeenSet() const { return m_ignoreApplicationStopFailuresHasBeenSet; }
338 inline void SetIgnoreApplicationStopFailures(bool value) {
339 m_ignoreApplicationStopFailuresHasBeenSet = true;
340 m_ignoreApplicationStopFailures = value;
341 }
344 return *this;
345 }
347
349
353 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const { return m_autoRollbackConfiguration; }
354 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
355 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
356 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
357 m_autoRollbackConfigurationHasBeenSet = true;
358 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
359 }
360 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
361 DeploymentInfo& WithAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
362 SetAutoRollbackConfiguration(std::forward<AutoRollbackConfigurationT>(value));
363 return *this;
364 }
366
368
372 inline bool GetUpdateOutdatedInstancesOnly() const { return m_updateOutdatedInstancesOnly; }
373 inline bool UpdateOutdatedInstancesOnlyHasBeenSet() const { return m_updateOutdatedInstancesOnlyHasBeenSet; }
374 inline void SetUpdateOutdatedInstancesOnly(bool value) {
375 m_updateOutdatedInstancesOnlyHasBeenSet = true;
376 m_updateOutdatedInstancesOnly = value;
377 }
380 return *this;
381 }
383
385
388 inline const RollbackInfo& GetRollbackInfo() const { return m_rollbackInfo; }
389 inline bool RollbackInfoHasBeenSet() const { return m_rollbackInfoHasBeenSet; }
390 template <typename RollbackInfoT = RollbackInfo>
391 void SetRollbackInfo(RollbackInfoT&& value) {
392 m_rollbackInfoHasBeenSet = true;
393 m_rollbackInfo = std::forward<RollbackInfoT>(value);
394 }
395 template <typename RollbackInfoT = RollbackInfo>
396 DeploymentInfo& WithRollbackInfo(RollbackInfoT&& value) {
397 SetRollbackInfo(std::forward<RollbackInfoT>(value));
398 return *this;
399 }
401
403
407 inline const DeploymentStyle& GetDeploymentStyle() const { return m_deploymentStyle; }
408 inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
409 template <typename DeploymentStyleT = DeploymentStyle>
410 void SetDeploymentStyle(DeploymentStyleT&& value) {
411 m_deploymentStyleHasBeenSet = true;
412 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
413 }
414 template <typename DeploymentStyleT = DeploymentStyle>
415 DeploymentInfo& WithDeploymentStyle(DeploymentStyleT&& value) {
416 SetDeploymentStyle(std::forward<DeploymentStyleT>(value));
417 return *this;
418 }
420
422
426 inline const TargetInstances& GetTargetInstances() const { return m_targetInstances; }
427 inline bool TargetInstancesHasBeenSet() const { return m_targetInstancesHasBeenSet; }
428 template <typename TargetInstancesT = TargetInstances>
429 void SetTargetInstances(TargetInstancesT&& value) {
430 m_targetInstancesHasBeenSet = true;
431 m_targetInstances = std::forward<TargetInstancesT>(value);
432 }
433 template <typename TargetInstancesT = TargetInstances>
434 DeploymentInfo& WithTargetInstances(TargetInstancesT&& value) {
435 SetTargetInstances(std::forward<TargetInstancesT>(value));
436 return *this;
437 }
439
441
446 inline bool GetInstanceTerminationWaitTimeStarted() const { return m_instanceTerminationWaitTimeStarted; }
447 inline bool InstanceTerminationWaitTimeStartedHasBeenSet() const { return m_instanceTerminationWaitTimeStartedHasBeenSet; }
449 m_instanceTerminationWaitTimeStartedHasBeenSet = true;
450 m_instanceTerminationWaitTimeStarted = value;
451 }
454 return *this;
455 }
457
459
462 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const { return m_blueGreenDeploymentConfiguration; }
463 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
464 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
465 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
466 m_blueGreenDeploymentConfigurationHasBeenSet = true;
467 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
468 }
469 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
470 DeploymentInfo& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
471 SetBlueGreenDeploymentConfiguration(std::forward<BlueGreenDeploymentConfigurationT>(value));
472 return *this;
473 }
475
477
480 inline const LoadBalancerInfo& GetLoadBalancerInfo() const { return m_loadBalancerInfo; }
481 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
482 template <typename LoadBalancerInfoT = LoadBalancerInfo>
483 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) {
484 m_loadBalancerInfoHasBeenSet = true;
485 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
486 }
487 template <typename LoadBalancerInfoT = LoadBalancerInfo>
488 DeploymentInfo& WithLoadBalancerInfo(LoadBalancerInfoT&& value) {
489 SetLoadBalancerInfo(std::forward<LoadBalancerInfoT>(value));
490 return *this;
491 }
493
495
500 inline const Aws::String& GetAdditionalDeploymentStatusInfo() const { return m_additionalDeploymentStatusInfo; }
501 inline bool AdditionalDeploymentStatusInfoHasBeenSet() const { return m_additionalDeploymentStatusInfoHasBeenSet; }
502 template <typename AdditionalDeploymentStatusInfoT = Aws::String>
503 void SetAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) {
504 m_additionalDeploymentStatusInfoHasBeenSet = true;
505 m_additionalDeploymentStatusInfo = std::forward<AdditionalDeploymentStatusInfoT>(value);
506 }
507 template <typename AdditionalDeploymentStatusInfoT = Aws::String>
508 DeploymentInfo& WithAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) {
509 SetAdditionalDeploymentStatusInfo(std::forward<AdditionalDeploymentStatusInfoT>(value));
510 return *this;
511 }
513
515
525 inline FileExistsBehavior GetFileExistsBehavior() const { return m_fileExistsBehavior; }
526 inline bool FileExistsBehaviorHasBeenSet() const { return m_fileExistsBehaviorHasBeenSet; }
528 m_fileExistsBehaviorHasBeenSet = true;
529 m_fileExistsBehavior = value;
530 }
533 return *this;
534 }
536
538
549 inline DeploymentMode GetDeploymentMode() const { return m_deploymentMode; }
550 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
552 m_deploymentModeHasBeenSet = true;
553 m_deploymentMode = value;
554 }
556 SetDeploymentMode(value);
557 return *this;
558 }
560
562
565 inline const Aws::Vector<Aws::String>& GetDeploymentStatusMessages() const { return m_deploymentStatusMessages; }
566 inline bool DeploymentStatusMessagesHasBeenSet() const { return m_deploymentStatusMessagesHasBeenSet; }
567 template <typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
568 void SetDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
569 m_deploymentStatusMessagesHasBeenSet = true;
570 m_deploymentStatusMessages = std::forward<DeploymentStatusMessagesT>(value);
571 }
572 template <typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
573 DeploymentInfo& WithDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
574 SetDeploymentStatusMessages(std::forward<DeploymentStatusMessagesT>(value));
575 return *this;
576 }
577 template <typename DeploymentStatusMessagesT = Aws::String>
578 DeploymentInfo& AddDeploymentStatusMessages(DeploymentStatusMessagesT&& value) {
579 m_deploymentStatusMessagesHasBeenSet = true;
580 m_deploymentStatusMessages.emplace_back(std::forward<DeploymentStatusMessagesT>(value));
581 return *this;
582 }
584
586
590 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
591 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
593 m_computePlatformHasBeenSet = true;
594 m_computePlatform = value;
595 }
597 SetComputePlatform(value);
598 return *this;
599 }
601
603
607 inline const Aws::String& GetExternalId() const { return m_externalId; }
608 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
609 template <typename ExternalIdT = Aws::String>
610 void SetExternalId(ExternalIdT&& value) {
611 m_externalIdHasBeenSet = true;
612 m_externalId = std::forward<ExternalIdT>(value);
613 }
614 template <typename ExternalIdT = Aws::String>
615 DeploymentInfo& WithExternalId(ExternalIdT&& value) {
616 SetExternalId(std::forward<ExternalIdT>(value));
617 return *this;
618 }
620
622
623 inline const RelatedDeployments& GetRelatedDeployments() const { return m_relatedDeployments; }
624 inline bool RelatedDeploymentsHasBeenSet() const { return m_relatedDeploymentsHasBeenSet; }
625 template <typename RelatedDeploymentsT = RelatedDeployments>
626 void SetRelatedDeployments(RelatedDeploymentsT&& value) {
627 m_relatedDeploymentsHasBeenSet = true;
628 m_relatedDeployments = std::forward<RelatedDeploymentsT>(value);
629 }
630 template <typename RelatedDeploymentsT = RelatedDeployments>
631 DeploymentInfo& WithRelatedDeployments(RelatedDeploymentsT&& value) {
632 SetRelatedDeployments(std::forward<RelatedDeploymentsT>(value));
633 return *this;
634 }
636
638
639 inline const AlarmConfiguration& GetOverrideAlarmConfiguration() const { return m_overrideAlarmConfiguration; }
640 inline bool OverrideAlarmConfigurationHasBeenSet() const { return m_overrideAlarmConfigurationHasBeenSet; }
641 template <typename OverrideAlarmConfigurationT = AlarmConfiguration>
642 void SetOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) {
643 m_overrideAlarmConfigurationHasBeenSet = true;
644 m_overrideAlarmConfiguration = std::forward<OverrideAlarmConfigurationT>(value);
645 }
646 template <typename OverrideAlarmConfigurationT = AlarmConfiguration>
647 DeploymentInfo& WithOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) {
648 SetOverrideAlarmConfiguration(std::forward<OverrideAlarmConfigurationT>(value));
649 return *this;
650 }
652 private:
653 Aws::String m_applicationName;
654
655 Aws::String m_deploymentGroupName;
656
657 Aws::String m_deploymentConfigName;
658
659 Aws::String m_deploymentId;
660
661 RevisionLocation m_previousRevision;
662
663 RevisionLocation m_revision;
664
666
667 ErrorInformation m_errorInformation;
668
669 Aws::Utils::DateTime m_createTime{};
670
671 Aws::Utils::DateTime m_startTime{};
672
673 Aws::Utils::DateTime m_completeTime{};
674
675 DeploymentOverview m_deploymentOverview;
676
677 Aws::String m_description;
678
680
681 bool m_ignoreApplicationStopFailures{false};
682
683 AutoRollbackConfiguration m_autoRollbackConfiguration;
684
685 bool m_updateOutdatedInstancesOnly{false};
686
687 RollbackInfo m_rollbackInfo;
688
689 DeploymentStyle m_deploymentStyle;
690
691 TargetInstances m_targetInstances;
692
693 bool m_instanceTerminationWaitTimeStarted{false};
694
695 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
696
697 LoadBalancerInfo m_loadBalancerInfo;
698
699 Aws::String m_additionalDeploymentStatusInfo;
700
702
703 DeploymentMode m_deploymentMode{DeploymentMode::NOT_SET};
704
705 Aws::Vector<Aws::String> m_deploymentStatusMessages;
706
707 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
708
709 Aws::String m_externalId;
710
711 RelatedDeployments m_relatedDeployments;
712
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;
745};
746
747} // namespace Model
748} // namespace CodeDeploy
749} // 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)
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