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/Tag.h>
20#include <aws/codedeploy/model/TagFilter.h>
21#include <aws/codedeploy/model/TriggerConfig.h>
22#include <aws/core/utils/memory/stl/AWSString.h>
23#include <aws/core/utils/memory/stl/AWSVector.h>
58 template <
typename ApplicationNameT = Aws::String>
60 m_applicationNameHasBeenSet =
true;
61 m_applicationName = std::forward<ApplicationNameT>(value);
63 template <
typename ApplicationNameT = Aws::String>
76 template <
typename DeploymentGroupNameT = Aws::String>
78 m_deploymentGroupNameHasBeenSet =
true;
79 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
81 template <
typename DeploymentGroupNameT = Aws::String>
103 template <
typename DeploymentConfigNameT = Aws::String>
105 m_deploymentConfigNameHasBeenSet =
true;
106 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
108 template <
typename DeploymentConfigNameT = Aws::String>
123 template <
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
125 m_ec2TagFiltersHasBeenSet =
true;
126 m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value);
128 template <
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
133 template <
typename Ec2TagFiltersT = EC2TagFilter>
135 m_ec2TagFiltersHasBeenSet =
true;
136 m_ec2TagFilters.emplace_back(std::forward<Ec2TagFiltersT>(value));
149 template <
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
151 m_onPremisesInstanceTagFiltersHasBeenSet =
true;
152 m_onPremisesInstanceTagFilters = std::forward<OnPremisesInstanceTagFiltersT>(value);
154 template <
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
159 template <
typename OnPremisesInstanceTagFiltersT = TagFilter>
161 m_onPremisesInstanceTagFiltersHasBeenSet =
true;
162 m_onPremisesInstanceTagFilters.emplace_back(std::forward<OnPremisesInstanceTagFiltersT>(value));
173 template <
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
175 m_autoScalingGroupsHasBeenSet =
true;
176 m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value);
178 template <
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
183 template <
typename AutoScalingGroupsT = Aws::String>
185 m_autoScalingGroupsHasBeenSet =
true;
186 m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value));
198 template <
typename ServiceRoleArnT = Aws::String>
200 m_serviceRoleArnHasBeenSet =
true;
201 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
203 template <
typename ServiceRoleArnT = Aws::String>
219 template <
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
221 m_triggerConfigurationsHasBeenSet =
true;
222 m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value);
224 template <
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
229 template <
typename TriggerConfigurationsT = TriggerConfig>
231 m_triggerConfigurationsHasBeenSet =
true;
232 m_triggerConfigurations.emplace_back(std::forward<TriggerConfigurationsT>(value));
244 template <
typename AlarmConfigurationT = AlarmConfiguration>
246 m_alarmConfigurationHasBeenSet =
true;
247 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
249 template <
typename AlarmConfigurationT = AlarmConfiguration>
263 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
265 m_autoRollbackConfigurationHasBeenSet =
true;
266 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
268 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
289 m_outdatedInstancesStrategyHasBeenSet =
true;
290 m_outdatedInstancesStrategy = value;
305 template <
typename DeploymentStyleT = DeploymentStyle>
307 m_deploymentStyleHasBeenSet =
true;
308 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
310 template <
typename DeploymentStyleT = DeploymentStyle>
323 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
325 m_blueGreenDeploymentConfigurationHasBeenSet =
true;
326 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
328 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
341 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
343 m_loadBalancerInfoHasBeenSet =
true;
344 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
346 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
361 template <
typename Ec2TagSetT = EC2TagSet>
363 m_ec2TagSetHasBeenSet =
true;
364 m_ec2TagSet = std::forward<Ec2TagSetT>(value);
366 template <
typename Ec2TagSetT = EC2TagSet>
382 template <
typename EcsServicesT = Aws::Vector<ECSService>>
384 m_ecsServicesHasBeenSet =
true;
385 m_ecsServices = std::forward<EcsServicesT>(value);
387 template <
typename EcsServicesT = Aws::Vector<ECSService>>
392 template <
typename EcsServicesT = ECSService>
394 m_ecsServicesHasBeenSet =
true;
395 m_ecsServices.emplace_back(std::forward<EcsServicesT>(value));
409 template <
typename OnPremisesTagSetT = OnPremisesTagSet>
411 m_onPremisesTagSetHasBeenSet =
true;
412 m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value);
414 template <
typename OnPremisesTagSetT = OnPremisesTagSet>
429 template <
typename TagsT = Aws::Vector<Tag>>
431 m_tagsHasBeenSet =
true;
432 m_tags = std::forward<TagsT>(value);
434 template <
typename TagsT = Aws::Vector<Tag>>
436 SetTags(std::forward<TagsT>(value));
439 template <
typename TagsT = Tag>
441 m_tagsHasBeenSet =
true;
442 m_tags.emplace_back(std::forward<TagsT>(value));
468 m_terminationHookEnabledHasBeenSet =
true;
469 m_terminationHookEnabled = value;
499 DeploymentStyle m_deploymentStyle;
501 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
503 LoadBalancerInfo m_loadBalancerInfo;
505 EC2TagSet m_ec2TagSet;
509 OnPremisesTagSet m_onPremisesTagSet;
513 bool m_terminationHookEnabled{
false};
514 bool m_applicationNameHasBeenSet =
false;
515 bool m_deploymentGroupNameHasBeenSet =
false;
516 bool m_deploymentConfigNameHasBeenSet =
false;
517 bool m_ec2TagFiltersHasBeenSet =
false;
518 bool m_onPremisesInstanceTagFiltersHasBeenSet =
false;
519 bool m_autoScalingGroupsHasBeenSet =
false;
520 bool m_serviceRoleArnHasBeenSet =
false;
521 bool m_triggerConfigurationsHasBeenSet =
false;
522 bool m_alarmConfigurationHasBeenSet =
false;
523 bool m_autoRollbackConfigurationHasBeenSet =
false;
524 bool m_outdatedInstancesStrategyHasBeenSet =
false;
525 bool m_deploymentStyleHasBeenSet =
false;
526 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
527 bool m_loadBalancerInfoHasBeenSet =
false;
528 bool m_ec2TagSetHasBeenSet =
false;
529 bool m_ecsServicesHasBeenSet =
false;
530 bool m_onPremisesTagSetHasBeenSet =
false;
531 bool m_tagsHasBeenSet =
false;
532 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