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>
57 template <
typename ApplicationNameT = Aws::String>
59 m_applicationNameHasBeenSet =
true;
60 m_applicationName = std::forward<ApplicationNameT>(value);
62 template <
typename ApplicationNameT = Aws::String>
75 template <
typename DeploymentGroupIdT = Aws::String>
77 m_deploymentGroupIdHasBeenSet =
true;
78 m_deploymentGroupId = std::forward<DeploymentGroupIdT>(value);
80 template <
typename DeploymentGroupIdT = Aws::String>
93 template <
typename DeploymentGroupNameT = Aws::String>
95 m_deploymentGroupNameHasBeenSet =
true;
96 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
98 template <
typename DeploymentGroupNameT = Aws::String>
111 template <
typename DeploymentConfigNameT = Aws::String>
113 m_deploymentConfigNameHasBeenSet =
true;
114 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
116 template <
typename DeploymentConfigNameT = Aws::String>
130 template <
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
132 m_ec2TagFiltersHasBeenSet =
true;
133 m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value);
135 template <
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
140 template <
typename Ec2TagFiltersT = EC2TagFilter>
142 m_ec2TagFiltersHasBeenSet =
true;
143 m_ec2TagFilters.emplace_back(std::forward<Ec2TagFiltersT>(value));
155 template <
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
157 m_onPremisesInstanceTagFiltersHasBeenSet =
true;
158 m_onPremisesInstanceTagFilters = std::forward<OnPremisesInstanceTagFiltersT>(value);
160 template <
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
165 template <
typename OnPremisesInstanceTagFiltersT = TagFilter>
167 m_onPremisesInstanceTagFiltersHasBeenSet =
true;
168 m_onPremisesInstanceTagFilters.emplace_back(std::forward<OnPremisesInstanceTagFiltersT>(value));
179 template <
typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
181 m_autoScalingGroupsHasBeenSet =
true;
182 m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value);
184 template <
typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
189 template <
typename AutoScalingGroupsT = AutoScalingGroup>
191 m_autoScalingGroupsHasBeenSet =
true;
192 m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value));
207 template <
typename ServiceRoleArnT = Aws::String>
209 m_serviceRoleArnHasBeenSet =
true;
210 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
212 template <
typename ServiceRoleArnT = Aws::String>
226 template <
typename TargetRevisionT = RevisionLocation>
228 m_targetRevisionHasBeenSet =
true;
229 m_targetRevision = std::forward<TargetRevisionT>(value);
231 template <
typename TargetRevisionT = RevisionLocation>
244 template <
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
246 m_triggerConfigurationsHasBeenSet =
true;
247 m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value);
249 template <
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
254 template <
typename TriggerConfigurationsT = TriggerConfig>
256 m_triggerConfigurationsHasBeenSet =
true;
257 m_triggerConfigurations.emplace_back(std::forward<TriggerConfigurationsT>(value));
268 template <
typename AlarmConfigurationT = AlarmConfiguration>
270 m_alarmConfigurationHasBeenSet =
true;
271 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
273 template <
typename AlarmConfigurationT = AlarmConfiguration>
287 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
289 m_autoRollbackConfigurationHasBeenSet =
true;
290 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
292 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
306 template <
typename DeploymentStyleT = DeploymentStyle>
308 m_deploymentStyleHasBeenSet =
true;
309 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
311 template <
typename DeploymentStyleT = DeploymentStyle>
332 m_outdatedInstancesStrategyHasBeenSet =
true;
333 m_outdatedInstancesStrategy = value;
347 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
349 m_blueGreenDeploymentConfigurationHasBeenSet =
true;
350 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
352 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
365 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
367 m_loadBalancerInfoHasBeenSet =
true;
368 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
370 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
384 template <
typename LastSuccessfulDeploymentT = LastDeploymentInfo>
386 m_lastSuccessfulDeploymentHasBeenSet =
true;
387 m_lastSuccessfulDeployment = std::forward<LastSuccessfulDeploymentT>(value);
389 template <
typename LastSuccessfulDeploymentT = LastDeploymentInfo>
403 template <
typename LastAttemptedDeploymentT = LastDeploymentInfo>
405 m_lastAttemptedDeploymentHasBeenSet =
true;
406 m_lastAttemptedDeployment = std::forward<LastAttemptedDeploymentT>(value);
408 template <
typename LastAttemptedDeploymentT = LastDeploymentInfo>
423 template <
typename Ec2TagSetT = EC2TagSet>
425 m_ec2TagSetHasBeenSet =
true;
426 m_ec2TagSet = std::forward<Ec2TagSetT>(value);
428 template <
typename Ec2TagSetT = EC2TagSet>
443 template <
typename OnPremisesTagSetT = OnPremisesTagSet>
445 m_onPremisesTagSetHasBeenSet =
true;
446 m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value);
448 template <
typename OnPremisesTagSetT = OnPremisesTagSet>
463 m_computePlatformHasBeenSet =
true;
464 m_computePlatform = value;
481 template <
typename EcsServicesT = Aws::Vector<ECSService>>
483 m_ecsServicesHasBeenSet =
true;
484 m_ecsServices = std::forward<EcsServicesT>(value);
486 template <
typename EcsServicesT = Aws::Vector<ECSService>>
491 template <
typename EcsServicesT = ECSService>
493 m_ecsServicesHasBeenSet =
true;
494 m_ecsServices.emplace_back(std::forward<EcsServicesT>(value));
511 m_terminationHookEnabledHasBeenSet =
true;
512 m_terminationHookEnabled = value;
548 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
550 LoadBalancerInfo m_loadBalancerInfo;
552 LastDeploymentInfo m_lastSuccessfulDeployment;
554 LastDeploymentInfo m_lastAttemptedDeployment;
556 EC2TagSet m_ec2TagSet;
558 OnPremisesTagSet m_onPremisesTagSet;
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;
AWS_CODEDEPLOY_API DeploymentGroupInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceRoleArn() const
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
const LastDeploymentInfo & GetLastAttemptedDeployment() const
bool DeploymentGroupNameHasBeenSet() const
void SetTriggerConfigurations(TriggerConfigurationsT &&value)
bool ComputePlatformHasBeenSet() const
const EC2TagSet & GetEc2TagSet() const
void SetEcsServices(EcsServicesT &&value)
bool OnPremisesInstanceTagFiltersHasBeenSet() const
void SetLastAttemptedDeployment(LastAttemptedDeploymentT &&value)
void SetComputePlatform(ComputePlatform 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
bool EcsServicesHasBeenSet() const
DeploymentGroupInfo & WithApplicationName(ApplicationNameT &&value)
void SetDeploymentConfigName(DeploymentConfigNameT &&value)
void SetServiceRoleArn(ServiceRoleArnT &&value)
bool AutoScalingGroupsHasBeenSet() const
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
bool TargetRevisionHasBeenSet() const
bool DeploymentGroupIdHasBeenSet() const
DeploymentGroupInfo & WithEc2TagSet(Ec2TagSetT &&value)
const LoadBalancerInfo & GetLoadBalancerInfo() const
void SetDeploymentStyle(DeploymentStyleT &&value)
OutdatedInstancesStrategy GetOutdatedInstancesStrategy() const
void SetDeploymentGroupId(DeploymentGroupIdT &&value)
const Aws::String & GetDeploymentGroupName() const
bool AutoRollbackConfigurationHasBeenSet() const
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
DeploymentGroupInfo & WithAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
DeploymentGroupInfo & WithOnPremisesTagSet(OnPremisesTagSetT &&value)
bool Ec2TagSetHasBeenSet() const
DeploymentGroupInfo & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
bool ApplicationNameHasBeenSet() 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)
ComputePlatform GetComputePlatform() const
bool ServiceRoleArnHasBeenSet() const
DeploymentGroupInfo & WithDeploymentGroupId(DeploymentGroupIdT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::String & GetApplicationName() const
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
bool BlueGreenDeploymentConfigurationHasBeenSet() const
void SetDeploymentGroupName(DeploymentGroupNameT &&value)
DeploymentGroupInfo & WithTargetRevision(TargetRevisionT &&value)
const Aws::String & GetDeploymentConfigName() const
void SetEc2TagFilters(Ec2TagFiltersT &&value)
bool AlarmConfigurationHasBeenSet() const
void SetAutoScalingGroups(AutoScalingGroupsT &&value)
const Aws::Vector< EC2TagFilter > & GetEc2TagFilters() const
DeploymentGroupInfo & AddEc2TagFilters(Ec2TagFiltersT &&value)
DeploymentGroupInfo & WithAlarmConfiguration(AlarmConfigurationT &&value)
bool Ec2TagFiltersHasBeenSet() const
bool GetTerminationHookEnabled() const
DeploymentGroupInfo & WithEcsServices(EcsServicesT &&value)
bool DeploymentConfigNameHasBeenSet() const
bool DeploymentStyleHasBeenSet() const
const RevisionLocation & GetTargetRevision() const
void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy value)
const Aws::String & GetDeploymentGroupId() const
DeploymentGroupInfo & WithServiceRoleArn(ServiceRoleArnT &&value)
bool LoadBalancerInfoHasBeenSet() const
DeploymentGroupInfo & WithEc2TagFilters(Ec2TagFiltersT &&value)
void SetApplicationName(ApplicationNameT &&value)
void SetEc2TagSet(Ec2TagSetT &&value)
bool TriggerConfigurationsHasBeenSet() const
const Aws::Vector< TriggerConfig > & GetTriggerConfigurations() const
bool LastSuccessfulDeploymentHasBeenSet() const
bool LastAttemptedDeploymentHasBeenSet() const
const Aws::Vector< TagFilter > & GetOnPremisesInstanceTagFilters() const
void SetOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
DeploymentGroupInfo & WithAutoScalingGroups(AutoScalingGroupsT &&value)
bool OutdatedInstancesStrategyHasBeenSet() const
bool TerminationHookEnabledHasBeenSet() const
AWS_CODEDEPLOY_API DeploymentGroupInfo(Aws::Utils::Json::JsonView jsonValue)
DeploymentGroupInfo & AddTriggerConfigurations(TriggerConfigurationsT &&value)
const Aws::Vector< ECSService > & GetEcsServices() const
DeploymentGroupInfo & WithLoadBalancerInfo(LoadBalancerInfoT &&value)
bool OnPremisesTagSetHasBeenSet() const
void SetTerminationHookEnabled(bool value)
void SetLoadBalancerInfo(LoadBalancerInfoT &&value)
DeploymentGroupInfo & WithDeploymentConfigName(DeploymentConfigNameT &&value)
OutdatedInstancesStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue