AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentGroupInfo.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codedeploy/model/RevisionLocation.h>
11#include <aws/codedeploy/model/AlarmConfiguration.h>
12#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
13#include <aws/codedeploy/model/DeploymentStyle.h>
14#include <aws/codedeploy/model/OutdatedInstancesStrategy.h>
15#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
16#include <aws/codedeploy/model/LoadBalancerInfo.h>
17#include <aws/codedeploy/model/LastDeploymentInfo.h>
18#include <aws/codedeploy/model/EC2TagSet.h>
19#include <aws/codedeploy/model/OnPremisesTagSet.h>
20#include <aws/codedeploy/model/ComputePlatform.h>
21#include <aws/codedeploy/model/EC2TagFilter.h>
22#include <aws/codedeploy/model/TagFilter.h>
23#include <aws/codedeploy/model/AutoScalingGroup.h>
24#include <aws/codedeploy/model/TriggerConfig.h>
25#include <aws/codedeploy/model/ECSService.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 DeploymentGroupInfo();
52 AWS_CODEDEPLOY_API DeploymentGroupInfo(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 DeploymentGroupInfo& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
67 inline DeploymentGroupInfo& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
68 inline DeploymentGroupInfo& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
70
72
75 inline const Aws::String& GetDeploymentGroupId() const{ return m_deploymentGroupId; }
76 inline bool DeploymentGroupIdHasBeenSet() const { return m_deploymentGroupIdHasBeenSet; }
77 inline void SetDeploymentGroupId(const Aws::String& value) { m_deploymentGroupIdHasBeenSet = true; m_deploymentGroupId = value; }
78 inline void SetDeploymentGroupId(Aws::String&& value) { m_deploymentGroupIdHasBeenSet = true; m_deploymentGroupId = std::move(value); }
79 inline void SetDeploymentGroupId(const char* value) { m_deploymentGroupIdHasBeenSet = true; m_deploymentGroupId.assign(value); }
80 inline DeploymentGroupInfo& WithDeploymentGroupId(const Aws::String& value) { SetDeploymentGroupId(value); return *this;}
81 inline DeploymentGroupInfo& WithDeploymentGroupId(Aws::String&& value) { SetDeploymentGroupId(std::move(value)); return *this;}
82 inline DeploymentGroupInfo& WithDeploymentGroupId(const char* value) { SetDeploymentGroupId(value); return *this;}
84
86
89 inline const Aws::String& GetDeploymentGroupName() const{ return m_deploymentGroupName; }
90 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
91 inline void SetDeploymentGroupName(const Aws::String& value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName = value; }
92 inline void SetDeploymentGroupName(Aws::String&& value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName = std::move(value); }
93 inline void SetDeploymentGroupName(const char* value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName.assign(value); }
95 inline DeploymentGroupInfo& WithDeploymentGroupName(Aws::String&& value) { SetDeploymentGroupName(std::move(value)); return *this;}
96 inline DeploymentGroupInfo& WithDeploymentGroupName(const char* value) { SetDeploymentGroupName(value); return *this;}
98
100
103 inline const Aws::String& GetDeploymentConfigName() const{ return m_deploymentConfigName; }
104 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
105 inline void SetDeploymentConfigName(const Aws::String& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = value; }
106 inline void SetDeploymentConfigName(Aws::String&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::move(value); }
107 inline void SetDeploymentConfigName(const char* value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName.assign(value); }
109 inline DeploymentGroupInfo& WithDeploymentConfigName(Aws::String&& value) { SetDeploymentConfigName(std::move(value)); return *this;}
110 inline DeploymentGroupInfo& WithDeploymentConfigName(const char* value) { SetDeploymentConfigName(value); return *this;}
112
114
118 inline const Aws::Vector<EC2TagFilter>& GetEc2TagFilters() const{ return m_ec2TagFilters; }
119 inline bool Ec2TagFiltersHasBeenSet() const { return m_ec2TagFiltersHasBeenSet; }
120 inline void SetEc2TagFilters(const Aws::Vector<EC2TagFilter>& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters = value; }
121 inline void SetEc2TagFilters(Aws::Vector<EC2TagFilter>&& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters = std::move(value); }
123 inline DeploymentGroupInfo& WithEc2TagFilters(Aws::Vector<EC2TagFilter>&& value) { SetEc2TagFilters(std::move(value)); return *this;}
124 inline DeploymentGroupInfo& AddEc2TagFilters(const EC2TagFilter& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters.push_back(value); return *this; }
125 inline DeploymentGroupInfo& AddEc2TagFilters(EC2TagFilter&& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters.push_back(std::move(value)); return *this; }
127
129
133 inline const Aws::Vector<TagFilter>& GetOnPremisesInstanceTagFilters() const{ return m_onPremisesInstanceTagFilters; }
134 inline bool OnPremisesInstanceTagFiltersHasBeenSet() const { return m_onPremisesInstanceTagFiltersHasBeenSet; }
135 inline void SetOnPremisesInstanceTagFilters(const Aws::Vector<TagFilter>& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters = value; }
136 inline void SetOnPremisesInstanceTagFilters(Aws::Vector<TagFilter>&& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters = std::move(value); }
139 inline DeploymentGroupInfo& AddOnPremisesInstanceTagFilters(const TagFilter& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters.push_back(value); return *this; }
140 inline DeploymentGroupInfo& AddOnPremisesInstanceTagFilters(TagFilter&& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters.push_back(std::move(value)); return *this; }
142
144
147 inline const Aws::Vector<AutoScalingGroup>& GetAutoScalingGroups() const{ return m_autoScalingGroups; }
148 inline bool AutoScalingGroupsHasBeenSet() const { return m_autoScalingGroupsHasBeenSet; }
149 inline void SetAutoScalingGroups(const Aws::Vector<AutoScalingGroup>& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups = value; }
150 inline void SetAutoScalingGroups(Aws::Vector<AutoScalingGroup>&& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups = std::move(value); }
153 inline DeploymentGroupInfo& AddAutoScalingGroups(const AutoScalingGroup& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups.push_back(value); return *this; }
154 inline DeploymentGroupInfo& AddAutoScalingGroups(AutoScalingGroup&& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups.push_back(std::move(value)); return *this; }
156
158
165 inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
166 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
167 inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
168 inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); }
169 inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
170 inline DeploymentGroupInfo& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;}
171 inline DeploymentGroupInfo& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;}
172 inline DeploymentGroupInfo& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
174
176
180 inline const RevisionLocation& GetTargetRevision() const{ return m_targetRevision; }
181 inline bool TargetRevisionHasBeenSet() const { return m_targetRevisionHasBeenSet; }
182 inline void SetTargetRevision(const RevisionLocation& value) { m_targetRevisionHasBeenSet = true; m_targetRevision = value; }
183 inline void SetTargetRevision(RevisionLocation&& value) { m_targetRevisionHasBeenSet = true; m_targetRevision = std::move(value); }
184 inline DeploymentGroupInfo& WithTargetRevision(const RevisionLocation& value) { SetTargetRevision(value); return *this;}
185 inline DeploymentGroupInfo& WithTargetRevision(RevisionLocation&& value) { SetTargetRevision(std::move(value)); return *this;}
187
189
192 inline const Aws::Vector<TriggerConfig>& GetTriggerConfigurations() const{ return m_triggerConfigurations; }
193 inline bool TriggerConfigurationsHasBeenSet() const { return m_triggerConfigurationsHasBeenSet; }
194 inline void SetTriggerConfigurations(const Aws::Vector<TriggerConfig>& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations = value; }
195 inline void SetTriggerConfigurations(Aws::Vector<TriggerConfig>&& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations = std::move(value); }
198 inline DeploymentGroupInfo& AddTriggerConfigurations(const TriggerConfig& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations.push_back(value); return *this; }
199 inline DeploymentGroupInfo& AddTriggerConfigurations(TriggerConfig&& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations.push_back(std::move(value)); return *this; }
201
203
206 inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
207 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
208 inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; }
209 inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); }
211 inline DeploymentGroupInfo& WithAlarmConfiguration(AlarmConfiguration&& value) { SetAlarmConfiguration(std::move(value)); return *this;}
213
215
219 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const{ return m_autoRollbackConfiguration; }
220 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
221 inline void SetAutoRollbackConfiguration(const AutoRollbackConfiguration& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = value; }
222 inline void SetAutoRollbackConfiguration(AutoRollbackConfiguration&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::move(value); }
226
228
232 inline const DeploymentStyle& GetDeploymentStyle() const{ return m_deploymentStyle; }
233 inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
234 inline void SetDeploymentStyle(const DeploymentStyle& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = value; }
235 inline void SetDeploymentStyle(DeploymentStyle&& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = std::move(value); }
236 inline DeploymentGroupInfo& WithDeploymentStyle(const DeploymentStyle& value) { SetDeploymentStyle(value); return *this;}
237 inline DeploymentGroupInfo& WithDeploymentStyle(DeploymentStyle&& value) { SetDeploymentStyle(std::move(value)); return *this;}
239
241
251 inline const OutdatedInstancesStrategy& GetOutdatedInstancesStrategy() const{ return m_outdatedInstancesStrategy; }
252 inline bool OutdatedInstancesStrategyHasBeenSet() const { return m_outdatedInstancesStrategyHasBeenSet; }
253 inline void SetOutdatedInstancesStrategy(const OutdatedInstancesStrategy& value) { m_outdatedInstancesStrategyHasBeenSet = true; m_outdatedInstancesStrategy = value; }
254 inline void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy&& value) { m_outdatedInstancesStrategyHasBeenSet = true; m_outdatedInstancesStrategy = std::move(value); }
258
260
263 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const{ return m_blueGreenDeploymentConfiguration; }
264 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
265 inline void SetBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = value; }
266 inline void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration&& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = std::move(value); }
270
272
275 inline const LoadBalancerInfo& GetLoadBalancerInfo() const{ return m_loadBalancerInfo; }
276 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
277 inline void SetLoadBalancerInfo(const LoadBalancerInfo& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = value; }
278 inline void SetLoadBalancerInfo(LoadBalancerInfo&& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = std::move(value); }
280 inline DeploymentGroupInfo& WithLoadBalancerInfo(LoadBalancerInfo&& value) { SetLoadBalancerInfo(std::move(value)); return *this;}
282
284
288 inline const LastDeploymentInfo& GetLastSuccessfulDeployment() const{ return m_lastSuccessfulDeployment; }
289 inline bool LastSuccessfulDeploymentHasBeenSet() const { return m_lastSuccessfulDeploymentHasBeenSet; }
290 inline void SetLastSuccessfulDeployment(const LastDeploymentInfo& value) { m_lastSuccessfulDeploymentHasBeenSet = true; m_lastSuccessfulDeployment = value; }
291 inline void SetLastSuccessfulDeployment(LastDeploymentInfo&& value) { m_lastSuccessfulDeploymentHasBeenSet = true; m_lastSuccessfulDeployment = std::move(value); }
295
297
301 inline const LastDeploymentInfo& GetLastAttemptedDeployment() const{ return m_lastAttemptedDeployment; }
302 inline bool LastAttemptedDeploymentHasBeenSet() const { return m_lastAttemptedDeploymentHasBeenSet; }
303 inline void SetLastAttemptedDeployment(const LastDeploymentInfo& value) { m_lastAttemptedDeploymentHasBeenSet = true; m_lastAttemptedDeployment = value; }
304 inline void SetLastAttemptedDeployment(LastDeploymentInfo&& value) { m_lastAttemptedDeploymentHasBeenSet = true; m_lastAttemptedDeployment = std::move(value); }
308
310
315 inline const EC2TagSet& GetEc2TagSet() const{ return m_ec2TagSet; }
316 inline bool Ec2TagSetHasBeenSet() const { return m_ec2TagSetHasBeenSet; }
317 inline void SetEc2TagSet(const EC2TagSet& value) { m_ec2TagSetHasBeenSet = true; m_ec2TagSet = value; }
318 inline void SetEc2TagSet(EC2TagSet&& value) { m_ec2TagSetHasBeenSet = true; m_ec2TagSet = std::move(value); }
319 inline DeploymentGroupInfo& WithEc2TagSet(const EC2TagSet& value) { SetEc2TagSet(value); return *this;}
320 inline DeploymentGroupInfo& WithEc2TagSet(EC2TagSet&& value) { SetEc2TagSet(std::move(value)); return *this;}
322
324
329 inline const OnPremisesTagSet& GetOnPremisesTagSet() const{ return m_onPremisesTagSet; }
330 inline bool OnPremisesTagSetHasBeenSet() const { return m_onPremisesTagSetHasBeenSet; }
331 inline void SetOnPremisesTagSet(const OnPremisesTagSet& value) { m_onPremisesTagSetHasBeenSet = true; m_onPremisesTagSet = value; }
332 inline void SetOnPremisesTagSet(OnPremisesTagSet&& value) { m_onPremisesTagSetHasBeenSet = true; m_onPremisesTagSet = std::move(value); }
334 inline DeploymentGroupInfo& WithOnPremisesTagSet(OnPremisesTagSet&& value) { SetOnPremisesTagSet(std::move(value)); return *this;}
336
338
342 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
343 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
344 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
345 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
346 inline DeploymentGroupInfo& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;}
347 inline DeploymentGroupInfo& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
349
351
357 inline const Aws::Vector<ECSService>& GetEcsServices() const{ return m_ecsServices; }
358 inline bool EcsServicesHasBeenSet() const { return m_ecsServicesHasBeenSet; }
359 inline void SetEcsServices(const Aws::Vector<ECSService>& value) { m_ecsServicesHasBeenSet = true; m_ecsServices = value; }
360 inline void SetEcsServices(Aws::Vector<ECSService>&& value) { m_ecsServicesHasBeenSet = true; m_ecsServices = std::move(value); }
361 inline DeploymentGroupInfo& WithEcsServices(const Aws::Vector<ECSService>& value) { SetEcsServices(value); return *this;}
362 inline DeploymentGroupInfo& WithEcsServices(Aws::Vector<ECSService>&& value) { SetEcsServices(std::move(value)); return *this;}
363 inline DeploymentGroupInfo& AddEcsServices(const ECSService& value) { m_ecsServicesHasBeenSet = true; m_ecsServices.push_back(value); return *this; }
364 inline DeploymentGroupInfo& AddEcsServices(ECSService&& value) { m_ecsServicesHasBeenSet = true; m_ecsServices.push_back(std::move(value)); return *this; }
366
368
376 inline bool GetTerminationHookEnabled() const{ return m_terminationHookEnabled; }
377 inline bool TerminationHookEnabledHasBeenSet() const { return m_terminationHookEnabledHasBeenSet; }
378 inline void SetTerminationHookEnabled(bool value) { m_terminationHookEnabledHasBeenSet = true; m_terminationHookEnabled = value; }
381 private:
382
383 Aws::String m_applicationName;
384 bool m_applicationNameHasBeenSet = false;
385
386 Aws::String m_deploymentGroupId;
387 bool m_deploymentGroupIdHasBeenSet = false;
388
389 Aws::String m_deploymentGroupName;
390 bool m_deploymentGroupNameHasBeenSet = false;
391
392 Aws::String m_deploymentConfigName;
393 bool m_deploymentConfigNameHasBeenSet = false;
394
395 Aws::Vector<EC2TagFilter> m_ec2TagFilters;
396 bool m_ec2TagFiltersHasBeenSet = false;
397
398 Aws::Vector<TagFilter> m_onPremisesInstanceTagFilters;
399 bool m_onPremisesInstanceTagFiltersHasBeenSet = false;
400
401 Aws::Vector<AutoScalingGroup> m_autoScalingGroups;
402 bool m_autoScalingGroupsHasBeenSet = false;
403
404 Aws::String m_serviceRoleArn;
405 bool m_serviceRoleArnHasBeenSet = false;
406
407 RevisionLocation m_targetRevision;
408 bool m_targetRevisionHasBeenSet = false;
409
410 Aws::Vector<TriggerConfig> m_triggerConfigurations;
411 bool m_triggerConfigurationsHasBeenSet = false;
412
413 AlarmConfiguration m_alarmConfiguration;
414 bool m_alarmConfigurationHasBeenSet = false;
415
416 AutoRollbackConfiguration m_autoRollbackConfiguration;
417 bool m_autoRollbackConfigurationHasBeenSet = false;
418
419 DeploymentStyle m_deploymentStyle;
420 bool m_deploymentStyleHasBeenSet = false;
421
422 OutdatedInstancesStrategy m_outdatedInstancesStrategy;
423 bool m_outdatedInstancesStrategyHasBeenSet = false;
424
425 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
426 bool m_blueGreenDeploymentConfigurationHasBeenSet = false;
427
428 LoadBalancerInfo m_loadBalancerInfo;
429 bool m_loadBalancerInfoHasBeenSet = false;
430
431 LastDeploymentInfo m_lastSuccessfulDeployment;
432 bool m_lastSuccessfulDeploymentHasBeenSet = false;
433
434 LastDeploymentInfo m_lastAttemptedDeployment;
435 bool m_lastAttemptedDeploymentHasBeenSet = false;
436
437 EC2TagSet m_ec2TagSet;
438 bool m_ec2TagSetHasBeenSet = false;
439
440 OnPremisesTagSet m_onPremisesTagSet;
441 bool m_onPremisesTagSetHasBeenSet = false;
442
443 ComputePlatform m_computePlatform;
444 bool m_computePlatformHasBeenSet = false;
445
446 Aws::Vector<ECSService> m_ecsServices;
447 bool m_ecsServicesHasBeenSet = false;
448
449 bool m_terminationHookEnabled;
450 bool m_terminationHookEnabledHasBeenSet = false;
451 };
452
453} // namespace Model
454} // namespace CodeDeploy
455} // namespace Aws
void SetComputePlatform(ComputePlatform &&value)
DeploymentGroupInfo & WithLastSuccessfulDeployment(const LastDeploymentInfo &value)
AWS_CODEDEPLOY_API DeploymentGroupInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentGroupInfo & WithEcsServices(const Aws::Vector< ECSService > &value)
void SetDeploymentGroupId(const Aws::String &value)
const LastDeploymentInfo & GetLastAttemptedDeployment() const
DeploymentGroupInfo & WithBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration &value)
DeploymentGroupInfo & AddAutoScalingGroups(AutoScalingGroup &&value)
void SetEcsServices(Aws::Vector< ECSService > &&value)
void SetTargetRevision(RevisionLocation &&value)
void SetLastAttemptedDeployment(const LastDeploymentInfo &value)
DeploymentGroupInfo & WithComputePlatform(ComputePlatform &&value)
DeploymentGroupInfo & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration &&value)
void SetLoadBalancerInfo(LoadBalancerInfo &&value)
DeploymentGroupInfo & AddAutoScalingGroups(const AutoScalingGroup &value)
DeploymentGroupInfo & WithOnPremisesTagSet(const OnPremisesTagSet &value)
DeploymentGroupInfo & WithTerminationHookEnabled(bool value)
DeploymentGroupInfo & WithAlarmConfiguration(AlarmConfiguration &&value)
DeploymentGroupInfo & WithServiceRoleArn(const char *value)
DeploymentGroupInfo & WithOutdatedInstancesStrategy(const OutdatedInstancesStrategy &value)
DeploymentGroupInfo & WithLastAttemptedDeployment(LastDeploymentInfo &&value)
void SetEc2TagFilters(Aws::Vector< EC2TagFilter > &&value)
const Aws::Vector< AutoScalingGroup > & GetAutoScalingGroups() const
void SetDeploymentGroupName(const Aws::String &value)
DeploymentGroupInfo & WithEc2TagSet(const EC2TagSet &value)
DeploymentGroupInfo & WithServiceRoleArn(const Aws::String &value)
DeploymentGroupInfo & WithAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
DeploymentGroupInfo & AddEcsServices(const ECSService &value)
void SetOutdatedInstancesStrategy(const OutdatedInstancesStrategy &value)
void SetLastAttemptedDeployment(LastDeploymentInfo &&value)
DeploymentGroupInfo & WithEc2TagSet(EC2TagSet &&value)
DeploymentGroupInfo & WithOnPremisesInstanceTagFilters(Aws::Vector< TagFilter > &&value)
void SetAutoScalingGroups(const Aws::Vector< AutoScalingGroup > &value)
void SetOnPremisesInstanceTagFilters(const Aws::Vector< TagFilter > &value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
DeploymentGroupInfo & WithLoadBalancerInfo(LoadBalancerInfo &&value)
void SetOnPremisesInstanceTagFilters(Aws::Vector< TagFilter > &&value)
DeploymentGroupInfo & WithOnPremisesTagSet(OnPremisesTagSet &&value)
DeploymentGroupInfo & WithAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
void SetAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
const LastDeploymentInfo & GetLastSuccessfulDeployment() const
void SetLastSuccessfulDeployment(const LastDeploymentInfo &value)
void SetAutoScalingGroups(Aws::Vector< AutoScalingGroup > &&value)
void SetServiceRoleArn(const Aws::String &value)
void SetComputePlatform(const ComputePlatform &value)
DeploymentGroupInfo & WithEcsServices(Aws::Vector< ECSService > &&value)
DeploymentGroupInfo & WithDeploymentConfigName(Aws::String &&value)
DeploymentGroupInfo & WithDeploymentConfigName(const Aws::String &value)
void SetDeploymentStyle(DeploymentStyle &&value)
const LoadBalancerInfo & GetLoadBalancerInfo() const
const Aws::String & GetDeploymentGroupName() const
void SetLoadBalancerInfo(const LoadBalancerInfo &value)
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
void SetAlarmConfiguration(const AlarmConfiguration &value)
void SetOnPremisesTagSet(const OnPremisesTagSet &value)
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
DeploymentGroupInfo & WithTargetRevision(RevisionLocation &&value)
const OutdatedInstancesStrategy & GetOutdatedInstancesStrategy() const
void SetAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
const DeploymentStyle & GetDeploymentStyle() const
DeploymentGroupInfo & WithDeploymentStyle(const DeploymentStyle &value)
DeploymentGroupInfo & WithEc2TagFilters(const Aws::Vector< EC2TagFilter > &value)
DeploymentGroupInfo & WithOutdatedInstancesStrategy(OutdatedInstancesStrategy &&value)
DeploymentGroupInfo & WithDeploymentConfigName(const char *value)
void SetApplicationName(const Aws::String &value)
void SetEc2TagFilters(const Aws::Vector< EC2TagFilter > &value)
DeploymentGroupInfo & WithAutoScalingGroups(const Aws::Vector< AutoScalingGroup > &value)
const OnPremisesTagSet & GetOnPremisesTagSet() const
const AlarmConfiguration & GetAlarmConfiguration() const
DeploymentGroupInfo & WithLoadBalancerInfo(const LoadBalancerInfo &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentGroupInfo & WithTriggerConfigurations(Aws::Vector< TriggerConfig > &&value)
DeploymentGroupInfo & WithApplicationName(Aws::String &&value)
DeploymentGroupInfo & WithApplicationName(const Aws::String &value)
void SetTriggerConfigurations(const Aws::Vector< TriggerConfig > &value)
const Aws::String & GetDeploymentConfigName() const
DeploymentGroupInfo & WithDeploymentGroupId(const Aws::String &value)
DeploymentGroupInfo & AddEc2TagFilters(EC2TagFilter &&value)
DeploymentGroupInfo & WithLastSuccessfulDeployment(LastDeploymentInfo &&value)
DeploymentGroupInfo & WithApplicationName(const char *value)
DeploymentGroupInfo & AddOnPremisesInstanceTagFilters(const TagFilter &value)
void SetDeploymentConfigName(const Aws::String &value)
void SetTargetRevision(const RevisionLocation &value)
DeploymentGroupInfo & WithAutoScalingGroups(Aws::Vector< AutoScalingGroup > &&value)
DeploymentGroupInfo & WithDeploymentGroupName(Aws::String &&value)
DeploymentGroupInfo & WithDeploymentGroupName(const char *value)
const Aws::Vector< EC2TagFilter > & GetEc2TagFilters() const
DeploymentGroupInfo & WithTargetRevision(const RevisionLocation &value)
void SetLastSuccessfulDeployment(LastDeploymentInfo &&value)
DeploymentGroupInfo & AddEcsServices(ECSService &&value)
DeploymentGroupInfo & WithDeploymentGroupId(Aws::String &&value)
DeploymentGroupInfo & AddOnPremisesInstanceTagFilters(TagFilter &&value)
DeploymentGroupInfo & WithTriggerConfigurations(const Aws::Vector< TriggerConfig > &value)
const RevisionLocation & GetTargetRevision() const
void SetEcsServices(const Aws::Vector< ECSService > &value)
DeploymentGroupInfo & WithComputePlatform(const ComputePlatform &value)
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration &&value)
const Aws::Vector< TriggerConfig > & GetTriggerConfigurations() const
void SetOnPremisesTagSet(OnPremisesTagSet &&value)
void SetTriggerConfigurations(Aws::Vector< TriggerConfig > &&value)
const Aws::Vector< TagFilter > & GetOnPremisesInstanceTagFilters() const
DeploymentGroupInfo & AddEc2TagFilters(const EC2TagFilter &value)
DeploymentGroupInfo & WithLastAttemptedDeployment(const LastDeploymentInfo &value)
DeploymentGroupInfo & AddTriggerConfigurations(TriggerConfig &&value)
DeploymentGroupInfo & WithDeploymentGroupName(const Aws::String &value)
AWS_CODEDEPLOY_API DeploymentGroupInfo(Aws::Utils::Json::JsonView jsonValue)
DeploymentGroupInfo & WithServiceRoleArn(Aws::String &&value)
DeploymentGroupInfo & WithAlarmConfiguration(const AlarmConfiguration &value)
const Aws::Vector< ECSService > & GetEcsServices() const
DeploymentGroupInfo & WithDeploymentGroupId(const char *value)
DeploymentGroupInfo & WithDeploymentStyle(DeploymentStyle &&value)
void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy &&value)
DeploymentGroupInfo & WithOnPremisesInstanceTagFilters(const Aws::Vector< TagFilter > &value)
DeploymentGroupInfo & WithEc2TagFilters(Aws::Vector< EC2TagFilter > &&value)
void SetDeploymentStyle(const DeploymentStyle &value)
DeploymentGroupInfo & AddTriggerConfigurations(const TriggerConfig &value)
const ComputePlatform & GetComputePlatform() const
void SetBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration &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