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>
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>
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>
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>
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>
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>>
116 template<
typename Ec2TagFiltersT = EC2TagFilter>
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>>
131 template<
typename OnPremisesInstanceTagFiltersT = TagFilter>
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>>
145 template<
typename AutoScalingGroupsT = AutoScalingGroup>
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>
172 template<
typename TargetRevisionT = RevisionLocation>
173 void SetTargetRevision(TargetRevisionT&& value) { m_targetRevisionHasBeenSet =
true; m_targetRevision = std::forward<TargetRevisionT>(value); }
174 template<
typename TargetRevisionT = RevisionLocation>
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>>
188 template<
typename TriggerConfigurationsT = TriggerConfig>
198 template<
typename AlarmConfigurationT = AlarmConfiguration>
199 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
200 template<
typename AlarmConfigurationT = AlarmConfiguration>
211 template<
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
212 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { m_autoRollbackConfigurationHasBeenSet =
true; m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value); }
213 template<
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
224 template<
typename DeploymentStyleT = DeploymentStyle>
225 void SetDeploymentStyle(DeploymentStyleT&& value) { m_deploymentStyleHasBeenSet =
true; m_deploymentStyle = std::forward<DeploymentStyleT>(value); }
226 template<
typename DeploymentStyleT = DeploymentStyle>
253 template<
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
254 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) { m_blueGreenDeploymentConfigurationHasBeenSet =
true; m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value); }
255 template<
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
265 template<
typename LoadBalancerInfoT = LoadBalancerInfo>
266 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) { m_loadBalancerInfoHasBeenSet =
true; m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value); }
267 template<
typename LoadBalancerInfoT = LoadBalancerInfo>
278 template<
typename LastSuccessfulDeploymentT = LastDeploymentInfo>
279 void SetLastSuccessfulDeployment(LastSuccessfulDeploymentT&& value) { m_lastSuccessfulDeploymentHasBeenSet =
true; m_lastSuccessfulDeployment = std::forward<LastSuccessfulDeploymentT>(value); }
280 template<
typename LastSuccessfulDeploymentT = LastDeploymentInfo>
291 template<
typename LastAttemptedDeploymentT = LastDeploymentInfo>
292 void SetLastAttemptedDeployment(LastAttemptedDeploymentT&& value) { m_lastAttemptedDeploymentHasBeenSet =
true; m_lastAttemptedDeployment = std::forward<LastAttemptedDeploymentT>(value); }
293 template<
typename LastAttemptedDeploymentT = LastDeploymentInfo>
305 template<
typename Ec2TagSetT = EC2TagSet>
306 void SetEc2TagSet(Ec2TagSetT&& value) { m_ec2TagSetHasBeenSet =
true; m_ec2TagSet = std::forward<Ec2TagSetT>(value); }
307 template<
typename Ec2TagSetT = EC2TagSet>
319 template<
typename OnPremisesTagSetT = OnPremisesTagSet>
320 void SetOnPremisesTagSet(OnPremisesTagSetT&& value) { m_onPremisesTagSetHasBeenSet =
true; m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value); }
321 template<
typename OnPremisesTagSetT = OnPremisesTagSet>
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>>
349 template<
typename EcsServicesT = ECSService>
370 bool m_applicationNameHasBeenSet =
false;
373 bool m_deploymentGroupIdHasBeenSet =
false;
376 bool m_deploymentGroupNameHasBeenSet =
false;
379 bool m_deploymentConfigNameHasBeenSet =
false;
382 bool m_ec2TagFiltersHasBeenSet =
false;
385 bool m_onPremisesInstanceTagFiltersHasBeenSet =
false;
388 bool m_autoScalingGroupsHasBeenSet =
false;
391 bool m_serviceRoleArnHasBeenSet =
false;
394 bool m_targetRevisionHasBeenSet =
false;
397 bool m_triggerConfigurationsHasBeenSet =
false;
400 bool m_alarmConfigurationHasBeenSet =
false;
403 bool m_autoRollbackConfigurationHasBeenSet =
false;
406 bool m_deploymentStyleHasBeenSet =
false;
409 bool m_outdatedInstancesStrategyHasBeenSet =
false;
411 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
412 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
414 LoadBalancerInfo m_loadBalancerInfo;
415 bool m_loadBalancerInfoHasBeenSet =
false;
417 LastDeploymentInfo m_lastSuccessfulDeployment;
418 bool m_lastSuccessfulDeploymentHasBeenSet =
false;
420 LastDeploymentInfo m_lastAttemptedDeployment;
421 bool m_lastAttemptedDeploymentHasBeenSet =
false;
423 EC2TagSet m_ec2TagSet;
424 bool m_ec2TagSetHasBeenSet =
false;
426 OnPremisesTagSet m_onPremisesTagSet;
427 bool m_onPremisesTagSetHasBeenSet =
false;
430 bool m_computePlatformHasBeenSet =
false;
433 bool m_ecsServicesHasBeenSet =
false;
435 bool m_terminationHookEnabled{
false};
436 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