7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/CodeDeployRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codedeploy/model/AlarmConfiguration.h>
12#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
13#include <aws/codedeploy/model/OutdatedInstancesStrategy.h>
14#include <aws/codedeploy/model/DeploymentStyle.h>
15#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
16#include <aws/codedeploy/model/LoadBalancerInfo.h>
17#include <aws/codedeploy/model/EC2TagSet.h>
18#include <aws/codedeploy/model/OnPremisesTagSet.h>
19#include <aws/codedeploy/model/EC2TagFilter.h>
20#include <aws/codedeploy/model/TagFilter.h>
21#include <aws/codedeploy/model/TriggerConfig.h>
22#include <aws/codedeploy/model/ECSService.h>
60 template<
typename ApplicationNameT = Aws::String>
61 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet =
true; m_applicationName = std::forward<ApplicationNameT>(value); }
62 template<
typename ApplicationNameT = Aws::String>
72 template<
typename CurrentDeploymentGroupNameT = Aws::String>
73 void SetCurrentDeploymentGroupName(CurrentDeploymentGroupNameT&& value) { m_currentDeploymentGroupNameHasBeenSet =
true; m_currentDeploymentGroupName = std::forward<CurrentDeploymentGroupNameT>(value); }
74 template<
typename CurrentDeploymentGroupNameT = Aws::String>
84 template<
typename NewDeploymentGroupNameT = Aws::String>
85 void SetNewDeploymentGroupName(NewDeploymentGroupNameT&& value) { m_newDeploymentGroupNameHasBeenSet =
true; m_newDeploymentGroupName = std::forward<NewDeploymentGroupNameT>(value); }
86 template<
typename NewDeploymentGroupNameT = Aws::String>
97 template<
typename DeploymentConfigNameT = Aws::String>
98 void SetDeploymentConfigName(DeploymentConfigNameT&& value) { m_deploymentConfigNameHasBeenSet =
true; m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value); }
99 template<
typename DeploymentConfigNameT = Aws::String>
111 template<
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
112 void SetEc2TagFilters(Ec2TagFiltersT&& value) { m_ec2TagFiltersHasBeenSet =
true; m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value); }
113 template<
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
115 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>
150 template<
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
151 void SetAutoScalingGroups(AutoScalingGroupsT&& value) { m_autoScalingGroupsHasBeenSet =
true; m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value); }
152 template<
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
154 template<
typename AutoScalingGroupsT = Aws::String>
164 template<
typename ServiceRoleArnT = Aws::String>
165 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
166 template<
typename ServiceRoleArnT = Aws::String>
180 template<
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
181 void SetTriggerConfigurations(TriggerConfigurationsT&& value) { m_triggerConfigurationsHasBeenSet =
true; m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value); }
182 template<
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
184 template<
typename TriggerConfigurationsT = TriggerConfig>
195 template<
typename AlarmConfigurationT = AlarmConfiguration>
196 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
197 template<
typename AlarmConfigurationT = AlarmConfiguration>
208 template<
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
209 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { m_autoRollbackConfigurationHasBeenSet =
true; m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value); }
210 template<
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
238 template<
typename DeploymentStyleT = DeploymentStyle>
239 void SetDeploymentStyle(DeploymentStyleT&& value) { m_deploymentStyleHasBeenSet =
true; m_deploymentStyle = std::forward<DeploymentStyleT>(value); }
240 template<
typename DeploymentStyleT = DeploymentStyle>
250 template<
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
251 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) { m_blueGreenDeploymentConfigurationHasBeenSet =
true; m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value); }
252 template<
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
262 template<
typename LoadBalancerInfoT = LoadBalancerInfo>
263 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) { m_loadBalancerInfoHasBeenSet =
true; m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value); }
264 template<
typename LoadBalancerInfoT = LoadBalancerInfo>
276 template<
typename Ec2TagSetT = EC2TagSet>
277 void SetEc2TagSet(Ec2TagSetT&& value) { m_ec2TagSetHasBeenSet =
true; m_ec2TagSet = std::forward<Ec2TagSetT>(value); }
278 template<
typename Ec2TagSetT = EC2TagSet>
291 template<
typename EcsServicesT = Aws::Vector<ECSService>>
292 void SetEcsServices(EcsServicesT&& value) { m_ecsServicesHasBeenSet =
true; m_ecsServices = std::forward<EcsServicesT>(value); }
293 template<
typename EcsServicesT = Aws::Vector<ECSService>>
295 template<
typename EcsServicesT = ECSService>
306 template<
typename OnPremisesTagSetT = OnPremisesTagSet>
307 void SetOnPremisesTagSet(OnPremisesTagSetT&& value) { m_onPremisesTagSetHasBeenSet =
true; m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value); }
308 template<
typename OnPremisesTagSetT = OnPremisesTagSet>
338 bool m_applicationNameHasBeenSet =
false;
341 bool m_currentDeploymentGroupNameHasBeenSet =
false;
344 bool m_newDeploymentGroupNameHasBeenSet =
false;
347 bool m_deploymentConfigNameHasBeenSet =
false;
350 bool m_ec2TagFiltersHasBeenSet =
false;
353 bool m_onPremisesInstanceTagFiltersHasBeenSet =
false;
356 bool m_autoScalingGroupsHasBeenSet =
false;
359 bool m_serviceRoleArnHasBeenSet =
false;
362 bool m_triggerConfigurationsHasBeenSet =
false;
365 bool m_alarmConfigurationHasBeenSet =
false;
368 bool m_autoRollbackConfigurationHasBeenSet =
false;
371 bool m_outdatedInstancesStrategyHasBeenSet =
false;
373 DeploymentStyle m_deploymentStyle;
374 bool m_deploymentStyleHasBeenSet =
false;
376 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
377 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
379 LoadBalancerInfo m_loadBalancerInfo;
380 bool m_loadBalancerInfoHasBeenSet =
false;
382 EC2TagSet m_ec2TagSet;
383 bool m_ec2TagSetHasBeenSet =
false;
386 bool m_ecsServicesHasBeenSet =
false;
388 OnPremisesTagSet m_onPremisesTagSet;
389 bool m_onPremisesTagSetHasBeenSet =
false;
391 bool m_terminationHookEnabled{
false};
392 bool m_terminationHookEnabledHasBeenSet =
false;
UpdateDeploymentGroupRequest & AddEcsServices(EcsServicesT &&value)
void SetCurrentDeploymentGroupName(CurrentDeploymentGroupNameT &&value)
UpdateDeploymentGroupRequest & WithServiceRoleArn(ServiceRoleArnT &&value)
UpdateDeploymentGroupRequest & WithOutdatedInstancesStrategy(OutdatedInstancesStrategy value)
UpdateDeploymentGroupRequest & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
UpdateDeploymentGroupRequest & WithEc2TagSet(Ec2TagSetT &&value)
UpdateDeploymentGroupRequest & WithEcsServices(EcsServicesT &&value)
UpdateDeploymentGroupRequest & WithDeploymentConfigName(DeploymentConfigNameT &&value)
bool AlarmConfigurationHasBeenSet() const
UpdateDeploymentGroupRequest & WithOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
UpdateDeploymentGroupRequest & WithApplicationName(ApplicationNameT &&value)
const Aws::Vector< Aws::String > & GetAutoScalingGroups() const
void SetEc2TagSet(Ec2TagSetT &&value)
UpdateDeploymentGroupRequest & WithAlarmConfiguration(AlarmConfigurationT &&value)
void SetTerminationHookEnabled(bool value)
bool TriggerConfigurationsHasBeenSet() const
UpdateDeploymentGroupRequest & WithAutoScalingGroups(AutoScalingGroupsT &&value)
bool NewDeploymentGroupNameHasBeenSet() const
void SetApplicationName(ApplicationNameT &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
UpdateDeploymentGroupRequest & WithTriggerConfigurations(TriggerConfigurationsT &&value)
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
UpdateDeploymentGroupRequest & WithNewDeploymentGroupName(NewDeploymentGroupNameT &&value)
bool Ec2TagFiltersHasBeenSet() const
OutdatedInstancesStrategy GetOutdatedInstancesStrategy() const
bool ApplicationNameHasBeenSet() const
bool Ec2TagSetHasBeenSet() const
UpdateDeploymentGroupRequest & AddEc2TagFilters(Ec2TagFiltersT &&value)
AWS_CODEDEPLOY_API UpdateDeploymentGroupRequest()=default
const OnPremisesTagSet & GetOnPremisesTagSet() const
bool TerminationHookEnabledHasBeenSet() const
const Aws::Vector< ECSService > & GetEcsServices() const
void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy value)
bool OnPremisesInstanceTagFiltersHasBeenSet() const
const EC2TagSet & GetEc2TagSet() const
const LoadBalancerInfo & GetLoadBalancerInfo() const
UpdateDeploymentGroupRequest & WithDeploymentStyle(DeploymentStyleT &&value)
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
UpdateDeploymentGroupRequest & WithAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
UpdateDeploymentGroupRequest & AddOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
void SetAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
const Aws::String & GetCurrentDeploymentGroupName() const
void SetDeploymentStyle(DeploymentStyleT &&value)
UpdateDeploymentGroupRequest & AddTriggerConfigurations(TriggerConfigurationsT &&value)
void SetTriggerConfigurations(TriggerConfigurationsT &&value)
const DeploymentStyle & GetDeploymentStyle() const
const Aws::String & GetApplicationName() const
void SetOnPremisesTagSet(OnPremisesTagSetT &&value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
const Aws::Vector< EC2TagFilter > & GetEc2TagFilters() const
const Aws::String & GetNewDeploymentGroupName() const
const Aws::String & GetServiceRoleArn() const
bool OutdatedInstancesStrategyHasBeenSet() const
bool AutoScalingGroupsHasBeenSet() const
bool BlueGreenDeploymentConfigurationHasBeenSet() const
UpdateDeploymentGroupRequest & WithCurrentDeploymentGroupName(CurrentDeploymentGroupNameT &&value)
void SetServiceRoleArn(ServiceRoleArnT &&value)
UpdateDeploymentGroupRequest & WithLoadBalancerInfo(LoadBalancerInfoT &&value)
void SetNewDeploymentGroupName(NewDeploymentGroupNameT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
bool EcsServicesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateDeploymentGroupRequest & WithOnPremisesTagSet(OnPremisesTagSetT &&value)
bool DeploymentStyleHasBeenSet() const
const Aws::String & GetDeploymentConfigName() const
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
void SetDeploymentConfigName(DeploymentConfigNameT &&value)
void SetEc2TagFilters(Ec2TagFiltersT &&value)
bool LoadBalancerInfoHasBeenSet() const
UpdateDeploymentGroupRequest & WithEc2TagFilters(Ec2TagFiltersT &&value)
const Aws::Vector< TagFilter > & GetOnPremisesInstanceTagFilters() const
bool AutoRollbackConfigurationHasBeenSet() const
UpdateDeploymentGroupRequest & WithTerminationHookEnabled(bool value)
bool GetTerminationHookEnabled() const
bool CurrentDeploymentGroupNameHasBeenSet() const
bool ServiceRoleArnHasBeenSet() const
bool DeploymentConfigNameHasBeenSet() const
UpdateDeploymentGroupRequest & AddAutoScalingGroups(AutoScalingGroupsT &&value)
const Aws::Vector< TriggerConfig > & GetTriggerConfigurations() const
void SetEcsServices(EcsServicesT &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
void SetLoadBalancerInfo(LoadBalancerInfoT &&value)
void SetAutoScalingGroups(AutoScalingGroupsT &&value)
bool OnPremisesTagSetHasBeenSet() const
OutdatedInstancesStrategy
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector