AWS SDK for C++

AWS SDK for C++ Version 1.11.939

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/EC2DeploymentOptions.h>
15#include <aws/codedeploy/model/EC2TagFilter.h>
16#include <aws/codedeploy/model/EC2TagSet.h>
17#include <aws/codedeploy/model/ECSService.h>
18#include <aws/codedeploy/model/LastDeploymentInfo.h>
19#include <aws/codedeploy/model/LoadBalancerInfo.h>
20#include <aws/codedeploy/model/OnPremisesTagSet.h>
21#include <aws/codedeploy/model/OutdatedInstancesStrategy.h>
22#include <aws/codedeploy/model/RevisionLocation.h>
23#include <aws/codedeploy/model/TagFilter.h>
24#include <aws/codedeploy/model/TriggerConfig.h>
25#include <aws/core/utils/memory/stl/AWSString.h>
26#include <aws/core/utils/memory/stl/AWSVector.h>
27#include <aws/crt/cbor/Cbor.h>
28
29#include <utility>
30
31namespace Aws {
32namespace Utils {
33namespace Cbor {
34class CborValue;
35} // namespace Cbor
36} // namespace Utils
37namespace CodeDeploy {
38namespace Model {
39
46 public:
47 AWS_CODEDEPLOY_API DeploymentGroupInfo() = default;
48 AWS_CODEDEPLOY_API DeploymentGroupInfo(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
49 AWS_CODEDEPLOY_API DeploymentGroupInfo& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
50 AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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 DeploymentGroupInfo& WithApplicationName(ApplicationNameT&& value) {
65 SetApplicationName(std::forward<ApplicationNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDeploymentGroupId() const { return m_deploymentGroupId; }
75 inline bool DeploymentGroupIdHasBeenSet() const { return m_deploymentGroupIdHasBeenSet; }
76 template <typename DeploymentGroupIdT = Aws::String>
77 void SetDeploymentGroupId(DeploymentGroupIdT&& value) {
78 m_deploymentGroupIdHasBeenSet = true;
79 m_deploymentGroupId = std::forward<DeploymentGroupIdT>(value);
80 }
81 template <typename DeploymentGroupIdT = Aws::String>
82 DeploymentGroupInfo& WithDeploymentGroupId(DeploymentGroupIdT&& value) {
83 SetDeploymentGroupId(std::forward<DeploymentGroupIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDeploymentGroupName() const { return m_deploymentGroupName; }
93 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
94 template <typename DeploymentGroupNameT = Aws::String>
95 void SetDeploymentGroupName(DeploymentGroupNameT&& value) {
96 m_deploymentGroupNameHasBeenSet = true;
97 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
98 }
99 template <typename DeploymentGroupNameT = Aws::String>
100 DeploymentGroupInfo& WithDeploymentGroupName(DeploymentGroupNameT&& value) {
101 SetDeploymentGroupName(std::forward<DeploymentGroupNameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDeploymentConfigName() const { return m_deploymentConfigName; }
111 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
112 template <typename DeploymentConfigNameT = Aws::String>
113 void SetDeploymentConfigName(DeploymentConfigNameT&& value) {
114 m_deploymentConfigNameHasBeenSet = true;
115 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
116 }
117 template <typename DeploymentConfigNameT = Aws::String>
118 DeploymentGroupInfo& WithDeploymentConfigName(DeploymentConfigNameT&& value) {
119 SetDeploymentConfigName(std::forward<DeploymentConfigNameT>(value));
120 return *this;
121 }
123
125
129 inline const Aws::Vector<EC2TagFilter>& GetEc2TagFilters() const { return m_ec2TagFilters; }
130 inline bool Ec2TagFiltersHasBeenSet() const { return m_ec2TagFiltersHasBeenSet; }
131 template <typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
132 void SetEc2TagFilters(Ec2TagFiltersT&& value) {
133 m_ec2TagFiltersHasBeenSet = true;
134 m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value);
135 }
136 template <typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
137 DeploymentGroupInfo& WithEc2TagFilters(Ec2TagFiltersT&& value) {
138 SetEc2TagFilters(std::forward<Ec2TagFiltersT>(value));
139 return *this;
140 }
141 template <typename Ec2TagFiltersT = EC2TagFilter>
142 DeploymentGroupInfo& AddEc2TagFilters(Ec2TagFiltersT&& value) {
143 m_ec2TagFiltersHasBeenSet = true;
144 m_ec2TagFilters.emplace_back(std::forward<Ec2TagFiltersT>(value));
145 return *this;
146 }
148
150
154 inline const Aws::Vector<TagFilter>& GetOnPremisesInstanceTagFilters() const { return m_onPremisesInstanceTagFilters; }
155 inline bool OnPremisesInstanceTagFiltersHasBeenSet() const { return m_onPremisesInstanceTagFiltersHasBeenSet; }
156 template <typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
157 void SetOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) {
158 m_onPremisesInstanceTagFiltersHasBeenSet = true;
159 m_onPremisesInstanceTagFilters = std::forward<OnPremisesInstanceTagFiltersT>(value);
160 }
161 template <typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
162 DeploymentGroupInfo& WithOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) {
163 SetOnPremisesInstanceTagFilters(std::forward<OnPremisesInstanceTagFiltersT>(value));
164 return *this;
165 }
166 template <typename OnPremisesInstanceTagFiltersT = TagFilter>
167 DeploymentGroupInfo& AddOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) {
168 m_onPremisesInstanceTagFiltersHasBeenSet = true;
169 m_onPremisesInstanceTagFilters.emplace_back(std::forward<OnPremisesInstanceTagFiltersT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Vector<AutoScalingGroup>& GetAutoScalingGroups() const { return m_autoScalingGroups; }
179 inline bool AutoScalingGroupsHasBeenSet() const { return m_autoScalingGroupsHasBeenSet; }
180 template <typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
181 void SetAutoScalingGroups(AutoScalingGroupsT&& value) {
182 m_autoScalingGroupsHasBeenSet = true;
183 m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value);
184 }
185 template <typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
186 DeploymentGroupInfo& WithAutoScalingGroups(AutoScalingGroupsT&& value) {
187 SetAutoScalingGroups(std::forward<AutoScalingGroupsT>(value));
188 return *this;
189 }
190 template <typename AutoScalingGroupsT = AutoScalingGroup>
191 DeploymentGroupInfo& AddAutoScalingGroups(AutoScalingGroupsT&& value) {
192 m_autoScalingGroupsHasBeenSet = true;
193 m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value));
194 return *this;
195 }
197
199
206 inline const Aws::String& GetServiceRoleArn() const { return m_serviceRoleArn; }
207 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
208 template <typename ServiceRoleArnT = Aws::String>
209 void SetServiceRoleArn(ServiceRoleArnT&& value) {
210 m_serviceRoleArnHasBeenSet = true;
211 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
212 }
213 template <typename ServiceRoleArnT = Aws::String>
214 DeploymentGroupInfo& WithServiceRoleArn(ServiceRoleArnT&& value) {
215 SetServiceRoleArn(std::forward<ServiceRoleArnT>(value));
216 return *this;
217 }
219
221
225 inline const RevisionLocation& GetTargetRevision() const { return m_targetRevision; }
226 inline bool TargetRevisionHasBeenSet() const { return m_targetRevisionHasBeenSet; }
227 template <typename TargetRevisionT = RevisionLocation>
228 void SetTargetRevision(TargetRevisionT&& value) {
229 m_targetRevisionHasBeenSet = true;
230 m_targetRevision = std::forward<TargetRevisionT>(value);
231 }
232 template <typename TargetRevisionT = RevisionLocation>
233 DeploymentGroupInfo& WithTargetRevision(TargetRevisionT&& value) {
234 SetTargetRevision(std::forward<TargetRevisionT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::Vector<TriggerConfig>& GetTriggerConfigurations() const { return m_triggerConfigurations; }
244 inline bool TriggerConfigurationsHasBeenSet() const { return m_triggerConfigurationsHasBeenSet; }
245 template <typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
246 void SetTriggerConfigurations(TriggerConfigurationsT&& value) {
247 m_triggerConfigurationsHasBeenSet = true;
248 m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value);
249 }
250 template <typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
251 DeploymentGroupInfo& WithTriggerConfigurations(TriggerConfigurationsT&& value) {
252 SetTriggerConfigurations(std::forward<TriggerConfigurationsT>(value));
253 return *this;
254 }
255 template <typename TriggerConfigurationsT = TriggerConfig>
256 DeploymentGroupInfo& AddTriggerConfigurations(TriggerConfigurationsT&& value) {
257 m_triggerConfigurationsHasBeenSet = true;
258 m_triggerConfigurations.emplace_back(std::forward<TriggerConfigurationsT>(value));
259 return *this;
260 }
262
264
267 inline const AlarmConfiguration& GetAlarmConfiguration() const { return m_alarmConfiguration; }
268 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
269 template <typename AlarmConfigurationT = AlarmConfiguration>
270 void SetAlarmConfiguration(AlarmConfigurationT&& value) {
271 m_alarmConfigurationHasBeenSet = true;
272 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
273 }
274 template <typename AlarmConfigurationT = AlarmConfiguration>
275 DeploymentGroupInfo& WithAlarmConfiguration(AlarmConfigurationT&& value) {
276 SetAlarmConfiguration(std::forward<AlarmConfigurationT>(value));
277 return *this;
278 }
280
282
286 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const { return m_autoRollbackConfiguration; }
287 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
288 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
289 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
290 m_autoRollbackConfigurationHasBeenSet = true;
291 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
292 }
293 template <typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
294 DeploymentGroupInfo& WithAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) {
295 SetAutoRollbackConfiguration(std::forward<AutoRollbackConfigurationT>(value));
296 return *this;
297 }
299
301
305 inline const DeploymentStyle& GetDeploymentStyle() const { return m_deploymentStyle; }
306 inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
307 template <typename DeploymentStyleT = DeploymentStyle>
308 void SetDeploymentStyle(DeploymentStyleT&& value) {
309 m_deploymentStyleHasBeenSet = true;
310 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
311 }
312 template <typename DeploymentStyleT = DeploymentStyle>
313 DeploymentGroupInfo& WithDeploymentStyle(DeploymentStyleT&& value) {
314 SetDeploymentStyle(std::forward<DeploymentStyleT>(value));
315 return *this;
316 }
318
320
330 inline OutdatedInstancesStrategy GetOutdatedInstancesStrategy() const { return m_outdatedInstancesStrategy; }
331 inline bool OutdatedInstancesStrategyHasBeenSet() const { return m_outdatedInstancesStrategyHasBeenSet; }
333 m_outdatedInstancesStrategyHasBeenSet = true;
334 m_outdatedInstancesStrategy = value;
335 }
341
343
346 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const { return m_blueGreenDeploymentConfiguration; }
347 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
348 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
349 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
350 m_blueGreenDeploymentConfigurationHasBeenSet = true;
351 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
352 }
353 template <typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
354 DeploymentGroupInfo& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) {
355 SetBlueGreenDeploymentConfiguration(std::forward<BlueGreenDeploymentConfigurationT>(value));
356 return *this;
357 }
359
361
364 inline const LoadBalancerInfo& GetLoadBalancerInfo() const { return m_loadBalancerInfo; }
365 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
366 template <typename LoadBalancerInfoT = LoadBalancerInfo>
367 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) {
368 m_loadBalancerInfoHasBeenSet = true;
369 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
370 }
371 template <typename LoadBalancerInfoT = LoadBalancerInfo>
372 DeploymentGroupInfo& WithLoadBalancerInfo(LoadBalancerInfoT&& value) {
373 SetLoadBalancerInfo(std::forward<LoadBalancerInfoT>(value));
374 return *this;
375 }
377
379
383 inline const LastDeploymentInfo& GetLastSuccessfulDeployment() const { return m_lastSuccessfulDeployment; }
384 inline bool LastSuccessfulDeploymentHasBeenSet() const { return m_lastSuccessfulDeploymentHasBeenSet; }
385 template <typename LastSuccessfulDeploymentT = LastDeploymentInfo>
386 void SetLastSuccessfulDeployment(LastSuccessfulDeploymentT&& value) {
387 m_lastSuccessfulDeploymentHasBeenSet = true;
388 m_lastSuccessfulDeployment = std::forward<LastSuccessfulDeploymentT>(value);
389 }
390 template <typename LastSuccessfulDeploymentT = LastDeploymentInfo>
391 DeploymentGroupInfo& WithLastSuccessfulDeployment(LastSuccessfulDeploymentT&& value) {
392 SetLastSuccessfulDeployment(std::forward<LastSuccessfulDeploymentT>(value));
393 return *this;
394 }
396
398
402 inline const LastDeploymentInfo& GetLastAttemptedDeployment() const { return m_lastAttemptedDeployment; }
403 inline bool LastAttemptedDeploymentHasBeenSet() const { return m_lastAttemptedDeploymentHasBeenSet; }
404 template <typename LastAttemptedDeploymentT = LastDeploymentInfo>
405 void SetLastAttemptedDeployment(LastAttemptedDeploymentT&& value) {
406 m_lastAttemptedDeploymentHasBeenSet = true;
407 m_lastAttemptedDeployment = std::forward<LastAttemptedDeploymentT>(value);
408 }
409 template <typename LastAttemptedDeploymentT = LastDeploymentInfo>
410 DeploymentGroupInfo& WithLastAttemptedDeployment(LastAttemptedDeploymentT&& value) {
411 SetLastAttemptedDeployment(std::forward<LastAttemptedDeploymentT>(value));
412 return *this;
413 }
415
417
422 inline const EC2TagSet& GetEc2TagSet() const { return m_ec2TagSet; }
423 inline bool Ec2TagSetHasBeenSet() const { return m_ec2TagSetHasBeenSet; }
424 template <typename Ec2TagSetT = EC2TagSet>
425 void SetEc2TagSet(Ec2TagSetT&& value) {
426 m_ec2TagSetHasBeenSet = true;
427 m_ec2TagSet = std::forward<Ec2TagSetT>(value);
428 }
429 template <typename Ec2TagSetT = EC2TagSet>
430 DeploymentGroupInfo& WithEc2TagSet(Ec2TagSetT&& value) {
431 SetEc2TagSet(std::forward<Ec2TagSetT>(value));
432 return *this;
433 }
435
437
442 inline const OnPremisesTagSet& GetOnPremisesTagSet() const { return m_onPremisesTagSet; }
443 inline bool OnPremisesTagSetHasBeenSet() const { return m_onPremisesTagSetHasBeenSet; }
444 template <typename OnPremisesTagSetT = OnPremisesTagSet>
445 void SetOnPremisesTagSet(OnPremisesTagSetT&& value) {
446 m_onPremisesTagSetHasBeenSet = true;
447 m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value);
448 }
449 template <typename OnPremisesTagSetT = OnPremisesTagSet>
450 DeploymentGroupInfo& WithOnPremisesTagSet(OnPremisesTagSetT&& value) {
451 SetOnPremisesTagSet(std::forward<OnPremisesTagSetT>(value));
452 return *this;
453 }
455
457
461 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
462 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
464 m_computePlatformHasBeenSet = true;
465 m_computePlatform = value;
466 }
468 SetComputePlatform(value);
469 return *this;
470 }
472
474
480 inline const Aws::Vector<ECSService>& GetEcsServices() const { return m_ecsServices; }
481 inline bool EcsServicesHasBeenSet() const { return m_ecsServicesHasBeenSet; }
482 template <typename EcsServicesT = Aws::Vector<ECSService>>
483 void SetEcsServices(EcsServicesT&& value) {
484 m_ecsServicesHasBeenSet = true;
485 m_ecsServices = std::forward<EcsServicesT>(value);
486 }
487 template <typename EcsServicesT = Aws::Vector<ECSService>>
488 DeploymentGroupInfo& WithEcsServices(EcsServicesT&& value) {
489 SetEcsServices(std::forward<EcsServicesT>(value));
490 return *this;
491 }
492 template <typename EcsServicesT = ECSService>
493 DeploymentGroupInfo& AddEcsServices(EcsServicesT&& value) {
494 m_ecsServicesHasBeenSet = true;
495 m_ecsServices.emplace_back(std::forward<EcsServicesT>(value));
496 return *this;
497 }
499
501
502 inline const EC2DeploymentOptions& GetEc2DeploymentOptions() const { return m_ec2DeploymentOptions; }
503 inline bool Ec2DeploymentOptionsHasBeenSet() const { return m_ec2DeploymentOptionsHasBeenSet; }
504 template <typename Ec2DeploymentOptionsT = EC2DeploymentOptions>
505 void SetEc2DeploymentOptions(Ec2DeploymentOptionsT&& value) {
506 m_ec2DeploymentOptionsHasBeenSet = true;
507 m_ec2DeploymentOptions = std::forward<Ec2DeploymentOptionsT>(value);
508 }
509 template <typename Ec2DeploymentOptionsT = EC2DeploymentOptions>
510 DeploymentGroupInfo& WithEc2DeploymentOptions(Ec2DeploymentOptionsT&& value) {
511 SetEc2DeploymentOptions(std::forward<Ec2DeploymentOptionsT>(value));
512 return *this;
513 }
515
517
525 inline bool GetTerminationHookEnabled() const { return m_terminationHookEnabled; }
526 inline bool TerminationHookEnabledHasBeenSet() const { return m_terminationHookEnabledHasBeenSet; }
527 inline void SetTerminationHookEnabled(bool value) {
528 m_terminationHookEnabledHasBeenSet = true;
529 m_terminationHookEnabled = value;
530 }
533 return *this;
534 }
536 private:
537 Aws::String m_applicationName;
538
539 Aws::String m_deploymentGroupId;
540
541 Aws::String m_deploymentGroupName;
542
543 Aws::String m_deploymentConfigName;
544
545 Aws::Vector<EC2TagFilter> m_ec2TagFilters;
546
547 Aws::Vector<TagFilter> m_onPremisesInstanceTagFilters;
548
549 Aws::Vector<AutoScalingGroup> m_autoScalingGroups;
550
551 Aws::String m_serviceRoleArn;
552
553 RevisionLocation m_targetRevision;
554
555 Aws::Vector<TriggerConfig> m_triggerConfigurations;
556
557 AlarmConfiguration m_alarmConfiguration;
558
559 AutoRollbackConfiguration m_autoRollbackConfiguration;
560
561 DeploymentStyle m_deploymentStyle;
562
564
565 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
566
567 LoadBalancerInfo m_loadBalancerInfo;
568
569 LastDeploymentInfo m_lastSuccessfulDeployment;
570
571 LastDeploymentInfo m_lastAttemptedDeployment;
572
573 EC2TagSet m_ec2TagSet;
574
575 OnPremisesTagSet m_onPremisesTagSet;
576
577 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
578
579 Aws::Vector<ECSService> m_ecsServices;
580
581 EC2DeploymentOptions m_ec2DeploymentOptions;
582
583 bool m_terminationHookEnabled{false};
584 bool m_applicationNameHasBeenSet = false;
585 bool m_deploymentGroupIdHasBeenSet = false;
586 bool m_deploymentGroupNameHasBeenSet = false;
587 bool m_deploymentConfigNameHasBeenSet = false;
588 bool m_ec2TagFiltersHasBeenSet = false;
589 bool m_onPremisesInstanceTagFiltersHasBeenSet = false;
590 bool m_autoScalingGroupsHasBeenSet = false;
591 bool m_serviceRoleArnHasBeenSet = false;
592 bool m_targetRevisionHasBeenSet = false;
593 bool m_triggerConfigurationsHasBeenSet = false;
594 bool m_alarmConfigurationHasBeenSet = false;
595 bool m_autoRollbackConfigurationHasBeenSet = false;
596 bool m_deploymentStyleHasBeenSet = false;
597 bool m_outdatedInstancesStrategyHasBeenSet = false;
598 bool m_blueGreenDeploymentConfigurationHasBeenSet = false;
599 bool m_loadBalancerInfoHasBeenSet = false;
600 bool m_lastSuccessfulDeploymentHasBeenSet = false;
601 bool m_lastAttemptedDeploymentHasBeenSet = false;
602 bool m_ec2TagSetHasBeenSet = false;
603 bool m_onPremisesTagSetHasBeenSet = false;
604 bool m_computePlatformHasBeenSet = false;
605 bool m_ecsServicesHasBeenSet = false;
606 bool m_ec2DeploymentOptionsHasBeenSet = false;
607 bool m_terminationHookEnabledHasBeenSet = false;
608};
609
610} // namespace Model
611} // namespace CodeDeploy
612} // namespace Aws
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
const LastDeploymentInfo & GetLastAttemptedDeployment() const
void SetTriggerConfigurations(TriggerConfigurationsT &&value)
void SetLastAttemptedDeployment(LastAttemptedDeploymentT &&value)
DeploymentGroupInfo & WithTerminationHookEnabled(bool value)
const EC2DeploymentOptions & GetEc2DeploymentOptions() const
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)
DeploymentGroupInfo & WithEc2DeploymentOptions(Ec2DeploymentOptionsT &&value)
AWS_CODEDEPLOY_API DeploymentGroupInfo & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetEc2DeploymentOptions(Ec2DeploymentOptionsT &&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)
AWS_CODEDEPLOY_API DeploymentGroupInfo(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
OutdatedInstancesStrategy GetOutdatedInstancesStrategy() const
void SetDeploymentGroupId(DeploymentGroupIdT &&value)
AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
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)
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)
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