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/EC2DeploymentOptions.h>
14#include <aws/codedeploy/model/EC2TagFilter.h>
15#include <aws/codedeploy/model/EC2TagSet.h>
16#include <aws/codedeploy/model/ECSService.h>
17#include <aws/codedeploy/model/LoadBalancerInfo.h>
18#include <aws/codedeploy/model/OnPremisesTagSet.h>
19#include <aws/codedeploy/model/OutdatedInstancesStrategy.h>
20#include <aws/codedeploy/model/Tag.h>
21#include <aws/codedeploy/model/TagFilter.h>
22#include <aws/codedeploy/model/TriggerConfig.h>
23#include <aws/core/utils/memory/stl/AWSString.h>
24#include <aws/core/utils/memory/stl/AWSVector.h>
59 template <
typename ApplicationNameT = Aws::String>
61 m_applicationNameHasBeenSet =
true;
62 m_applicationName = std::forward<ApplicationNameT>(value);
64 template <
typename ApplicationNameT = Aws::String>
77 template <
typename DeploymentGroupNameT = Aws::String>
79 m_deploymentGroupNameHasBeenSet =
true;
80 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
82 template <
typename DeploymentGroupNameT = Aws::String>
104 template <
typename DeploymentConfigNameT = Aws::String>
106 m_deploymentConfigNameHasBeenSet =
true;
107 m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value);
109 template <
typename DeploymentConfigNameT = Aws::String>
124 template <
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
126 m_ec2TagFiltersHasBeenSet =
true;
127 m_ec2TagFilters = std::forward<Ec2TagFiltersT>(value);
129 template <
typename Ec2TagFiltersT = Aws::Vector<EC2TagFilter>>
134 template <
typename Ec2TagFiltersT = EC2TagFilter>
136 m_ec2TagFiltersHasBeenSet =
true;
137 m_ec2TagFilters.emplace_back(std::forward<Ec2TagFiltersT>(value));
150 template <
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
152 m_onPremisesInstanceTagFiltersHasBeenSet =
true;
153 m_onPremisesInstanceTagFilters = std::forward<OnPremisesInstanceTagFiltersT>(value);
155 template <
typename OnPremisesInstanceTagFiltersT = Aws::Vector<TagFilter>>
160 template <
typename OnPremisesInstanceTagFiltersT = TagFilter>
162 m_onPremisesInstanceTagFiltersHasBeenSet =
true;
163 m_onPremisesInstanceTagFilters.emplace_back(std::forward<OnPremisesInstanceTagFiltersT>(value));
174 template <
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
176 m_autoScalingGroupsHasBeenSet =
true;
177 m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value);
179 template <
typename AutoScalingGroupsT = Aws::Vector<Aws::String>>
184 template <
typename AutoScalingGroupsT = Aws::String>
186 m_autoScalingGroupsHasBeenSet =
true;
187 m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value));
199 template <
typename ServiceRoleArnT = Aws::String>
201 m_serviceRoleArnHasBeenSet =
true;
202 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
204 template <
typename ServiceRoleArnT = Aws::String>
220 template <
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
222 m_triggerConfigurationsHasBeenSet =
true;
223 m_triggerConfigurations = std::forward<TriggerConfigurationsT>(value);
225 template <
typename TriggerConfigurationsT = Aws::Vector<TriggerConfig>>
230 template <
typename TriggerConfigurationsT = TriggerConfig>
232 m_triggerConfigurationsHasBeenSet =
true;
233 m_triggerConfigurations.emplace_back(std::forward<TriggerConfigurationsT>(value));
245 template <
typename AlarmConfigurationT = AlarmConfiguration>
247 m_alarmConfigurationHasBeenSet =
true;
248 m_alarmConfiguration = std::forward<AlarmConfigurationT>(value);
250 template <
typename AlarmConfigurationT = AlarmConfiguration>
264 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
266 m_autoRollbackConfigurationHasBeenSet =
true;
267 m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value);
269 template <
typename AutoRollbackConfigurationT = AutoRollbackConfiguration>
290 m_outdatedInstancesStrategyHasBeenSet =
true;
291 m_outdatedInstancesStrategy = value;
306 template <
typename DeploymentStyleT = DeploymentStyle>
308 m_deploymentStyleHasBeenSet =
true;
309 m_deploymentStyle = std::forward<DeploymentStyleT>(value);
311 template <
typename DeploymentStyleT = DeploymentStyle>
324 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
326 m_blueGreenDeploymentConfigurationHasBeenSet =
true;
327 m_blueGreenDeploymentConfiguration = std::forward<BlueGreenDeploymentConfigurationT>(value);
329 template <
typename BlueGreenDeploymentConfigurationT = BlueGreenDeploymentConfiguration>
342 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
344 m_loadBalancerInfoHasBeenSet =
true;
345 m_loadBalancerInfo = std::forward<LoadBalancerInfoT>(value);
347 template <
typename LoadBalancerInfoT = LoadBalancerInfo>
362 template <
typename Ec2TagSetT = EC2TagSet>
364 m_ec2TagSetHasBeenSet =
true;
365 m_ec2TagSet = std::forward<Ec2TagSetT>(value);
367 template <
typename Ec2TagSetT = EC2TagSet>
383 template <
typename EcsServicesT = Aws::Vector<ECSService>>
385 m_ecsServicesHasBeenSet =
true;
386 m_ecsServices = std::forward<EcsServicesT>(value);
388 template <
typename EcsServicesT = Aws::Vector<ECSService>>
393 template <
typename EcsServicesT = ECSService>
395 m_ecsServicesHasBeenSet =
true;
396 m_ecsServices.emplace_back(std::forward<EcsServicesT>(value));
410 template <
typename OnPremisesTagSetT = OnPremisesTagSet>
412 m_onPremisesTagSetHasBeenSet =
true;
413 m_onPremisesTagSet = std::forward<OnPremisesTagSetT>(value);
415 template <
typename OnPremisesTagSetT = OnPremisesTagSet>
430 template <
typename TagsT = Aws::Vector<Tag>>
432 m_tagsHasBeenSet =
true;
433 m_tags = std::forward<TagsT>(value);
435 template <
typename TagsT = Aws::Vector<Tag>>
437 SetTags(std::forward<TagsT>(value));
440 template <
typename TagsT = Tag>
442 m_tagsHasBeenSet =
true;
443 m_tags.emplace_back(std::forward<TagsT>(value));
452 template <
typename Ec2DeploymentOptionsT = EC2DeploymentOptions>
454 m_ec2DeploymentOptionsHasBeenSet =
true;
455 m_ec2DeploymentOptions = std::forward<Ec2DeploymentOptionsT>(value);
457 template <
typename Ec2DeploymentOptionsT = EC2DeploymentOptions>
485 m_terminationHookEnabledHasBeenSet =
true;
486 m_terminationHookEnabled = value;
516 DeploymentStyle m_deploymentStyle;
518 BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
520 LoadBalancerInfo m_loadBalancerInfo;
522 EC2TagSet m_ec2TagSet;
526 OnPremisesTagSet m_onPremisesTagSet;
530 EC2DeploymentOptions m_ec2DeploymentOptions;
532 bool m_terminationHookEnabled{
false};
533 bool m_applicationNameHasBeenSet =
false;
534 bool m_deploymentGroupNameHasBeenSet =
false;
535 bool m_deploymentConfigNameHasBeenSet =
false;
536 bool m_ec2TagFiltersHasBeenSet =
false;
537 bool m_onPremisesInstanceTagFiltersHasBeenSet =
false;
538 bool m_autoScalingGroupsHasBeenSet =
false;
539 bool m_serviceRoleArnHasBeenSet =
false;
540 bool m_triggerConfigurationsHasBeenSet =
false;
541 bool m_alarmConfigurationHasBeenSet =
false;
542 bool m_autoRollbackConfigurationHasBeenSet =
false;
543 bool m_outdatedInstancesStrategyHasBeenSet =
false;
544 bool m_deploymentStyleHasBeenSet =
false;
545 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
546 bool m_loadBalancerInfoHasBeenSet =
false;
547 bool m_ec2TagSetHasBeenSet =
false;
548 bool m_ecsServicesHasBeenSet =
false;
549 bool m_onPremisesTagSetHasBeenSet =
false;
550 bool m_tagsHasBeenSet =
false;
551 bool m_ec2DeploymentOptionsHasBeenSet =
false;
552 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)
bool Ec2DeploymentOptionsHasBeenSet() const
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
const DeploymentStyle & GetDeploymentStyle() const
CreateDeploymentGroupRequest & WithEc2DeploymentOptions(Ec2DeploymentOptionsT &&value)
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)
const EC2DeploymentOptions & GetEc2DeploymentOptions() const
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
void SetEc2DeploymentOptions(Ec2DeploymentOptionsT &&value)
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