7#include <aws/codedeploy/CodeDeployRequest.h>
8#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
9#include <aws/codedeploy/model/AlarmConfiguration.h>
10#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
11#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
12#include <aws/codedeploy/model/DeploymentStyle.h>
13#include <aws/codedeploy/model/EC2TagFilter.h>
14#include <aws/codedeploy/model/EC2TagSet.h>
15#include <aws/codedeploy/model/ECSService.h>
16#include <aws/codedeploy/model/LoadBalancerInfo.h>
17#include <aws/codedeploy/model/OnPremisesTagSet.h>
18#include <aws/codedeploy/model/OutdatedInstancesStrategy.h>
19#include <aws/codedeploy/model/TagFilter.h>
20#include <aws/codedeploy/model/TriggerConfig.h>
21#include <aws/core/utils/memory/stl/AWSString.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
56 template <
typename ApplicationNameT = Aws::String>
58 m_applicationNameHasBeenSet =
true;
59 m_applicationName = std::forward<ApplicationNameT>(value);
61 template <
typename ApplicationNameT = Aws::String>
74 template <
typename CurrentDeploymentGroupNameT = Aws::String>
76 m_currentDeploymentGroupNameHasBeenSet =
true;
77 m_currentDeploymentGroupName = std::forward<CurrentDeploymentGroupNameT>(value);
79 template <
typename CurrentDeploymentGroupNameT = Aws::String>
92 template <
typename NewDeploymentGroupNameT = Aws::String>
94 m_newDeploymentGroupNameHasBeenSet =
true;
95 m_newDeploymentGroupName = std::forward<NewDeploymentGroupNameT>(value);
97 template <
typename NewDeploymentGroupNameT = 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>
131 template <
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
133 m_ec2TagFiltersHasBeenSet =
true;
134 m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value);
136 template <
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
141 template <
typename Ec2TagFiltersT = EC2TagFilter>
143 m_ec2TagFiltersHasBeenSet =
true;
144 m_ec2TagFilters.emplace_back(std::forward<Ec2TagFiltersT>(value));
157 template <
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
159 m_onPremisesInstanceTagFiltersHasBeenSet =
true;
160 m_onPremisesInstanceTagFilters = std::forward<OnPremisesInstanceTagFiltersT>(value);
162 template <
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
167 template <
typename OnPremisesInstanceTagFiltersT = TagFilter>
169 m_onPremisesInstanceTagFiltersHasBeenSet =
true;
170 m_onPremisesInstanceTagFilters.emplace_back(std::forward<OnPremisesInstanceTagFiltersT>(value));
190 template <
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
192 m_autoScalingGroupsHasBeenSet =
true;
193 m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value);
195 template <
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
200 template <
typename AutoScalingGroupsT = Aws::String>
202 m_autoScalingGroupsHasBeenSet =
true;
203 m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value));
214 template <
typename ServiceRoleArnT = Aws::String>
216 m_serviceRoleArnHasBeenSet =
true;
217 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
219 template <
typename ServiceRoleArnT = Aws::String>
236 template <
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
238 m_triggerConfigurationsHasBeenSet =
true;
239 m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value);
241 template <
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
246 template <
typename TriggerConfigurationsT = TriggerConfig>
248 m_triggerConfigurationsHasBeenSet =
true;
249 m_triggerConfigurations.emplace_back(std::forward<TriggerConfigurationsT>(value));
261 template <
typename AlarmConfigurationT = AlarmConfiguration>
263 m_alarmConfigurationHasBeenSet =
true;
264 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
266 template <
typename AlarmConfigurationT = AlarmConfiguration>
280 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
282 m_autoRollbackConfigurationHasBeenSet =
true;
283 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
285 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
306 m_outdatedInstancesStrategyHasBeenSet =
true;
307 m_outdatedInstancesStrategy = value;
322 template <
typename DeploymentStyleT = DeploymentStyle>
324 m_deploymentStyleHasBeenSet =
true;
325 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
327 template <
typename DeploymentStyleT = DeploymentStyle>
340 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
342 m_blueGreenDeploymentConfigurationHasBeenSet =
true;
343 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
345 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
358 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
360 m_loadBalancerInfoHasBeenSet =
true;
361 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
363 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
378 template <
typename Ec2TagSetT = EC2TagSet>
380 m_ec2TagSetHasBeenSet =
true;
381 m_ec2TagSet = std::forward<Ec2TagSetT>(value);
383 template <
typename Ec2TagSetT = EC2TagSet>
399 template <
typename EcsServicesT = Aws::Vector<ECSService>>
401 m_ecsServicesHasBeenSet =
true;
402 m_ecsServices = std::forward<EcsServicesT>(value);
404 template <
typename EcsServicesT = Aws::Vector<ECSService>>
409 template <
typename EcsServicesT = ECSService>
411 m_ecsServicesHasBeenSet =
true;
412 m_ecsServices.emplace_back(std::forward<EcsServicesT>(value));
424 template <
typename OnPremisesTagSetT = OnPremisesTagSet>
426 m_onPremisesTagSetHasBeenSet =
true;
427 m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value);
429 template <
typename OnPremisesTagSetT = OnPremisesTagSet>
457 m_terminationHookEnabledHasBeenSet =
true;
458 m_terminationHookEnabled = value;
490 DeploymentStyle m_deploymentStyle;
492 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
494 LoadBalancerInfo m_loadBalancerInfo;
496 EC2TagSet m_ec2TagSet;
500 OnPremisesTagSet m_onPremisesTagSet;
502 bool m_terminationHookEnabled{
false};
503 bool m_applicationNameHasBeenSet =
false;
504 bool m_currentDeploymentGroupNameHasBeenSet =
false;
505 bool m_newDeploymentGroupNameHasBeenSet =
false;
506 bool m_deploymentConfigNameHasBeenSet =
false;
507 bool m_ec2TagFiltersHasBeenSet =
false;
508 bool m_onPremisesInstanceTagFiltersHasBeenSet =
false;
509 bool m_autoScalingGroupsHasBeenSet =
false;
510 bool m_serviceRoleArnHasBeenSet =
false;
511 bool m_triggerConfigurationsHasBeenSet =
false;
512 bool m_alarmConfigurationHasBeenSet =
false;
513 bool m_autoRollbackConfigurationHasBeenSet =
false;
514 bool m_outdatedInstancesStrategyHasBeenSet =
false;
515 bool m_deploymentStyleHasBeenSet =
false;
516 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
517 bool m_loadBalancerInfoHasBeenSet =
false;
518 bool m_ec2TagSetHasBeenSet =
false;
519 bool m_ecsServicesHasBeenSet =
false;
520 bool m_onPremisesTagSetHasBeenSet =
false;
521 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