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>
23#include <aws/codedeploy/model/Tag.h>
62 template<
typename ApplicationNameT = Aws::String>
63 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet =
true; m_applicationName = std::forward<ApplicationNameT>(value); }
64 template<
typename ApplicationNameT = Aws::String>
74 template<
typename DeploymentGroupNameT = Aws::String>
75 void SetDeploymentGroupName(DeploymentGroupNameT&& value) { m_deploymentGroupNameHasBeenSet =
true; m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value); }
76 template<
typename DeploymentGroupNameT = Aws::String>
95 template<
typename DeploymentConfigNameT = Aws::String>
96 void SetDeploymentConfigName(DeploymentConfigNameT&& value) { m_deploymentConfigNameHasBeenSet =
true; m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value); }
97 template<
typename DeploymentConfigNameT = Aws::String>
109 template<
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
110 void SetEc2TagFilters(Ec2TagFiltersT&& value) { m_ec2TagFiltersHasBeenSet =
true; m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value); }
111 template<
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
113 template<
typename Ec2TagFiltersT = EC2TagFilter>
125 template<
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
126 void SetOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT&& value) { m_onPremisesInstanceTagFiltersHasBeenSet =
true; m_onPremisesInstanceTagFilters = std::forward<OnPremisesInstanceTagFiltersT>(value); }
127 template<
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
129 template<
typename OnPremisesInstanceTagFiltersT = TagFilter>
139 template<
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
140 void SetAutoScalingGroups(AutoScalingGroupsT&& value) { m_autoScalingGroupsHasBeenSet =
true; m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value); }
141 template<
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
143 template<
typename AutoScalingGroupsT = Aws::String>
154 template<
typename ServiceRoleArnT = Aws::String>
155 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
156 template<
typename ServiceRoleArnT = Aws::String>
169 template<
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
170 void SetTriggerConfigurations(TriggerConfigurationsT&& value) { m_triggerConfigurationsHasBeenSet =
true; m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value); }
171 template<
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
173 template<
typename TriggerConfigurationsT = TriggerConfig>
184 template<
typename AlarmConfigurationT = AlarmConfiguration>
185 void SetAlarmConfiguration(AlarmConfigurationT&& value) { m_alarmConfigurationHasBeenSet =
true; m_alarmConfiguration = std::forward<AlarmConfigurationT>(value); }
186 template<
typename AlarmConfigurationT = AlarmConfiguration>
197 template<
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
198 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { m_autoRollbackConfigurationHasBeenSet =
true; m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value); }
199 template<
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
227 template<
typename DeploymentStyleT = DeploymentStyle>
228 void SetDeploymentStyle(DeploymentStyleT&& value) { m_deploymentStyleHasBeenSet =
true; m_deploymentStyle = std::forward<DeploymentStyleT>(value); }
229 template<
typename DeploymentStyleT = DeploymentStyle>
239 template<
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
240 void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT&& value) { m_blueGreenDeploymentConfigurationHasBeenSet =
true; m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value); }
241 template<
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
251 template<
typename LoadBalancerInfoT = LoadBalancerInfo>
252 void SetLoadBalancerInfo(LoadBalancerInfoT&& value) { m_loadBalancerInfoHasBeenSet =
true; m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value); }
253 template<
typename LoadBalancerInfoT = LoadBalancerInfo>
265 template<
typename Ec2TagSetT = EC2TagSet>
266 void SetEc2TagSet(Ec2TagSetT&& value) { m_ec2TagSetHasBeenSet =
true; m_ec2TagSet = std::forward<Ec2TagSetT>(value); }
267 template<
typename Ec2TagSetT = EC2TagSet>
280 template<
typename EcsServicesT = Aws::Vector<ECSService>>
281 void SetEcsServices(EcsServicesT&& value) { m_ecsServicesHasBeenSet =
true; m_ecsServices = std::forward<EcsServicesT>(value); }
282 template<
typename EcsServicesT = Aws::Vector<ECSService>>
284 template<
typename EcsServicesT = ECSService>
297 template<
typename OnPremisesTagSetT = OnPremisesTagSet>
298 void SetOnPremisesTagSet(OnPremisesTagSetT&& value) { m_onPremisesTagSetHasBeenSet =
true; m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value); }
299 template<
typename OnPremisesTagSetT = OnPremisesTagSet>
311 template<
typename TagsT = Aws::Vector<Tag>>
312 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
313 template<
typename TagsT = Aws::Vector<Tag>>
315 template<
typename TagsT = Tag>
345 bool m_applicationNameHasBeenSet =
false;
348 bool m_deploymentGroupNameHasBeenSet =
false;
351 bool m_deploymentConfigNameHasBeenSet =
false;
354 bool m_ec2TagFiltersHasBeenSet =
false;
357 bool m_onPremisesInstanceTagFiltersHasBeenSet =
false;
360 bool m_autoScalingGroupsHasBeenSet =
false;
363 bool m_serviceRoleArnHasBeenSet =
false;
366 bool m_triggerConfigurationsHasBeenSet =
false;
369 bool m_alarmConfigurationHasBeenSet =
false;
372 bool m_autoRollbackConfigurationHasBeenSet =
false;
375 bool m_outdatedInstancesStrategyHasBeenSet =
false;
377 DeploymentStyle m_deploymentStyle;
378 bool m_deploymentStyleHasBeenSet =
false;
380 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
381 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
383 LoadBalancerInfo m_loadBalancerInfo;
384 bool m_loadBalancerInfoHasBeenSet =
false;
386 EC2TagSet m_ec2TagSet;
387 bool m_ec2TagSetHasBeenSet =
false;
390 bool m_ecsServicesHasBeenSet =
false;
392 OnPremisesTagSet m_onPremisesTagSet;
393 bool m_onPremisesTagSetHasBeenSet =
false;
396 bool m_tagsHasBeenSet =
false;
398 bool m_terminationHookEnabled{
false};
399 bool m_terminationHookEnabledHasBeenSet =
false;
void SetAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
CreateDeploymentGroupRequest & WithTags(TagsT &&value)
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
bool ApplicationNameHasBeenSet() const
void SetEc2TagFilters(Ec2TagFiltersT &&value)
void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy value)
bool GetTerminationHookEnabled() const
const AlarmConfiguration & GetAlarmConfiguration() const
bool OutdatedInstancesStrategyHasBeenSet() const
CreateDeploymentGroupRequest & WithDeploymentConfigName(DeploymentConfigNameT &&value)
void SetDeploymentGroupName(DeploymentGroupNameT &&value)
CreateDeploymentGroupRequest & WithLoadBalancerInfo(LoadBalancerInfoT &&value)
bool TriggerConfigurationsHasBeenSet() const
void SetServiceRoleArn(ServiceRoleArnT &&value)
bool BlueGreenDeploymentConfigurationHasBeenSet() const
const Aws::String & GetDeploymentGroupName() const
const Aws::Vector< ECSService > & GetEcsServices() const
OutdatedInstancesStrategy GetOutdatedInstancesStrategy() const
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
bool Ec2TagSetHasBeenSet() const
void SetLoadBalancerInfo(LoadBalancerInfoT &&value)
CreateDeploymentGroupRequest & WithOutdatedInstancesStrategy(OutdatedInstancesStrategy value)
void SetDeploymentConfigName(DeploymentConfigNameT &&value)
bool AlarmConfigurationHasBeenSet() const
CreateDeploymentGroupRequest & WithDeploymentGroupName(DeploymentGroupNameT &&value)
CreateDeploymentGroupRequest & WithEc2TagFilters(Ec2TagFiltersT &&value)
bool EcsServicesHasBeenSet() const
CreateDeploymentGroupRequest & WithEcsServices(EcsServicesT &&value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
const DeploymentStyle & GetDeploymentStyle() const
CreateDeploymentGroupRequest & WithDeploymentStyle(DeploymentStyleT &&value)
bool OnPremisesTagSetHasBeenSet() const
const Aws::Vector< Aws::String > & GetAutoScalingGroups() const
CreateDeploymentGroupRequest & WithServiceRoleArn(ServiceRoleArnT &&value)
void SetOnPremisesTagSet(OnPremisesTagSetT &&value)
CreateDeploymentGroupRequest & WithOnPremisesTagSet(OnPremisesTagSetT &&value)
void SetTriggerConfigurations(TriggerConfigurationsT &&value)
CreateDeploymentGroupRequest & AddAutoScalingGroups(AutoScalingGroupsT &&value)
CreateDeploymentGroupRequest & WithAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEc2TagSet(Ec2TagSetT &&value)
CreateDeploymentGroupRequest & AddEcsServices(EcsServicesT &&value)
bool Ec2TagFiltersHasBeenSet() const
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
const Aws::String & GetDeploymentConfigName() const
CreateDeploymentGroupRequest & WithTriggerConfigurations(TriggerConfigurationsT &&value)
CreateDeploymentGroupRequest & WithEc2TagSet(Ec2TagSetT &&value)
bool TagsHasBeenSet() const
CreateDeploymentGroupRequest & WithAlarmConfiguration(AlarmConfigurationT &&value)
const Aws::Vector< TriggerConfig > & GetTriggerConfigurations() const
CreateDeploymentGroupRequest & AddEc2TagFilters(Ec2TagFiltersT &&value)
const LoadBalancerInfo & GetLoadBalancerInfo() const
const Aws::String & GetServiceRoleArn() const
CreateDeploymentGroupRequest & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfigurationT &&value)
void SetApplicationName(ApplicationNameT &&value)
const Aws::Vector< EC2TagFilter > & GetEc2TagFilters() const
CreateDeploymentGroupRequest & AddTags(TagsT &&value)
void SetAlarmConfiguration(AlarmConfigurationT &&value)
CreateDeploymentGroupRequest & WithTerminationHookEnabled(bool value)
AWS_CODEDEPLOY_API CreateDeploymentGroupRequest()=default
CreateDeploymentGroupRequest & WithApplicationName(ApplicationNameT &&value)
const Aws::Vector< Tag > & GetTags() const
bool DeploymentConfigNameHasBeenSet() const
bool DeploymentGroupNameHasBeenSet() const
void SetTags(TagsT &&value)
bool ServiceRoleArnHasBeenSet() const
bool LoadBalancerInfoHasBeenSet() const
const Aws::String & GetApplicationName() const
bool OnPremisesInstanceTagFiltersHasBeenSet() const
CreateDeploymentGroupRequest & WithOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
void SetEcsServices(EcsServicesT &&value)
CreateDeploymentGroupRequest & WithAutoScalingGroups(AutoScalingGroupsT &&value)
bool AutoScalingGroupsHasBeenSet() const
CreateDeploymentGroupRequest & AddOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
void SetDeploymentStyle(DeploymentStyleT &&value)
virtual const char * GetServiceRequestName() const override
void SetAutoScalingGroups(AutoScalingGroupsT &&value)
bool TerminationHookEnabledHasBeenSet() const
bool DeploymentStyleHasBeenSet() const
void SetOnPremisesInstanceTagFilters(OnPremisesInstanceTagFiltersT &&value)
bool AutoRollbackConfigurationHasBeenSet() const
const Aws::Vector< TagFilter > & GetOnPremisesInstanceTagFilters() const
CreateDeploymentGroupRequest & AddTriggerConfigurations(TriggerConfigurationsT &&value)
void SetTerminationHookEnabled(bool value)
const OnPremisesTagSet & GetOnPremisesTagSet() const
const EC2TagSet & GetEc2TagSet() 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