AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
64 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
65 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
66 inline DeploymentInfo& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
67 inline DeploymentInfo& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
68 inline DeploymentInfo& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
70
72
75 inline const Aws::String& GetDeploymentGroupName() const{ return m_deploymentGroupName; }
76 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
77 inline void SetDeploymentGroupName(const Aws::String& value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName = value; }
78 inline void SetDeploymentGroupName(Aws::String&& value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName = std::move(value); }
79 inline void SetDeploymentGroupName(const char* value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName.assign(value); }
80 inline DeploymentInfo& WithDeploymentGroupName(const Aws::String& value) { SetDeploymentGroupName(value); return *this;}
81 inline DeploymentInfo& WithDeploymentGroupName(Aws::String&& value) { SetDeploymentGroupName(std::move(value)); return *this;}
82 inline DeploymentInfo& WithDeploymentGroupName(const char* value) { SetDeploymentGroupName(value); return *this;}
84
86
89 inline const Aws::String& GetDeploymentConfigName() const{ return m_deploymentConfigName; }
90 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
91 inline void SetDeploymentConfigName(const Aws::String& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = value; }
92 inline void SetDeploymentConfigName(Aws::String&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::move(value); }
93 inline void SetDeploymentConfigName(const char* value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName.assign(value); }
94 inline DeploymentInfo& WithDeploymentConfigName(const Aws::String& value) { SetDeploymentConfigName(value); return *this;}
95 inline DeploymentInfo& WithDeploymentConfigName(Aws::String&& value) { SetDeploymentConfigName(std::move(value)); return *this;}
96 inline DeploymentInfo& WithDeploymentConfigName(const char* value) { SetDeploymentConfigName(value); return *this;}
98
100
103 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
104 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
105 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
106 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
107 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
108 inline DeploymentInfo& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
109 inline DeploymentInfo& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
110 inline DeploymentInfo& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
112
114
118 inline const RevisionLocation& GetPreviousRevision() const{ return m_previousRevision; }
119 inline bool PreviousRevisionHasBeenSet() const { return m_previousRevisionHasBeenSet; }
120 inline void SetPreviousRevision(const RevisionLocation& value) { m_previousRevisionHasBeenSet = true; m_previousRevision = value; }
121 inline void SetPreviousRevision(RevisionLocation&& value) { m_previousRevisionHasBeenSet = true; m_previousRevision = std::move(value); }
122 inline DeploymentInfo& WithPreviousRevision(const RevisionLocation& value) { SetPreviousRevision(value); return *this;}
123 inline DeploymentInfo& WithPreviousRevision(RevisionLocation&& value) { SetPreviousRevision(std::move(value)); return *this;}
125
127
131 inline const RevisionLocation& GetRevision() const{ return m_revision; }
132 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
133 inline void SetRevision(const RevisionLocation& value) { m_revisionHasBeenSet = true; m_revision = value; }
134 inline void SetRevision(RevisionLocation&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
135 inline DeploymentInfo& WithRevision(const RevisionLocation& value) { SetRevision(value); return *this;}
136 inline DeploymentInfo& WithRevision(RevisionLocation&& value) { SetRevision(std::move(value)); return *this;}
138
140
143 inline const DeploymentStatus& GetStatus() const{ return m_status; }
144 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
145 inline void SetStatus(const DeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
146 inline void SetStatus(DeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
147 inline DeploymentInfo& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
148 inline DeploymentInfo& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
150
152
155 inline const ErrorInformation& GetErrorInformation() const{ return m_errorInformation; }
156 inline bool ErrorInformationHasBeenSet() const { return m_errorInformationHasBeenSet; }
157 inline void SetErrorInformation(const ErrorInformation& value) { m_errorInformationHasBeenSet = true; m_errorInformation = value; }
158 inline void SetErrorInformation(ErrorInformation&& value) { m_errorInformationHasBeenSet = true; m_errorInformation = std::move(value); }
159 inline DeploymentInfo& WithErrorInformation(const ErrorInformation& value) { SetErrorInformation(value); return *this;}
160 inline DeploymentInfo& WithErrorInformation(ErrorInformation&& value) { SetErrorInformation(std::move(value)); return *this;}
162
164
167 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
168 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
169 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
170 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
171 inline DeploymentInfo& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
172 inline DeploymentInfo& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
174
176
182 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
183 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
184 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
185 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
186 inline DeploymentInfo& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
187 inline DeploymentInfo& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
189
191
194 inline const Aws::Utils::DateTime& GetCompleteTime() const{ return m_completeTime; }
195 inline bool CompleteTimeHasBeenSet() const { return m_completeTimeHasBeenSet; }
196 inline void SetCompleteTime(const Aws::Utils::DateTime& value) { m_completeTimeHasBeenSet = true; m_completeTime = value; }
197 inline void SetCompleteTime(Aws::Utils::DateTime&& value) { m_completeTimeHasBeenSet = true; m_completeTime = std::move(value); }
198 inline DeploymentInfo& WithCompleteTime(const Aws::Utils::DateTime& value) { SetCompleteTime(value); return *this;}
199 inline DeploymentInfo& WithCompleteTime(Aws::Utils::DateTime&& value) { SetCompleteTime(std::move(value)); return *this;}
201
203
206 inline const DeploymentOverview& GetDeploymentOverview() const{ return m_deploymentOverview; }
207 inline bool DeploymentOverviewHasBeenSet() const { return m_deploymentOverviewHasBeenSet; }
208 inline void SetDeploymentOverview(const DeploymentOverview& value) { m_deploymentOverviewHasBeenSet = true; m_deploymentOverview = value; }
209 inline void SetDeploymentOverview(DeploymentOverview&& value) { m_deploymentOverviewHasBeenSet = true; m_deploymentOverview = std::move(value); }
211 inline DeploymentInfo& WithDeploymentOverview(DeploymentOverview&& value) { SetDeploymentOverview(std::move(value)); return *this;}
213
215
218 inline const Aws::String& GetDescription() const{ return m_description; }
219 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
220 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
221 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
222 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
223 inline DeploymentInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
224 inline DeploymentInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
225 inline DeploymentInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
227
229
238 inline const DeploymentCreator& GetCreator() const{ return m_creator; }
239 inline bool CreatorHasBeenSet() const { return m_creatorHasBeenSet; }
240 inline void SetCreator(const DeploymentCreator& value) { m_creatorHasBeenSet = true; m_creator = value; }
241 inline void SetCreator(DeploymentCreator&& value) { m_creatorHasBeenSet = true; m_creator = std::move(value); }
242 inline DeploymentInfo& WithCreator(const DeploymentCreator& value) { SetCreator(value); return *this;}
243 inline DeploymentInfo& WithCreator(DeploymentCreator&& value) { SetCreator(std::move(value)); return *this;}
245
247
271 inline bool GetIgnoreApplicationStopFailures() const{ return m_ignoreApplicationStopFailures; }
272 inline bool IgnoreApplicationStopFailuresHasBeenSet() const { return m_ignoreApplicationStopFailuresHasBeenSet; }
273 inline void SetIgnoreApplicationStopFailures(bool value) { m_ignoreApplicationStopFailuresHasBeenSet = true; m_ignoreApplicationStopFailures = value; }
276
278
282 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const{ return m_autoRollbackConfiguration; }
283 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
284 inline void SetAutoRollbackConfiguration(const AutoRollbackConfiguration& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = value; }
285 inline void SetAutoRollbackConfiguration(AutoRollbackConfiguration&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::move(value); }
289
291
295 inline bool GetUpdateOutdatedInstancesOnly() const{ return m_updateOutdatedInstancesOnly; }
296 inline bool UpdateOutdatedInstancesOnlyHasBeenSet() const { return m_updateOutdatedInstancesOnlyHasBeenSet; }
297 inline void SetUpdateOutdatedInstancesOnly(bool value) { m_updateOutdatedInstancesOnlyHasBeenSet = true; m_updateOutdatedInstancesOnly = value; }
300
302
305 inline const RollbackInfo& GetRollbackInfo() const{ return m_rollbackInfo; }
306 inline bool RollbackInfoHasBeenSet() const { return m_rollbackInfoHasBeenSet; }
307 inline void SetRollbackInfo(const RollbackInfo& value) { m_rollbackInfoHasBeenSet = true; m_rollbackInfo = value; }
308 inline void SetRollbackInfo(RollbackInfo&& value) { m_rollbackInfoHasBeenSet = true; m_rollbackInfo = std::move(value); }
309 inline DeploymentInfo& WithRollbackInfo(const RollbackInfo& value) { SetRollbackInfo(value); return *this;}
310 inline DeploymentInfo& WithRollbackInfo(RollbackInfo&& value) { SetRollbackInfo(std::move(value)); return *this;}
312
314
318 inline const DeploymentStyle& GetDeploymentStyle() const{ return m_deploymentStyle; }
319 inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
320 inline void SetDeploymentStyle(const DeploymentStyle& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = value; }
321 inline void SetDeploymentStyle(DeploymentStyle&& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = std::move(value); }
322 inline DeploymentInfo& WithDeploymentStyle(const DeploymentStyle& value) { SetDeploymentStyle(value); return *this;}
323 inline DeploymentInfo& WithDeploymentStyle(DeploymentStyle&& value) { SetDeploymentStyle(std::move(value)); return *this;}
325
327
331 inline const TargetInstances& GetTargetInstances() const{ return m_targetInstances; }
332 inline bool TargetInstancesHasBeenSet() const { return m_targetInstancesHasBeenSet; }
333 inline void SetTargetInstances(const TargetInstances& value) { m_targetInstancesHasBeenSet = true; m_targetInstances = value; }
334 inline void SetTargetInstances(TargetInstances&& value) { m_targetInstancesHasBeenSet = true; m_targetInstances = std::move(value); }
335 inline DeploymentInfo& WithTargetInstances(const TargetInstances& value) { SetTargetInstances(value); return *this;}
336 inline DeploymentInfo& WithTargetInstances(TargetInstances&& value) { SetTargetInstances(std::move(value)); return *this;}
338
340
345 inline bool GetInstanceTerminationWaitTimeStarted() const{ return m_instanceTerminationWaitTimeStarted; }
346 inline bool InstanceTerminationWaitTimeStartedHasBeenSet() const { return m_instanceTerminationWaitTimeStartedHasBeenSet; }
347 inline void SetInstanceTerminationWaitTimeStarted(bool value) { m_instanceTerminationWaitTimeStartedHasBeenSet = true; m_instanceTerminationWaitTimeStarted = value; }
350
352
355 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const{ return m_blueGreenDeploymentConfiguration; }
356 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
357 inline void SetBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = value; }
358 inline void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration&& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = std::move(value); }
362
364
367 inline const LoadBalancerInfo& GetLoadBalancerInfo() const{ return m_loadBalancerInfo; }
368 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
369 inline void SetLoadBalancerInfo(const LoadBalancerInfo& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = value; }
370 inline void SetLoadBalancerInfo(LoadBalancerInfo&& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = std::move(value); }
371 inline DeploymentInfo& WithLoadBalancerInfo(const LoadBalancerInfo& value) { SetLoadBalancerInfo(value); return *this;}
372 inline DeploymentInfo& WithLoadBalancerInfo(LoadBalancerInfo&& value) { SetLoadBalancerInfo(std::move(value)); return *this;}
374
376
381 inline const Aws::String& GetAdditionalDeploymentStatusInfo() const{ return m_additionalDeploymentStatusInfo; }
382 inline bool AdditionalDeploymentStatusInfoHasBeenSet() const { return m_additionalDeploymentStatusInfoHasBeenSet; }
383 inline void SetAdditionalDeploymentStatusInfo(const Aws::String& value) { m_additionalDeploymentStatusInfoHasBeenSet = true; m_additionalDeploymentStatusInfo = value; }
384 inline void SetAdditionalDeploymentStatusInfo(Aws::String&& value) { m_additionalDeploymentStatusInfoHasBeenSet = true; m_additionalDeploymentStatusInfo = std::move(value); }
385 inline void SetAdditionalDeploymentStatusInfo(const char* value) { m_additionalDeploymentStatusInfoHasBeenSet = true; m_additionalDeploymentStatusInfo.assign(value); }
390
392
402 inline const FileExistsBehavior& GetFileExistsBehavior() const{ return m_fileExistsBehavior; }
403 inline bool FileExistsBehaviorHasBeenSet() const { return m_fileExistsBehaviorHasBeenSet; }
404 inline void SetFileExistsBehavior(const FileExistsBehavior& value) { m_fileExistsBehaviorHasBeenSet = true; m_fileExistsBehavior = value; }
405 inline void SetFileExistsBehavior(FileExistsBehavior&& value) { m_fileExistsBehaviorHasBeenSet = true; m_fileExistsBehavior = std::move(value); }
407 inline DeploymentInfo& WithFileExistsBehavior(FileExistsBehavior&& value) { SetFileExistsBehavior(std::move(value)); return *this;}
409
411
414 inline const Aws::Vector<Aws::String>& GetDeploymentStatusMessages() const{ return m_deploymentStatusMessages; }
415 inline bool DeploymentStatusMessagesHasBeenSet() const { return m_deploymentStatusMessagesHasBeenSet; }
416 inline void SetDeploymentStatusMessages(const Aws::Vector<Aws::String>& value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages = value; }
417 inline void SetDeploymentStatusMessages(Aws::Vector<Aws::String>&& value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages = std::move(value); }
420 inline DeploymentInfo& AddDeploymentStatusMessages(const Aws::String& value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages.push_back(value); return *this; }
421 inline DeploymentInfo& AddDeploymentStatusMessages(Aws::String&& value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages.push_back(std::move(value)); return *this; }
422 inline DeploymentInfo& AddDeploymentStatusMessages(const char* value) { m_deploymentStatusMessagesHasBeenSet = true; m_deploymentStatusMessages.push_back(value); return *this; }
424
426
430 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
431 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
432 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
433 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
434 inline DeploymentInfo& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;}
435 inline DeploymentInfo& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
437
439
443 inline const Aws::String& GetExternalId() const{ return m_externalId; }
444 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
445 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
446 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
447 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
448 inline DeploymentInfo& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
449 inline DeploymentInfo& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
450 inline DeploymentInfo& WithExternalId(const char* value) { SetExternalId(value); return *this;}
452
454
455 inline const RelatedDeployments& GetRelatedDeployments() const{ return m_relatedDeployments; }
456 inline bool RelatedDeploymentsHasBeenSet() const { return m_relatedDeploymentsHasBeenSet; }
457 inline void SetRelatedDeployments(const RelatedDeployments& value) { m_relatedDeploymentsHasBeenSet = true; m_relatedDeployments = value; }
458 inline void SetRelatedDeployments(RelatedDeployments&& value) { m_relatedDeploymentsHasBeenSet = true; m_relatedDeployments = std::move(value); }
460 inline DeploymentInfo& WithRelatedDeployments(RelatedDeployments&& value) { SetRelatedDeployments(std::move(value)); return *this;}
462
464
465 inline const AlarmConfiguration& GetOverrideAlarmConfiguration() const{ return m_overrideAlarmConfiguration; }
466 inline bool OverrideAlarmConfigurationHasBeenSet() const { return m_overrideAlarmConfigurationHasBeenSet; }
467 inline void SetOverrideAlarmConfiguration(const AlarmConfiguration& value) { m_overrideAlarmConfigurationHasBeenSet = true; m_overrideAlarmConfiguration = value; }
468 inline void SetOverrideAlarmConfiguration(AlarmConfiguration&& value) { m_overrideAlarmConfigurationHasBeenSet = true; m_overrideAlarmConfiguration = std::move(value); }
472 private:
473
474 Aws::String m_applicationName;
475 bool m_applicationNameHasBeenSet = false;
476
477 Aws::String m_deploymentGroupName;
478 bool m_deploymentGroupNameHasBeenSet = false;
479
480 Aws::String m_deploymentConfigName;
481 bool m_deploymentConfigNameHasBeenSet = false;
482
483 Aws::String m_deploymentId;
484 bool m_deploymentIdHasBeenSet = false;
485
486 RevisionLocation m_previousRevision;
487 bool m_previousRevisionHasBeenSet = false;
488
489 RevisionLocation m_revision;
490 bool m_revisionHasBeenSet = false;
491
492 DeploymentStatus m_status;
493 bool m_statusHasBeenSet = false;
494
495 ErrorInformation m_errorInformation;
496 bool m_errorInformationHasBeenSet = false;
497
498 Aws::Utils::DateTime m_createTime;
499 bool m_createTimeHasBeenSet = false;
500
501 Aws::Utils::DateTime m_startTime;
502 bool m_startTimeHasBeenSet = false;
503
504 Aws::Utils::DateTime m_completeTime;
505 bool m_completeTimeHasBeenSet = false;
506
507 DeploymentOverview m_deploymentOverview;
508 bool m_deploymentOverviewHasBeenSet = false;
509
510 Aws::String m_description;
511 bool m_descriptionHasBeenSet = false;
512
513 DeploymentCreator m_creator;
514 bool m_creatorHasBeenSet = false;
515
516 bool m_ignoreApplicationStopFailures;
517 bool m_ignoreApplicationStopFailuresHasBeenSet = false;
518
519 AutoRollbackConfiguration m_autoRollbackConfiguration;
520 bool m_autoRollbackConfigurationHasBeenSet = false;
521
522 bool m_updateOutdatedInstancesOnly;
523 bool m_updateOutdatedInstancesOnlyHasBeenSet = false;
524
525 RollbackInfo m_rollbackInfo;
526 bool m_rollbackInfoHasBeenSet = false;
527
528 DeploymentStyle m_deploymentStyle;
529 bool m_deploymentStyleHasBeenSet = false;
530
531 TargetInstances m_targetInstances;
532 bool m_targetInstancesHasBeenSet = false;
533
534 bool m_instanceTerminationWaitTimeStarted;
535 bool m_instanceTerminationWaitTimeStartedHasBeenSet = false;
536
537 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
538 bool m_blueGreenDeploymentConfigurationHasBeenSet = false;
539
540 LoadBalancerInfo m_loadBalancerInfo;
541 bool m_loadBalancerInfoHasBeenSet = false;
542
543 Aws::String m_additionalDeploymentStatusInfo;
544 bool m_additionalDeploymentStatusInfoHasBeenSet = false;
545
546 FileExistsBehavior m_fileExistsBehavior;
547 bool m_fileExistsBehaviorHasBeenSet = false;
548
549 Aws::Vector<Aws::String> m_deploymentStatusMessages;
550 bool m_deploymentStatusMessagesHasBeenSet = false;
551
552 ComputePlatform m_computePlatform;
553 bool m_computePlatformHasBeenSet = false;
554
555 Aws::String m_externalId;
556 bool m_externalIdHasBeenSet = false;
557
558 RelatedDeployments m_relatedDeployments;
559 bool m_relatedDeploymentsHasBeenSet = false;
560
561 AlarmConfiguration m_overrideAlarmConfiguration;
562 bool m_overrideAlarmConfigurationHasBeenSet = false;
563 };
564
565} // namespace Model
566} // namespace CodeDeploy
567} // namespace Aws
const Aws::Utils::DateTime & GetCompleteTime() const
void SetDeploymentId(Aws::String &&value)
void SetApplicationName(Aws::String &&value)
void SetAdditionalDeploymentStatusInfo(const Aws::String &value)
void SetDeploymentId(const Aws::String &value)
DeploymentInfo & WithDeploymentStyle(DeploymentStyle &&value)
DeploymentInfo & WithLoadBalancerInfo(LoadBalancerInfo &&value)
void SetDeploymentOverview(const DeploymentOverview &value)
DeploymentInfo & WithDeploymentGroupName(const Aws::String &value)
const Aws::String & GetApplicationName() const
void SetDeploymentStatusMessages(Aws::Vector< Aws::String > &&value)
const LoadBalancerInfo & GetLoadBalancerInfo() const
void SetLoadBalancerInfo(const LoadBalancerInfo &value)
DeploymentInfo & WithTargetInstances(const TargetInstances &value)
DeploymentInfo & WithDeploymentGroupName(Aws::String &&value)
DeploymentInfo & WithDeploymentConfigName(Aws::String &&value)
DeploymentInfo & WithErrorInformation(ErrorInformation &&value)
void SetDeploymentConfigName(const Aws::String &value)
void SetDeploymentStatusMessages(const Aws::Vector< Aws::String > &value)
void SetOverrideAlarmConfiguration(AlarmConfiguration &&value)
const Aws::String & GetDeploymentId() const
DeploymentInfo & WithApplicationName(const Aws::String &value)
void SetAdditionalDeploymentStatusInfo(Aws::String &&value)
DeploymentInfo & WithStatus(const DeploymentStatus &value)
DeploymentInfo & WithStartTime(Aws::Utils::DateTime &&value)
DeploymentInfo & WithApplicationName(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetDeploymentConfigName() const
DeploymentInfo & WithAdditionalDeploymentStatusInfo(const char *value)
void SetComputePlatform(ComputePlatform &&value)
const TargetInstances & GetTargetInstances() const
void SetDescription(Aws::String &&value)
void SetPreviousRevision(const RevisionLocation &value)
DeploymentInfo & WithDeploymentStatusMessages(const Aws::Vector< Aws::String > &value)
void SetDeploymentGroupName(Aws::String &&value)
void SetRelatedDeployments(const RelatedDeployments &value)
DeploymentInfo & WithFileExistsBehavior(const FileExistsBehavior &value)
void SetDeploymentGroupName(const char *value)
AWS_CODEDEPLOY_API DeploymentInfo(Aws::Utils::Json::JsonView jsonValue)
void SetExternalId(const Aws::String &value)
void SetErrorInformation(const ErrorInformation &value)
DeploymentInfo & WithPreviousRevision(const RevisionLocation &value)
const DeploymentStatus & GetStatus() const
void SetDeploymentId(const char *value)
void SetRevision(RevisionLocation &&value)
DeploymentInfo & WithErrorInformation(const ErrorInformation &value)
const Aws::String & GetAdditionalDeploymentStatusInfo() const
const Aws::String & GetDeploymentGroupName() const
void SetStatus(const DeploymentStatus &value)
void SetDeploymentStyle(DeploymentStyle &&value)
DeploymentInfo & WithCreator(DeploymentCreator &&value)
DeploymentInfo & WithOverrideAlarmConfiguration(const AlarmConfiguration &value)
DeploymentInfo & WithDeploymentOverview(const DeploymentOverview &value)
void SetRollbackInfo(const RollbackInfo &value)
const RollbackInfo & GetRollbackInfo() const
void SetPreviousRevision(RevisionLocation &&value)
void SetCreator(const DeploymentCreator &value)
const Aws::String & GetExternalId() const
DeploymentInfo & WithStartTime(const Aws::Utils::DateTime &value)
void SetComputePlatform(const ComputePlatform &value)
const DeploymentOverview & GetDeploymentOverview() const
const RevisionLocation & GetRevision() const
DeploymentInfo & WithCreator(const DeploymentCreator &value)
DeploymentInfo & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration &&value)
DeploymentInfo & WithRollbackInfo(const RollbackInfo &value)
void SetDeploymentConfigName(const char *value)
DeploymentInfo & WithDeploymentConfigName(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetDeploymentOverview(DeploymentOverview &&value)
const ErrorInformation & GetErrorInformation() const
DeploymentInfo & WithPreviousRevision(RevisionLocation &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
DeploymentInfo & WithRelatedDeployments(RelatedDeployments &&value)
DeploymentInfo & WithBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration &value)
void SetTargetInstances(TargetInstances &&value)
const DeploymentCreator & GetCreator() const
void SetCompleteTime(Aws::Utils::DateTime &&value)
DeploymentInfo & WithCompleteTime(Aws::Utils::DateTime &&value)
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration &&value)
DeploymentInfo & WithRelatedDeployments(const RelatedDeployments &value)
void SetFileExistsBehavior(FileExistsBehavior &&value)
void SetLoadBalancerInfo(LoadBalancerInfo &&value)
void SetApplicationName(const char *value)
void SetBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration &value)
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
DeploymentInfo & WithUpdateOutdatedInstancesOnly(bool value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetErrorInformation(ErrorInformation &&value)
DeploymentInfo & WithDeploymentId(const char *value)
void SetFileExistsBehavior(const FileExistsBehavior &value)
void SetOverrideAlarmConfiguration(const AlarmConfiguration &value)
DeploymentInfo & WithCreateTime(const Aws::Utils::DateTime &value)
DeploymentInfo & WithRollbackInfo(RollbackInfo &&value)
DeploymentInfo & WithComputePlatform(const ComputePlatform &value)
DeploymentInfo & WithFileExistsBehavior(FileExistsBehavior &&value)
void SetInstanceTerminationWaitTimeStarted(bool value)
DeploymentInfo & WithIgnoreApplicationStopFailures(bool value)
DeploymentInfo & WithAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
DeploymentInfo & WithDeploymentId(Aws::String &&value)
DeploymentInfo & WithExternalId(const char *value)
DeploymentInfo & WithApplicationName(const char *value)
DeploymentInfo & WithOverrideAlarmConfiguration(AlarmConfiguration &&value)
void SetDeploymentGroupName(const Aws::String &value)
void SetRevision(const RevisionLocation &value)
void SetDescription(const Aws::String &value)
DeploymentInfo & WithDeploymentStatusMessages(Aws::Vector< Aws::String > &&value)
const FileExistsBehavior & GetFileExistsBehavior() const
DeploymentInfo & WithRevision(const RevisionLocation &value)
DeploymentInfo & AddDeploymentStatusMessages(const char *value)
DeploymentInfo & WithLoadBalancerInfo(const LoadBalancerInfo &value)
DeploymentInfo & WithExternalId(Aws::String &&value)
DeploymentInfo & AddDeploymentStatusMessages(const Aws::String &value)
DeploymentInfo & WithDeploymentOverview(DeploymentOverview &&value)
DeploymentInfo & WithAdditionalDeploymentStatusInfo(Aws::String &&value)
DeploymentInfo & WithInstanceTerminationWaitTimeStarted(bool value)
DeploymentInfo & AddDeploymentStatusMessages(Aws::String &&value)
DeploymentInfo & WithComputePlatform(ComputePlatform &&value)
DeploymentInfo & WithStatus(DeploymentStatus &&value)
DeploymentInfo & WithAdditionalDeploymentStatusInfo(const Aws::String &value)
const DeploymentStyle & GetDeploymentStyle() const
void SetRollbackInfo(RollbackInfo &&value)
DeploymentInfo & WithDeploymentGroupName(const char *value)
void SetCreateTime(const Aws::Utils::DateTime &value)
DeploymentInfo & WithRevision(RevisionLocation &&value)
DeploymentInfo & WithTargetInstances(TargetInstances &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetDeploymentStyle(const DeploymentStyle &value)
DeploymentInfo & WithCreateTime(Aws::Utils::DateTime &&value)
const ComputePlatform & GetComputePlatform() const
const AlarmConfiguration & GetOverrideAlarmConfiguration() const
const RelatedDeployments & GetRelatedDeployments() const
void SetDeploymentConfigName(Aws::String &&value)
AWS_CODEDEPLOY_API DeploymentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetDeploymentStatusMessages() const
DeploymentInfo & WithDeploymentStyle(const DeploymentStyle &value)
void SetRelatedDeployments(RelatedDeployments &&value)
void SetCompleteTime(const Aws::Utils::DateTime &value)
DeploymentInfo & WithAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
void SetTargetInstances(const TargetInstances &value)
DeploymentInfo & WithDescription(Aws::String &&value)
const RevisionLocation & GetPreviousRevision() const
DeploymentInfo & WithExternalId(const Aws::String &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentInfo & WithDeploymentConfigName(const Aws::String &value)
void SetAdditionalDeploymentStatusInfo(const char *value)
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
void SetCreator(DeploymentCreator &&value)
DeploymentInfo & WithCompleteTime(const Aws::Utils::DateTime &value)
void SetApplicationName(const Aws::String &value)
DeploymentInfo & WithDescription(const Aws::String &value)
void SetAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
DeploymentInfo & WithDeploymentId(const Aws::String &value)
void SetExternalId(Aws::String &&value)
void SetAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
DeploymentInfo & WithDescription(const char *value)
void SetStatus(DeploymentStatus &&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