AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeploymentInfo.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codedeploy/model/RevisionLocation.h>
10#include <aws/codedeploy/model/DeploymentStatus.h>
11#include <aws/codedeploy/model/ErrorInformation.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/codedeploy/model/DeploymentOverview.h>
14#include <aws/codedeploy/model/DeploymentCreator.h>
15#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
16#include <aws/codedeploy/model/RollbackInfo.h>
17#include <aws/codedeploy/model/DeploymentStyle.h>
18#include <aws/codedeploy/model/TargetInstances.h>
19#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
20#include <aws/codedeploy/model/LoadBalancerInfo.h>
21#include <aws/codedeploy/model/FileExistsBehavior.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
23#include <aws/codedeploy/model/ComputePlatform.h>
24#include <aws/codedeploy/model/RelatedDeployments.h>
25#include <aws/codedeploy/model/AlarmConfiguration.h>
26#include <utility>
27
28namespace Aws
29{
30namespace Utils
31{
32namespace Json
33{
34 class JsonValue;
35 class JsonView;
36} // namespace Json
37} // namespace Utils
38namespace CodeDeploy
39{
40namespace Model
41{
42
49 {
50 public:
51 AWS_CODEDEPLOY_API DeploymentInfo() = default;
52 AWS_CODEDEPLOY_API DeploymentInfo(Aws::Utils::Json::JsonView jsonValue);
53 AWS_CODEDEPLOY_API DeploymentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
54 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
55
56
58
61 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
62 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
63 template<typename ApplicationNameT = Aws::String>
64 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
65 template<typename ApplicationNameT = Aws::String>
66 DeploymentInfo& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
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) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value); }
77 template<typename DeploymentGroupNameT = Aws::String>
78 DeploymentInfo& WithDeploymentGroupName(DeploymentGroupNameT&& value) { SetDeploymentGroupName(std::forward<DeploymentGroupNameT>(value)); return *this;}
80
82
85 inline const Aws::String& GetDeploymentConfigName() const { return m_deploymentConfigName; }
86 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
87 template<typename DeploymentConfigNameT = Aws::String>
88 void SetDeploymentConfigName(DeploymentConfigNameT&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value); }
89 template<typename DeploymentConfigNameT = Aws::String>
90 DeploymentInfo& WithDeploymentConfigName(DeploymentConfigNameT&& value) { SetDeploymentConfigName(std::forward<DeploymentConfigNameT>(value)); return *this;}
92
94
97 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
98 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
99 template<typename DeploymentIdT = Aws::String>
100 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
101 template<typename DeploymentIdT = Aws::String>
102 DeploymentInfo& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
104
106
110 inline const RevisionLocation& GetPreviousRevision() const { return m_previousRevision; }
111 inline bool PreviousRevisionHasBeenSet() const { return m_previousRevisionHasBeenSet; }
112 template<typename PreviousRevisionT = RevisionLocation>
113 void SetPreviousRevision(PreviousRevisionT&& value) { m_previousRevisionHasBeenSet = true; m_previousRevision = std::forward<PreviousRevisionT>(value); }
114 template<typename PreviousRevisionT = RevisionLocation>
115 DeploymentInfo& WithPreviousRevision(PreviousRevisionT&& value) { SetPreviousRevision(std::forward<PreviousRevisionT>(value)); return *this;}
117
119
123 inline const RevisionLocation& GetRevision() const { return m_revision; }
124 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
125 template<typename RevisionT = RevisionLocation>
126 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
127 template<typename RevisionT = RevisionLocation>
128 DeploymentInfo& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
130
132
135 inline DeploymentStatus GetStatus() const { return m_status; }
136 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
137 inline void SetStatus(DeploymentStatus value) { m_statusHasBeenSet = true; m_status = value; }
138 inline DeploymentInfo& WithStatus(DeploymentStatus value) { SetStatus(value); return *this;}
140
142
145 inline const ErrorInformation& GetErrorInformation() const { return m_errorInformation; }
146 inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; }
147 template<typename ErrorInformationT = ErrorInformation>
148 void SetErrorInformation(ErrorInformationT&& value) { m_errorInformationHasBeenSet = true; m_errorInformation = std::forward<ErrorInformationT>(value); }
149 template<typename ErrorInformationT = ErrorInformation>
150 DeploymentInfo& WithErrorInformation(ErrorInformationT&& value) { SetErrorInformation(std::forward<ErrorInformationT>(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
158 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
159 template<typename CreateTimeT = Aws::Utils::DateTime>
160 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
161 template<typename CreateTimeT = Aws::Utils::DateTime>
162 DeploymentInfo& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
164
166
172 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
173 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
174 template<typename StartTimeT = Aws::Utils::DateTime>
175 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
176 template<typename StartTimeT = Aws::Utils::DateTime>
177 DeploymentInfo& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
179
181
184 inline const Aws::Utils::DateTime& GetCompleteTime() const { return m_completeTime; }
185 inline bool CompleteTimeHasBeenSet() const { return m_completeTimeHasBeenSet; }
186 template<typename CompleteTimeT = Aws::Utils::DateTime>
187 void SetCompleteTime(CompleteTimeT&& value) { m_completeTimeHasBeenSet = true; m_completeTime = std::forward<CompleteTimeT>(value); }
188 template<typename CompleteTimeT = Aws::Utils::DateTime>
189 DeploymentInfo& WithCompleteTime(CompleteTimeT&& value) { SetCompleteTime(std::forward<CompleteTimeT>(value)); return *this;}
191
193
196 inline const DeploymentOverview& GetDeploymentOverview() const { return m_deploymentOverview; }
197 inline bool DeploymentOverviewHasBeenSet() const { return m_deploymentOverviewHasBeenSet; }
198 template<typename DeploymentOverviewT = DeploymentOverview>
199 void SetDeploymentOverview(DeploymentOverviewT&& value) { m_deploymentOverviewHasBeenSet = true; m_deploymentOverview = std::forward<DeploymentOverviewT>(value); }
200 template<typename DeploymentOverviewT = DeploymentOverview>
201 DeploymentInfo& WithDeploymentOverview(DeploymentOverviewT&& value) { SetDeploymentOverview(std::forward<DeploymentOverviewT>(value)); return *this;}
203
205
208 inline const Aws::String& GetDescription() const { return m_description; }
209 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
210 template<typename DescriptionT = Aws::String>
211 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
212 template<typename DescriptionT = Aws::String>
213 DeploymentInfo& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
215
217
226 inline DeploymentCreator GetCreator() const { return m_creator; }
227 inline bool CreatorHasBeenSet() const { return m_creatorHasBeenSet; }
228 inline void SetCreator(DeploymentCreator value) { m_creatorHasBeenSet = true; m_creator = value; }
229 inline DeploymentInfo& WithCreator(DeploymentCreator value) { SetCreator(value); return *this;}
231
233
257 inline bool GetIgnoreApplicationStopFailures() const { return m_ignoreApplicationStopFailures; }
258 inline bool IgnoreApplicationStopFailuresHasBeenSet() const { return m_ignoreApplicationStopFailuresHasBeenSet; }
259 inline void SetIgnoreApplicationStopFailures(bool value) { m_ignoreApplicationStopFailuresHasBeenSet = true; m_ignoreApplicationStopFailures = value; }
262
264
268 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const { return m_autoRollbackConfiguration; }
269 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
270 template<typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
271 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value); }
272 template<typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
273 DeploymentInfo& WithAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { SetAutoRollbackConfiguration(std::forward<AutoRollbackConfigurationT>(value)); return *this;}
275
277
281 inline bool GetUpdateOutdatedInstancesOnly() const { return m_updateOutdatedInstancesOnly; }
282 inline bool UpdateOutdatedInstancesOnlyHasBeenSet() const { return m_updateOutdatedInstancesOnlyHasBeenSet; }
283 inline void SetUpdateOutdatedInstancesOnly(bool value) { m_updateOutdatedInstancesOnlyHasBeenSet = true; m_updateOutdatedInstancesOnly = value; }
286
288
291 inline const RollbackInfo& GetRollbackInfo() const { return m_rollbackInfo; }
292 inline bool RollbackInfoHasBeenSet() const { return m_rollbackInfoHasBeenSet; }
293 template<typename RollbackInfoT = RollbackInfo>
294 void SetRollbackInfo(RollbackInfoT&& value) { m_rollbackInfoHasBeenSet = true; m_rollbackInfo = std::forward<RollbackInfoT>(value); }
295 template<typename RollbackInfoT = RollbackInfo>
296 DeploymentInfo& WithRollbackInfo(RollbackInfoT&& value) { SetRollbackInfo(std::forward<RollbackInfoT>(value)); return *this;}
298
300
304 inline const DeploymentStyle& GetDeploymentStyle() const { return m_deploymentStyle; }
305 inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
306 template<typename DeploymentStyleT = DeploymentStyle>
307 void SetDeploymentStyle(DeploymentStyleT&& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = std::forward<DeploymentStyleT>(value); }
308 template<typename DeploymentStyleT = DeploymentStyle>
309 DeploymentInfo& WithDeploymentStyle(DeploymentStyleT&& value) { SetDeploymentStyle(std::forward<DeploymentStyleT>(value)); return *this;}
311
313
317 inline const TargetInstances& GetTargetInstances() const { return m_targetInstances; }
318 inline bool TargetInstancesHasBeenSet() const { return m_targetInstancesHasBeenSet; }
319 template<typename TargetInstancesT = TargetInstances>
320 void SetTargetInstances(TargetInstancesT&& value) { m_targetInstancesHasBeenSet = true; m_targetInstances = std::forward<TargetInstancesT>(value); }
321 template<typename TargetInstancesT = TargetInstances>
322 DeploymentInfo& WithTargetInstances(TargetInstancesT&& value) { SetTargetInstances(std::forward<TargetInstancesT>(value)); return *this;}
324
326
331 inline bool GetInstanceTerminationWaitTimeStarted() const { return m_instanceTerminationWaitTimeStarted; }
332 inline bool InstanceTerminationWaitTimeStartedHasBeenSet() const { return m_instanceTerminationWaitTimeStartedHasBeenSet; }
333 inline void SetInstanceTerminationWaitTimeStarted(bool value) { m_instanceTerminationWaitTimeStartedHasBeenSet = true; m_instanceTerminationWaitTimeStarted = value; }
336
338
341 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const { return m_blueGreenDeploymentConfiguration; }
342 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
343 template<typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
344 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value); }
345 template<typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
346 DeploymentInfo& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) { SetBlueGreenDeploymentConfiguration(std::forward<BlueGreenDeploymentConfigurationT>(value)); return *this;}
348
350
353 inline const LoadBalancerInfo& GetLoadBalancerInfo() const { return m_loadBalancerInfo; }
354 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
355 template<typename LoadBalancerInfoT = LoadBalancerInfo>
356 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value); }
357 template<typename LoadBalancerInfoT = LoadBalancerInfo>
358 DeploymentInfo& WithLoadBalancerInfo(LoadBalancerInfoT&& value) { SetLoadBalancerInfo(std::forward<LoadBalancerInfoT>(value)); return *this;}
360
362
367 inline const Aws::String& GetAdditionalDeploymentStatusInfo() const { return m_additionalDeploymentStatusInfo; }
368 inline bool AdditionalDeploymentStatusInfoHasBeenSet() const { return m_additionalDeploymentStatusInfoHasBeenSet; }
369 template<typename AdditionalDeploymentStatusInfoT = Aws::String>
370 void SetAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) { m_additionalDeploymentStatusInfoHasBeenSet = true; m_additionalDeploymentStatusInfo = std::forward<AdditionalDeploymentStatusInfoT>(value); }
371 template<typename AdditionalDeploymentStatusInfoT = Aws::String>
372 DeploymentInfo& WithAdditionalDeploymentStatusInfo(AdditionalDeploymentStatusInfoT&& value) { SetAdditionalDeploymentStatusInfo(std::forward<AdditionalDeploymentStatusInfoT>(value)); return *this;}
374
376
386 inline FileExistsBehavior GetFileExistsBehavior() const { return m_fileExistsBehavior; }
387 inline bool FileExistsBehaviorHasBeenSet() const { return m_fileExistsBehaviorHasBeenSet; }
388 inline void SetFileExistsBehavior(FileExistsBehavior value) { m_fileExistsBehaviorHasBeenSet = true; m_fileExistsBehavior = value; }
391
393
396 inline const Aws::Vector<Aws::String>& GetDeploymentStatusMessages() const { return m_deploymentStatusMessages; }
397 inline bool DeploymentStatusMessagesHasBeenSet() const { return m_deploymentStatusMessagesHasBeenSet; }
398 template<typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
399 void SetDeploymentStatusMessages(DeploymentStatusMessagesT&& value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages = std::forward<DeploymentStatusMessagesT>(value); }
400 template<typename DeploymentStatusMessagesT = Aws::Vector<Aws::String>>
401 DeploymentInfo& WithDeploymentStatusMessages(DeploymentStatusMessagesT&& value) { SetDeploymentStatusMessages(std::forward<DeploymentStatusMessagesT>(value)); return *this;}
402 template<typename DeploymentStatusMessagesT = Aws::String>
403 DeploymentInfo& AddDeploymentStatusMessages(DeploymentStatusMessagesT&& value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages.emplace_back(std::forward<DeploymentStatusMessagesT>(value)); return *this; }
405
407
411 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
412 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
413 inline void SetComputePlatform(ComputePlatform value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
416
418
422 inline const Aws::String& GetExternalId() const { return m_externalId; }
423 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
424 template<typename ExternalIdT = Aws::String>
425 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
426 template<typename ExternalIdT = Aws::String>
427 DeploymentInfo& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
429
431
432 inline const RelatedDeployments& GetRelatedDeployments() const { return m_relatedDeployments; }
433 inline bool RelatedDeploymentsHasBeenSet() const { return m_relatedDeploymentsHasBeenSet; }
434 template<typename RelatedDeploymentsT = RelatedDeployments>
435 void SetRelatedDeployments(RelatedDeploymentsT&& value) { m_relatedDeploymentsHasBeenSet = true; m_relatedDeployments = std::forward<RelatedDeploymentsT>(value); }
436 template<typename RelatedDeploymentsT = RelatedDeployments>
437 DeploymentInfo& WithRelatedDeployments(RelatedDeploymentsT&& value) { SetRelatedDeployments(std::forward<RelatedDeploymentsT>(value)); return *this;}
439
441
442 inline const AlarmConfiguration& GetOverrideAlarmConfiguration() const { return m_overrideAlarmConfiguration; }
443 inline bool OverrideAlarmConfigurationHasBeenSet() const { return m_overrideAlarmConfigurationHasBeenSet; }
444 template<typename OverrideAlarmConfigurationT = AlarmConfiguration>
445 void SetOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) { m_overrideAlarmConfigurationHasBeenSet = true; m_overrideAlarmConfiguration = std::forward<OverrideAlarmConfigurationT>(value); }
446 template<typename OverrideAlarmConfigurationT = AlarmConfiguration>
447 DeploymentInfo& WithOverrideAlarmConfiguration(OverrideAlarmConfigurationT&& value) { SetOverrideAlarmConfiguration(std::forward<OverrideAlarmConfigurationT>(value)); return *this;}
449 private:
450
451 Aws::String m_applicationName;
452 bool m_applicationNameHasBeenSet = false;
453
454 Aws::String m_deploymentGroupName;
455 bool m_deploymentGroupNameHasBeenSet = false;
456
457 Aws::String m_deploymentConfigName;
458 bool m_deploymentConfigNameHasBeenSet = false;
459
460 Aws::String m_deploymentId;
461 bool m_deploymentIdHasBeenSet = false;
462
463 RevisionLocation m_previousRevision;
464 bool m_previousRevisionHasBeenSet = false;
465
466 RevisionLocation m_revision;
467 bool m_revisionHasBeenSet = false;
468
470 bool m_statusHasBeenSet = false;
471
472 ErrorInformation m_errorInformation;
473 bool m_errorInformationHasBeenSet = false;
474
475 Aws::Utils::DateTime m_createTime{};
476 bool m_createTimeHasBeenSet = false;
477
478 Aws::Utils::DateTime m_startTime{};
479 bool m_startTimeHasBeenSet = false;
480
481 Aws::Utils::DateTime m_completeTime{};
482 bool m_completeTimeHasBeenSet = false;
483
484 DeploymentOverview m_deploymentOverview;
485 bool m_deploymentOverviewHasBeenSet = false;
486
487 Aws::String m_description;
488 bool m_descriptionHasBeenSet = false;
489
491 bool m_creatorHasBeenSet = false;
492
493 bool m_ignoreApplicationStopFailures{false};
494 bool m_ignoreApplicationStopFailuresHasBeenSet = false;
495
496 AutoRollbackConfiguration m_autoRollbackConfiguration;
497 bool m_autoRollbackConfigurationHasBeenSet = false;
498
499 bool m_updateOutdatedInstancesOnly{false};
500 bool m_updateOutdatedInstancesOnlyHasBeenSet = false;
501
502 RollbackInfo m_rollbackInfo;
503 bool m_rollbackInfoHasBeenSet = false;
504
505 DeploymentStyle m_deploymentStyle;
506 bool m_deploymentStyleHasBeenSet = false;
507
508 TargetInstances m_targetInstances;
509 bool m_targetInstancesHasBeenSet = false;
510
511 bool m_instanceTerminationWaitTimeStarted{false};
512 bool m_instanceTerminationWaitTimeStartedHasBeenSet = false;
513
514 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
515 bool m_blueGreenDeploymentConfigurationHasBeenSet = false;
516
517 LoadBalancerInfo m_loadBalancerInfo;
518 bool m_loadBalancerInfoHasBeenSet = false;
519
520 Aws::String m_additionalDeploymentStatusInfo;
521 bool m_additionalDeploymentStatusInfoHasBeenSet = false;
522
524 bool m_fileExistsBehaviorHasBeenSet = false;
525
526 Aws::Vector<Aws::String> m_deploymentStatusMessages;
527 bool m_deploymentStatusMessagesHasBeenSet = false;
528
529 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
530 bool m_computePlatformHasBeenSet = false;
531
532 Aws::String m_externalId;
533 bool m_externalIdHasBeenSet = false;
534
535 RelatedDeployments m_relatedDeployments;
536 bool m_relatedDeploymentsHasBeenSet = false;
537
538 AlarmConfiguration m_overrideAlarmConfiguration;
539 bool m_overrideAlarmConfigurationHasBeenSet = false;
540 };
541
542} // namespace Model
543} // namespace CodeDeploy
544} // 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