AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeploymentGroupInfo.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/AutoScalingGroup.h>
11#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
12#include <aws/codedeploy/model/ComputePlatform.h>
13#include <aws/codedeploy/model/DeploymentStyle.h>
14#include <aws/codedeploy/model/EC2TagFilter.h>
15#include <aws/codedeploy/model/EC2TagSet.h>
16#include <aws/codedeploy/model/ECSService.h>
17#include <aws/codedeploy/model/LastDeploymentInfo.h>
18#include <aws/codedeploy/model/LoadBalancerInfo.h>
19#include <aws/codedeploy/model/OnPremisesTagSet.h>
20#include <aws/codedeploy/model/OutdatedInstancesStrategy.h>
21#include <aws/codedeploy/model/RevisionLocation.h>
22#include <aws/codedeploy/model/TagFilter.h>
23#include <aws/codedeploy/model/TriggerConfig.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 DeploymentGroupInfo() = default;
47 AWS_CODEDEPLOY_API DeploymentGroupInfo(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 DeploymentGroupInfo& WithApplicationName(ApplicationNameT&& value) {
64 SetApplicationName(std::forward<ApplicationNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDeploymentGroupId() const { return m_deploymentGroupId; }
74 inline bool DeploymentGroupIdHasBeenSet() const { return m_deploymentGroupIdHasBeenSet; }
75 template <typename DeploymentGroupIdT = Aws::String>
76 void SetDeploymentGroupId(DeploymentGroupIdT&& value) {
77 m_deploymentGroupIdHasBeenSet = true;
78 m_deploymentGroupId = std::forward<DeploymentGroupIdT>(value);
79 }
80 template <typename DeploymentGroupIdT = Aws::String>
81 DeploymentGroupInfo& WithDeploymentGroupId(DeploymentGroupIdT&& value) {
82 SetDeploymentGroupId(std::forward<DeploymentGroupIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDeploymentGroupName() const { return m_deploymentGroupName; }
92 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
93 template <typename DeploymentGroupNameT = Aws::String>
94 void SetDeploymentGroupName(DeploymentGroupNameT&& value) {
95 m_deploymentGroupNameHasBeenSet = true;
96 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
97 }
98 template <typename DeploymentGroupNameT = Aws::String>
99 DeploymentGroupInfo& WithDeploymentGroupName(DeploymentGroupNameT&& value) {
100 SetDeploymentGroupName(std::forward<DeploymentGroupNameT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDeploymentConfigName() const { return m_deploymentConfigName; }
110 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
111 template <typename DeploymentConfigNameT = Aws::String>
112 void SetDeploymentConfigName(DeploymentConfigNameT&& value) {
113 m_deploymentConfigNameHasBeenSet = true;
114 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
115 }
116 template <typename DeploymentConfigNameT = Aws::String>
117 DeploymentGroupInfo& WithDeploymentConfigName(DeploymentConfigNameT&& value) {
118 SetDeploymentConfigName(std::forward<DeploymentConfigNameT>(value));
119 return *this;
120 }
122
124
128 inline const Aws::Vector<EC2TagFilter>& GetEc2TagFilters() const { return m_ec2TagFilters; }
129 inline bool Ec2TagFiltersHasBeenSet() const { return m_ec2TagFiltersHasBeenSet; }
130 template <typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
131 void SetEc2TagFilters(Ec2TagFiltersT&& value) {
132 m_ec2TagFiltersHasBeenSet = true;
133 m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value);
134 }
135 template <typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
136 DeploymentGroupInfo& WithEc2TagFilters(Ec2TagFiltersT&& value) {
137 SetEc2TagFilters(std::forward<Ec2TagFiltersT>(value));
138 return *this;
139 }
140 template <typename Ec2TagFiltersT = EC2TagFilter>
141 DeploymentGroupInfo& AddEc2TagFilters(Ec2TagFiltersT&& value) {
142 m_ec2TagFiltersHasBeenSet = true;
143 m_ec2TagFilters.emplace_back(std::forward<Ec2TagFiltersT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::Vector<TagFilter>& GetOnPremisesInstanceTagFilters() const { return m_onPremisesInstanceTagFilters; }
154 inline bool OnPremisesInstanceTagFiltersHasBeenSet() const { return m_onPremisesInstanceTagFiltersHasBeenSet; }
155 template <typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
156 void SetOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) {
157 m_onPremisesInstanceTagFiltersHasBeenSet = true;
158 m_onPremisesInstanceTagFilters = std::forward<OnPremisesInstanceTagFiltersT>(value);
159 }
160 template <typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
161 DeploymentGroupInfo& WithOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) {
162 SetOnPremisesInstanceTagFilters(std::forward<OnPremisesInstanceTagFiltersT>(value));
163 return *this;
164 }
165 template <typename OnPremisesInstanceTagFiltersT = TagFilter>
166 DeploymentGroupInfo& AddOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) {
167 m_onPremisesInstanceTagFiltersHasBeenSet = true;
168 m_onPremisesInstanceTagFilters.emplace_back(std::forward<OnPremisesInstanceTagFiltersT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Vector<AutoScalingGroup>& GetAutoScalingGroups() const { return m_autoScalingGroups; }
178 inline bool AutoScalingGroupsHasBeenSet() const { return m_autoScalingGroupsHasBeenSet; }
179 template <typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
180 void SetAutoScalingGroups(AutoScalingGroupsT&& value) {
181 m_autoScalingGroupsHasBeenSet = true;
182 m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value);
183 }
184 template <typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
185 DeploymentGroupInfo& WithAutoScalingGroups(AutoScalingGroupsT&& value) {
186 SetAutoScalingGroups(std::forward<AutoScalingGroupsT>(value));
187 return *this;
188 }
189 template <typename AutoScalingGroupsT = AutoScalingGroup>
190 DeploymentGroupInfo& AddAutoScalingGroups(AutoScalingGroupsT&& value) {
191 m_autoScalingGroupsHasBeenSet = true;
192 m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value));
193 return *this;
194 }
196
198
205 inline const Aws::String& GetServiceRoleArn() const { return m_serviceRoleArn; }
206 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
207 template <typename ServiceRoleArnT = Aws::String>
208 void SetServiceRoleArn(ServiceRoleArnT&& value) {
209 m_serviceRoleArnHasBeenSet = true;
210 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
211 }
212 template <typename ServiceRoleArnT = Aws::String>
213 DeploymentGroupInfo& WithServiceRoleArn(ServiceRoleArnT&& value) {
214 SetServiceRoleArn(std::forward<ServiceRoleArnT>(value));
215 return *this;
216 }
218
220
224 inline const RevisionLocation& GetTargetRevision() const { return m_targetRevision; }
225 inline bool TargetRevisionHasBeenSet() const { return m_targetRevisionHasBeenSet; }
226 template <typename TargetRevisionT = RevisionLocation>
227 void SetTargetRevision(TargetRevisionT&& value) {
228 m_targetRevisionHasBeenSet = true;
229 m_targetRevision = std::forward<TargetRevisionT>(value);
230 }
231 template <typename TargetRevisionT = RevisionLocation>
232 DeploymentGroupInfo& WithTargetRevision(TargetRevisionT&& value) {
233 SetTargetRevision(std::forward<TargetRevisionT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::Vector<TriggerConfig>& GetTriggerConfigurations() const { return m_triggerConfigurations; }
243 inline bool TriggerConfigurationsHasBeenSet() const { return m_triggerConfigurationsHasBeenSet; }
244 template <typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
245 void SetTriggerConfigurations(TriggerConfigurationsT&& value) {
246 m_triggerConfigurationsHasBeenSet = true;
247 m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value);
248 }
249 template <typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
250 DeploymentGroupInfo& WithTriggerConfigurations(TriggerConfigurationsT&& value) {
251 SetTriggerConfigurations(std::forward<TriggerConfigurationsT>(value));
252 return *this;
253 }
254 template <typename TriggerConfigurationsT = TriggerConfig>
255 DeploymentGroupInfo& AddTriggerConfigurations(TriggerConfigurationsT&& value) {
256 m_triggerConfigurationsHasBeenSet = true;
257 m_triggerConfigurations.emplace_back(std::forward<TriggerConfigurationsT>(value));
258 return *this;
259 }
261
263
266 inline const AlarmConfiguration& GetAlarmConfiguration() const { return m_alarmConfiguration; }
267 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
268 template <typename AlarmConfigurationT = AlarmConfiguration>
269 void SetAlarmConfiguration(AlarmConfigurationT&& value) {
270 m_alarmConfigurationHasBeenSet = true;
271 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
272 }
273 template <typename AlarmConfigurationT = AlarmConfiguration>
274 DeploymentGroupInfo& WithAlarmConfiguration(AlarmConfigurationT&& value) {
275 SetAlarmConfiguration(std::forward<AlarmConfigurationT>(value));
276 return *this;
277 }
279
281
285 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const { return m_autoRollbackConfiguration; }
286 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
287 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
288 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
289 m_autoRollbackConfigurationHasBeenSet = true;
290 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
291 }
292 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
293 DeploymentGroupInfo& WithAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
294 SetAutoRollbackConfiguration(std::forward<AutoRollbackConfigurationT>(value));
295 return *this;
296 }
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) {
308 m_deploymentStyleHasBeenSet = true;
309 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
310 }
311 template <typename DeploymentStyleT = DeploymentStyle>
312 DeploymentGroupInfo& WithDeploymentStyle(DeploymentStyleT&& value) {
313 SetDeploymentStyle(std::forward<DeploymentStyleT>(value));
314 return *this;
315 }
317
319
329 inline OutdatedInstancesStrategy GetOutdatedInstancesStrategy() const { return m_outdatedInstancesStrategy; }
330 inline bool OutdatedInstancesStrategyHasBeenSet() const { return m_outdatedInstancesStrategyHasBeenSet; }
332 m_outdatedInstancesStrategyHasBeenSet = true;
333 m_outdatedInstancesStrategy = value;
334 }
337 return *this;
338 }
340
342
345 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const { return m_blueGreenDeploymentConfiguration; }
346 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
347 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
348 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
349 m_blueGreenDeploymentConfigurationHasBeenSet = true;
350 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
351 }
352 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
353 DeploymentGroupInfo& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
354 SetBlueGreenDeploymentConfiguration(std::forward<BlueGreenDeploymentConfigurationT>(value));
355 return *this;
356 }
358
360
363 inline const LoadBalancerInfo& GetLoadBalancerInfo() const { return m_loadBalancerInfo; }
364 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
365 template <typename LoadBalancerInfoT = LoadBalancerInfo>
366 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) {
367 m_loadBalancerInfoHasBeenSet = true;
368 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
369 }
370 template <typename LoadBalancerInfoT = LoadBalancerInfo>
371 DeploymentGroupInfo& WithLoadBalancerInfo(LoadBalancerInfoT&& value) {
372 SetLoadBalancerInfo(std::forward<LoadBalancerInfoT>(value));
373 return *this;
374 }
376
378
382 inline const LastDeploymentInfo& GetLastSuccessfulDeployment() const { return m_lastSuccessfulDeployment; }
383 inline bool LastSuccessfulDeploymentHasBeenSet() const { return m_lastSuccessfulDeploymentHasBeenSet; }
384 template <typename LastSuccessfulDeploymentT = LastDeploymentInfo>
385 void SetLastSuccessfulDeployment(LastSuccessfulDeploymentT&& value) {
386 m_lastSuccessfulDeploymentHasBeenSet = true;
387 m_lastSuccessfulDeployment = std::forward<LastSuccessfulDeploymentT>(value);
388 }
389 template <typename LastSuccessfulDeploymentT = LastDeploymentInfo>
390 DeploymentGroupInfo& WithLastSuccessfulDeployment(LastSuccessfulDeploymentT&& value) {
391 SetLastSuccessfulDeployment(std::forward<LastSuccessfulDeploymentT>(value));
392 return *this;
393 }
395
397
401 inline const LastDeploymentInfo& GetLastAttemptedDeployment() const { return m_lastAttemptedDeployment; }
402 inline bool LastAttemptedDeploymentHasBeenSet() const { return m_lastAttemptedDeploymentHasBeenSet; }
403 template <typename LastAttemptedDeploymentT = LastDeploymentInfo>
404 void SetLastAttemptedDeployment(LastAttemptedDeploymentT&& value) {
405 m_lastAttemptedDeploymentHasBeenSet = true;
406 m_lastAttemptedDeployment = std::forward<LastAttemptedDeploymentT>(value);
407 }
408 template <typename LastAttemptedDeploymentT = LastDeploymentInfo>
409 DeploymentGroupInfo& WithLastAttemptedDeployment(LastAttemptedDeploymentT&& value) {
410 SetLastAttemptedDeployment(std::forward<LastAttemptedDeploymentT>(value));
411 return *this;
412 }
414
416
421 inline const EC2TagSet& GetEc2TagSet() const { return m_ec2TagSet; }
422 inline bool Ec2TagSetHasBeenSet() const { return m_ec2TagSetHasBeenSet; }
423 template <typename Ec2TagSetT = EC2TagSet>
424 void SetEc2TagSet(Ec2TagSetT&& value) {
425 m_ec2TagSetHasBeenSet = true;
426 m_ec2TagSet = std::forward<Ec2TagSetT>(value);
427 }
428 template <typename Ec2TagSetT = EC2TagSet>
429 DeploymentGroupInfo& WithEc2TagSet(Ec2TagSetT&& value) {
430 SetEc2TagSet(std::forward<Ec2TagSetT>(value));
431 return *this;
432 }
434
436
441 inline const OnPremisesTagSet& GetOnPremisesTagSet() const { return m_onPremisesTagSet; }
442 inline bool OnPremisesTagSetHasBeenSet() const { return m_onPremisesTagSetHasBeenSet; }
443 template <typename OnPremisesTagSetT = OnPremisesTagSet>
444 void SetOnPremisesTagSet(OnPremisesTagSetT&& value) {
445 m_onPremisesTagSetHasBeenSet = true;
446 m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value);
447 }
448 template <typename OnPremisesTagSetT = OnPremisesTagSet>
449 DeploymentGroupInfo& WithOnPremisesTagSet(OnPremisesTagSetT&& value) {
450 SetOnPremisesTagSet(std::forward<OnPremisesTagSetT>(value));
451 return *this;
452 }
454
456
460 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
461 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
463 m_computePlatformHasBeenSet = true;
464 m_computePlatform = value;
465 }
467 SetComputePlatform(value);
468 return *this;
469 }
471
473
479 inline const Aws::Vector<ECSService>& GetEcsServices() const { return m_ecsServices; }
480 inline bool EcsServicesHasBeenSet() const { return m_ecsServicesHasBeenSet; }
481 template <typename EcsServicesT = Aws::Vector<ECSService>>
482 void SetEcsServices(EcsServicesT&& value) {
483 m_ecsServicesHasBeenSet = true;
484 m_ecsServices = std::forward<EcsServicesT>(value);
485 }
486 template <typename EcsServicesT = Aws::Vector<ECSService>>
487 DeploymentGroupInfo& WithEcsServices(EcsServicesT&& value) {
488 SetEcsServices(std::forward<EcsServicesT>(value));
489 return *this;
490 }
491 template <typename EcsServicesT = ECSService>
492 DeploymentGroupInfo& AddEcsServices(EcsServicesT&& value) {
493 m_ecsServicesHasBeenSet = true;
494 m_ecsServices.emplace_back(std::forward<EcsServicesT>(value));
495 return *this;
496 }
498
500
508 inline bool GetTerminationHookEnabled() const { return m_terminationHookEnabled; }
509 inline bool TerminationHookEnabledHasBeenSet() const { return m_terminationHookEnabledHasBeenSet; }
510 inline void SetTerminationHookEnabled(bool value) {
511 m_terminationHookEnabledHasBeenSet = true;
512 m_terminationHookEnabled = value;
513 }
516 return *this;
517 }
519 private:
520 Aws::String m_applicationName;
521
522 Aws::String m_deploymentGroupId;
523
524 Aws::String m_deploymentGroupName;
525
526 Aws::String m_deploymentConfigName;
527
528 Aws::Vector<EC2TagFilter> m_ec2TagFilters;
529
530 Aws::Vector<TagFilter> m_onPremisesInstanceTagFilters;
531
532 Aws::Vector<AutoScalingGroup> m_autoScalingGroups;
533
534 Aws::String m_serviceRoleArn;
535
536 RevisionLocation m_targetRevision;
537
538 Aws::Vector<TriggerConfig> m_triggerConfigurations;
539
540 AlarmConfiguration m_alarmConfiguration;
541
542 AutoRollbackConfiguration m_autoRollbackConfiguration;
543
544 DeploymentStyle m_deploymentStyle;
545
547
548 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
549
550 LoadBalancerInfo m_loadBalancerInfo;
551
552 LastDeploymentInfo m_lastSuccessfulDeployment;
553
554 LastDeploymentInfo m_lastAttemptedDeployment;
555
556 EC2TagSet m_ec2TagSet;
557
558 OnPremisesTagSet m_onPremisesTagSet;
559
560 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
561
562 Aws::Vector<ECSService> m_ecsServices;
563
564 bool m_terminationHookEnabled{false};
565 bool m_applicationNameHasBeenSet = false;
566 bool m_deploymentGroupIdHasBeenSet = false;
567 bool m_deploymentGroupNameHasBeenSet = false;
568 bool m_deploymentConfigNameHasBeenSet = false;
569 bool m_ec2TagFiltersHasBeenSet = false;
570 bool m_onPremisesInstanceTagFiltersHasBeenSet = false;
571 bool m_autoScalingGroupsHasBeenSet = false;
572 bool m_serviceRoleArnHasBeenSet = false;
573 bool m_targetRevisionHasBeenSet = false;
574 bool m_triggerConfigurationsHasBeenSet = false;
575 bool m_alarmConfigurationHasBeenSet = false;
576 bool m_autoRollbackConfigurationHasBeenSet = false;
577 bool m_deploymentStyleHasBeenSet = false;
578 bool m_outdatedInstancesStrategyHasBeenSet = false;
579 bool m_blueGreenDeploymentConfigurationHasBeenSet = false;
580 bool m_loadBalancerInfoHasBeenSet = false;
581 bool m_lastSuccessfulDeploymentHasBeenSet = false;
582 bool m_lastAttemptedDeploymentHasBeenSet = false;
583 bool m_ec2TagSetHasBeenSet = false;
584 bool m_onPremisesTagSetHasBeenSet = false;
585 bool m_computePlatformHasBeenSet = false;
586 bool m_ecsServicesHasBeenSet = false;
587 bool m_terminationHookEnabledHasBeenSet = false;
588};
589
590} // namespace Model
591} // namespace CodeDeploy
592} // namespace Aws
AWS_CODEDEPLOY_API DeploymentGroupInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
const LastDeploymentInfo & GetLastAttemptedDeployment() const
void SetTriggerConfigurations(TriggerConfigurationsT &&value)
void SetLastAttemptedDeployment(LastAttemptedDeploymentT &&value)
DeploymentGroupInfo & WithTerminationHookEnabled(bool value)
void SetTargetRevision(TargetRevisionT &&value)
void SetOnPremisesTagSet(OnPremisesTagSetT &&value)
DeploymentGroupInfo & WithOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
void SetAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
const Aws::Vector< AutoScalingGroup > & GetAutoScalingGroups() const
DeploymentGroupInfo & WithApplicationName(ApplicationNameT &&value)
void SetDeploymentConfigName(DeploymentConfigNameT &&value)
void SetServiceRoleArn(ServiceRoleArnT &&value)
DeploymentGroupInfo & WithDeploymentStyle(DeploymentStyleT &&value)
DeploymentGroupInfo & WithLastSuccessfulDeployment(LastSuccessfulDeploymentT &&value)
DeploymentGroupInfo & WithLastAttemptedDeployment(LastAttemptedDeploymentT &&value)
DeploymentGroupInfo & WithComputePlatform(ComputePlatform value)
const LastDeploymentInfo & GetLastSuccessfulDeployment() const
AWS_CODEDEPLOY_API DeploymentGroupInfo()=default
DeploymentGroupInfo & WithEc2TagSet(Ec2TagSetT &&value)
const LoadBalancerInfo & GetLoadBalancerInfo() const
void SetDeploymentStyle(DeploymentStyleT &&value)
OutdatedInstancesStrategy GetOutdatedInstancesStrategy() const
void SetDeploymentGroupId(DeploymentGroupIdT &&value)
const Aws::String & GetDeploymentGroupName() const
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
DeploymentGroupInfo & WithAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
DeploymentGroupInfo & WithOnPremisesTagSet(OnPremisesTagSetT &&value)
DeploymentGroupInfo & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
DeploymentGroupInfo & AddEcsServices(EcsServicesT &&value)
DeploymentGroupInfo & WithOutdatedInstancesStrategy(OutdatedInstancesStrategy value)
const DeploymentStyle & GetDeploymentStyle() const
DeploymentGroupInfo & AddAutoScalingGroups(AutoScalingGroupsT &&value)
DeploymentGroupInfo & WithTriggerConfigurations(TriggerConfigurationsT &&value)
DeploymentGroupInfo & WithDeploymentGroupName(DeploymentGroupNameT &&value)
DeploymentGroupInfo & WithDeploymentGroupId(DeploymentGroupIdT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
void SetLastSuccessfulDeployment(LastSuccessfulDeploymentT &&value)
const OnPremisesTagSet & GetOnPremisesTagSet() const
const AlarmConfiguration & GetAlarmConfiguration() const
DeploymentGroupInfo & AddOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentGroupName(DeploymentGroupNameT &&value)
DeploymentGroupInfo & WithTargetRevision(TargetRevisionT &&value)
const Aws::String & GetDeploymentConfigName() const
void SetAutoScalingGroups(AutoScalingGroupsT &&value)
const Aws::Vector< EC2TagFilter > & GetEc2TagFilters() const
DeploymentGroupInfo & AddEc2TagFilters(Ec2TagFiltersT &&value)
DeploymentGroupInfo & WithAlarmConfiguration(AlarmConfigurationT &&value)
DeploymentGroupInfo & WithEcsServices(EcsServicesT &&value)
const RevisionLocation & GetTargetRevision() const
void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy value)
DeploymentGroupInfo & WithServiceRoleArn(ServiceRoleArnT &&value)
DeploymentGroupInfo & WithEc2TagFilters(Ec2TagFiltersT &&value)
void SetApplicationName(ApplicationNameT &&value)
const Aws::Vector< TriggerConfig > & GetTriggerConfigurations() const
const Aws::Vector< TagFilter > & GetOnPremisesInstanceTagFilters() const
void SetOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
DeploymentGroupInfo & WithAutoScalingGroups(AutoScalingGroupsT &&value)
AWS_CODEDEPLOY_API DeploymentGroupInfo(Aws::Utils::Json::JsonView jsonValue)
DeploymentGroupInfo & AddTriggerConfigurations(TriggerConfigurationsT &&value)
const Aws::Vector< ECSService > & GetEcsServices() const
DeploymentGroupInfo & WithLoadBalancerInfo(LoadBalancerInfoT &&value)
void SetLoadBalancerInfo(LoadBalancerInfoT &&value)
DeploymentGroupInfo & WithDeploymentConfigName(DeploymentConfigNameT &&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