AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationNameT = Aws::String>
64 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
65 template<typename ApplicationNameT = Aws::String>
66 DeploymentGroupInfo& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
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) { m_deploymentGroupIdHasBeenSet = true; m_deploymentGroupId = std::forward<DeploymentGroupIdT>(value); }
77 template<typename DeploymentGroupIdT = Aws::String>
78 DeploymentGroupInfo& WithDeploymentGroupId(DeploymentGroupIdT&& value) { SetDeploymentGroupId(std::forward<DeploymentGroupIdT>(value)); return *this;}
80
82
85 inline const Aws::String& GetDeploymentGroupName() const { return m_deploymentGroupName; }
86 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
87 template<typename DeploymentGroupNameT = Aws::String>
88 void SetDeploymentGroupName(DeploymentGroupNameT&& value) { m_deploymentGroupNameHasBeenSet = true; m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value); }
89 template<typename DeploymentGroupNameT = Aws::String>
90 DeploymentGroupInfo& WithDeploymentGroupName(DeploymentGroupNameT&& value) { SetDeploymentGroupName(std::forward<DeploymentGroupNameT>(value)); return *this;}
92
94
97 inline const Aws::String& GetDeploymentConfigName() const { return m_deploymentConfigName; }
98 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
99 template<typename DeploymentConfigNameT = Aws::String>
100 void SetDeploymentConfigName(DeploymentConfigNameT&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value); }
101 template<typename DeploymentConfigNameT = Aws::String>
102 DeploymentGroupInfo& WithDeploymentConfigName(DeploymentConfigNameT&& value) { SetDeploymentConfigName(std::forward<DeploymentConfigNameT>(value)); return *this;}
104
106
110 inline const Aws::Vector<EC2TagFilter>& GetEc2TagFilters() const { return m_ec2TagFilters; }
111 inline bool Ec2TagFiltersHasBeenSet() const { return m_ec2TagFiltersHasBeenSet; }
112 template<typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
113 void SetEc2TagFilters(Ec2TagFiltersT&& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value); }
114 template<typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
115 DeploymentGroupInfo& WithEc2TagFilters(Ec2TagFiltersT&& value) { SetEc2TagFilters(std::forward<Ec2TagFiltersT>(value)); return *this;}
116 template<typename Ec2TagFiltersT = EC2TagFilter>
117 DeploymentGroupInfo& AddEc2TagFilters(Ec2TagFiltersT&& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters.emplace_back(std::forward<Ec2TagFiltersT>(value)); return *this; }
119
121
125 inline const Aws::Vector<TagFilter>& GetOnPremisesInstanceTagFilters() const { return m_onPremisesInstanceTagFilters; }
126 inline bool OnPremisesInstanceTagFiltersHasBeenSet() const { return m_onPremisesInstanceTagFiltersHasBeenSet; }
127 template<typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
128 void SetOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters = std::forward<OnPremisesInstanceTagFiltersT>(value); }
129 template<typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
130 DeploymentGroupInfo& WithOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) { SetOnPremisesInstanceTagFilters(std::forward<OnPremisesInstanceTagFiltersT>(value)); return *this;}
131 template<typename OnPremisesInstanceTagFiltersT = TagFilter>
132 DeploymentGroupInfo& AddOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters.emplace_back(std::forward<OnPremisesInstanceTagFiltersT>(value)); return *this; }
134
136
139 inline const Aws::Vector<AutoScalingGroup>& GetAutoScalingGroups() const { return m_autoScalingGroups; }
140 inline bool AutoScalingGroupsHasBeenSet() const { return m_autoScalingGroupsHasBeenSet; }
141 template<typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
142 void SetAutoScalingGroups(AutoScalingGroupsT&& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value); }
143 template<typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
144 DeploymentGroupInfo& WithAutoScalingGroups(AutoScalingGroupsT&& value) { SetAutoScalingGroups(std::forward<AutoScalingGroupsT>(value)); return *this;}
145 template<typename AutoScalingGroupsT = AutoScalingGroup>
146 DeploymentGroupInfo& AddAutoScalingGroups(AutoScalingGroupsT&& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value)); return *this; }
148
150
157 inline const Aws::String& GetServiceRoleArn() const { return m_serviceRoleArn; }
158 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
159 template<typename ServiceRoleArnT = Aws::String>
160 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
161 template<typename ServiceRoleArnT = Aws::String>
162 DeploymentGroupInfo& WithServiceRoleArn(ServiceRoleArnT&& value) { SetServiceRoleArn(std::forward<ServiceRoleArnT>(value)); return *this;}
164
166
170 inline const RevisionLocation& GetTargetRevision() const { return m_targetRevision; }
171 inline bool TargetRevisionHasBeenSet() const { return m_targetRevisionHasBeenSet; }
172 template<typename TargetRevisionT = RevisionLocation>
173 void SetTargetRevision(TargetRevisionT&& value) { m_targetRevisionHasBeenSet = true; m_targetRevision = std::forward<TargetRevisionT>(value); }
174 template<typename TargetRevisionT = RevisionLocation>
175 DeploymentGroupInfo& WithTargetRevision(TargetRevisionT&& value) { SetTargetRevision(std::forward<TargetRevisionT>(value)); return *this;}
177
179
182 inline const Aws::Vector<TriggerConfig>& GetTriggerConfigurations() const { return m_triggerConfigurations; }
183 inline bool TriggerConfigurationsHasBeenSet() const { return m_triggerConfigurationsHasBeenSet; }
184 template<typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
185 void SetTriggerConfigurations(TriggerConfigurationsT&& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value); }
186 template<typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
187 DeploymentGroupInfo& WithTriggerConfigurations(TriggerConfigurationsT&& value) { SetTriggerConfigurations(std::forward<TriggerConfigurationsT>(value)); return *this;}
188 template<typename TriggerConfigurationsT = TriggerConfig>
189 DeploymentGroupInfo& AddTriggerConfigurations(TriggerConfigurationsT&& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations.emplace_back(std::forward<TriggerConfigurationsT>(value)); return *this; }
191
193
196 inline const AlarmConfiguration& GetAlarmConfiguration() const { return m_alarmConfiguration; }
197 inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
198 template<typename AlarmConfigurationT = AlarmConfiguration>
199 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
200 template<typename AlarmConfigurationT = AlarmConfiguration>
201 DeploymentGroupInfo& WithAlarmConfiguration(AlarmConfigurationT&& value) { SetAlarmConfiguration(std::forward<AlarmConfigurationT>(value)); return *this;}
203
205
209 inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const { return m_autoRollbackConfiguration; }
210 inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
211 template<typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
212 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value); }
213 template<typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
214 DeploymentGroupInfo& WithAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { SetAutoRollbackConfiguration(std::forward<AutoRollbackConfigurationT>(value)); return *this;}
216
218
222 inline const DeploymentStyle& GetDeploymentStyle() const { return m_deploymentStyle; }
223 inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
224 template<typename DeploymentStyleT = DeploymentStyle>
225 void SetDeploymentStyle(DeploymentStyleT&& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = std::forward<DeploymentStyleT>(value); }
226 template<typename DeploymentStyleT = DeploymentStyle>
227 DeploymentGroupInfo& WithDeploymentStyle(DeploymentStyleT&& value) { SetDeploymentStyle(std::forward<DeploymentStyleT>(value)); return *this;}
229
231
241 inline OutdatedInstancesStrategy GetOutdatedInstancesStrategy() const { return m_outdatedInstancesStrategy; }
242 inline bool OutdatedInstancesStrategyHasBeenSet() const { return m_outdatedInstancesStrategyHasBeenSet; }
243 inline void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy value) { m_outdatedInstancesStrategyHasBeenSet = true; m_outdatedInstancesStrategy = value; }
246
248
251 inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const { return m_blueGreenDeploymentConfiguration; }
252 inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
253 template<typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
254 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value); }
255 template<typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
256 DeploymentGroupInfo& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) { SetBlueGreenDeploymentConfiguration(std::forward<BlueGreenDeploymentConfigurationT>(value)); return *this;}
258
260
263 inline const LoadBalancerInfo& GetLoadBalancerInfo() const { return m_loadBalancerInfo; }
264 inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
265 template<typename LoadBalancerInfoT = LoadBalancerInfo>
266 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value); }
267 template<typename LoadBalancerInfoT = LoadBalancerInfo>
268 DeploymentGroupInfo& WithLoadBalancerInfo(LoadBalancerInfoT&& value) { SetLoadBalancerInfo(std::forward<LoadBalancerInfoT>(value)); return *this;}
270
272
276 inline const LastDeploymentInfo& GetLastSuccessfulDeployment() const { return m_lastSuccessfulDeployment; }
277 inline bool LastSuccessfulDeploymentHasBeenSet() const { return m_lastSuccessfulDeploymentHasBeenSet; }
278 template<typename LastSuccessfulDeploymentT = LastDeploymentInfo>
279 void SetLastSuccessfulDeployment(LastSuccessfulDeploymentT&& value) { m_lastSuccessfulDeploymentHasBeenSet = true; m_lastSuccessfulDeployment = std::forward<LastSuccessfulDeploymentT>(value); }
280 template<typename LastSuccessfulDeploymentT = LastDeploymentInfo>
281 DeploymentGroupInfo& WithLastSuccessfulDeployment(LastSuccessfulDeploymentT&& value) { SetLastSuccessfulDeployment(std::forward<LastSuccessfulDeploymentT>(value)); return *this;}
283
285
289 inline const LastDeploymentInfo& GetLastAttemptedDeployment() const { return m_lastAttemptedDeployment; }
290 inline bool LastAttemptedDeploymentHasBeenSet() const { return m_lastAttemptedDeploymentHasBeenSet; }
291 template<typename LastAttemptedDeploymentT = LastDeploymentInfo>
292 void SetLastAttemptedDeployment(LastAttemptedDeploymentT&& value) { m_lastAttemptedDeploymentHasBeenSet = true; m_lastAttemptedDeployment = std::forward<LastAttemptedDeploymentT>(value); }
293 template<typename LastAttemptedDeploymentT = LastDeploymentInfo>
294 DeploymentGroupInfo& WithLastAttemptedDeployment(LastAttemptedDeploymentT&& value) { SetLastAttemptedDeployment(std::forward<LastAttemptedDeploymentT>(value)); return *this;}
296
298
303 inline const EC2TagSet& GetEc2TagSet() const { return m_ec2TagSet; }
304 inline bool Ec2TagSetHasBeenSet() const { return m_ec2TagSetHasBeenSet; }
305 template<typename Ec2TagSetT = EC2TagSet>
306 void SetEc2TagSet(Ec2TagSetT&& value) { m_ec2TagSetHasBeenSet = true; m_ec2TagSet = std::forward<Ec2TagSetT>(value); }
307 template<typename Ec2TagSetT = EC2TagSet>
308 DeploymentGroupInfo& WithEc2TagSet(Ec2TagSetT&& value) { SetEc2TagSet(std::forward<Ec2TagSetT>(value)); return *this;}
310
312
317 inline const OnPremisesTagSet& GetOnPremisesTagSet() const { return m_onPremisesTagSet; }
318 inline bool OnPremisesTagSetHasBeenSet() const { return m_onPremisesTagSetHasBeenSet; }
319 template<typename OnPremisesTagSetT = OnPremisesTagSet>
320 void SetOnPremisesTagSet(OnPremisesTagSetT&& value) { m_onPremisesTagSetHasBeenSet = true; m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value); }
321 template<typename OnPremisesTagSetT = OnPremisesTagSet>
322 DeploymentGroupInfo& WithOnPremisesTagSet(OnPremisesTagSetT&& value) { SetOnPremisesTagSet(std::forward<OnPremisesTagSetT>(value)); return *this;}
324
326
330 inline ComputePlatform GetComputePlatform() const { return m_computePlatform; }
331 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
332 inline void SetComputePlatform(ComputePlatform value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
335
337
343 inline const Aws::Vector<ECSService>& GetEcsServices() const { return m_ecsServices; }
344 inline bool EcsServicesHasBeenSet() const { return m_ecsServicesHasBeenSet; }
345 template<typename EcsServicesT = Aws::Vector<ECSService>>
346 void SetEcsServices(EcsServicesT&& value) { m_ecsServicesHasBeenSet = true; m_ecsServices = std::forward<EcsServicesT>(value); }
347 template<typename EcsServicesT = Aws::Vector<ECSService>>
348 DeploymentGroupInfo& WithEcsServices(EcsServicesT&& value) { SetEcsServices(std::forward<EcsServicesT>(value)); return *this;}
349 template<typename EcsServicesT = ECSService>
350 DeploymentGroupInfo& AddEcsServices(EcsServicesT&& value) { m_ecsServicesHasBeenSet = true; m_ecsServices.emplace_back(std::forward<EcsServicesT>(value)); return *this; }
352
354
362 inline bool GetTerminationHookEnabled() const { return m_terminationHookEnabled; }
363 inline bool TerminationHookEnabledHasBeenSet() const { return m_terminationHookEnabledHasBeenSet; }
364 inline void SetTerminationHookEnabled(bool value) { m_terminationHookEnabledHasBeenSet = true; m_terminationHookEnabled = value; }
367 private:
368
369 Aws::String m_applicationName;
370 bool m_applicationNameHasBeenSet = false;
371
372 Aws::String m_deploymentGroupId;
373 bool m_deploymentGroupIdHasBeenSet = false;
374
375 Aws::String m_deploymentGroupName;
376 bool m_deploymentGroupNameHasBeenSet = false;
377
378 Aws::String m_deploymentConfigName;
379 bool m_deploymentConfigNameHasBeenSet = false;
380
381 Aws::Vector<EC2TagFilter> m_ec2TagFilters;
382 bool m_ec2TagFiltersHasBeenSet = false;
383
384 Aws::Vector<TagFilter> m_onPremisesInstanceTagFilters;
385 bool m_onPremisesInstanceTagFiltersHasBeenSet = false;
386
387 Aws::Vector<AutoScalingGroup> m_autoScalingGroups;
388 bool m_autoScalingGroupsHasBeenSet = false;
389
390 Aws::String m_serviceRoleArn;
391 bool m_serviceRoleArnHasBeenSet = false;
392
393 RevisionLocation m_targetRevision;
394 bool m_targetRevisionHasBeenSet = false;
395
396 Aws::Vector<TriggerConfig> m_triggerConfigurations;
397 bool m_triggerConfigurationsHasBeenSet = false;
398
399 AlarmConfiguration m_alarmConfiguration;
400 bool m_alarmConfigurationHasBeenSet = false;
401
402 AutoRollbackConfiguration m_autoRollbackConfiguration;
403 bool m_autoRollbackConfigurationHasBeenSet = false;
404
405 DeploymentStyle m_deploymentStyle;
406 bool m_deploymentStyleHasBeenSet = false;
407
409 bool m_outdatedInstancesStrategyHasBeenSet = false;
410
411 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
412 bool m_blueGreenDeploymentConfigurationHasBeenSet = false;
413
414 LoadBalancerInfo m_loadBalancerInfo;
415 bool m_loadBalancerInfoHasBeenSet = false;
416
417 LastDeploymentInfo m_lastSuccessfulDeployment;
418 bool m_lastSuccessfulDeploymentHasBeenSet = false;
419
420 LastDeploymentInfo m_lastAttemptedDeployment;
421 bool m_lastAttemptedDeploymentHasBeenSet = false;
422
423 EC2TagSet m_ec2TagSet;
424 bool m_ec2TagSetHasBeenSet = false;
425
426 OnPremisesTagSet m_onPremisesTagSet;
427 bool m_onPremisesTagSetHasBeenSet = false;
428
429 ComputePlatform m_computePlatform{ComputePlatform::NOT_SET};
430 bool m_computePlatformHasBeenSet = false;
431
432 Aws::Vector<ECSService> m_ecsServices;
433 bool m_ecsServicesHasBeenSet = false;
434
435 bool m_terminationHookEnabled{false};
436 bool m_terminationHookEnabledHasBeenSet = false;
437 };
438
439} // namespace Model
440} // namespace CodeDeploy
441} // 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