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>
64 inline void SetApplicationName(
const char* value) { m_applicationNameHasBeenSet =
true; m_applicationName.assign(value); }
78 inline void SetDeploymentGroupName(
const char* value) { m_deploymentGroupNameHasBeenSet =
true; m_deploymentGroupName.assign(value); }
101 inline void SetDeploymentConfigName(
const char* value) { m_deploymentConfigNameHasBeenSet =
true; m_deploymentConfigName.assign(value); }
163 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
356 bool m_applicationNameHasBeenSet =
false;
359 bool m_deploymentGroupNameHasBeenSet =
false;
362 bool m_deploymentConfigNameHasBeenSet =
false;
365 bool m_ec2TagFiltersHasBeenSet =
false;
368 bool m_onPremisesInstanceTagFiltersHasBeenSet =
false;
371 bool m_autoScalingGroupsHasBeenSet =
false;
374 bool m_serviceRoleArnHasBeenSet =
false;
377 bool m_triggerConfigurationsHasBeenSet =
false;
380 bool m_alarmConfigurationHasBeenSet =
false;
383 bool m_autoRollbackConfigurationHasBeenSet =
false;
386 bool m_outdatedInstancesStrategyHasBeenSet =
false;
389 bool m_deploymentStyleHasBeenSet =
false;
392 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
395 bool m_loadBalancerInfoHasBeenSet =
false;
398 bool m_ec2TagSetHasBeenSet =
false;
401 bool m_ecsServicesHasBeenSet =
false;
404 bool m_onPremisesTagSetHasBeenSet =
false;
407 bool m_tagsHasBeenSet =
false;
409 bool m_terminationHookEnabled;
410 bool m_terminationHookEnabledHasBeenSet =
false;
CreateDeploymentGroupRequest & AddEcsServices(ECSService &&value)
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
bool ApplicationNameHasBeenSet() const
CreateDeploymentGroupRequest & WithServiceRoleArn(Aws::String &&value)
bool GetTerminationHookEnabled() const
CreateDeploymentGroupRequest & WithOnPremisesTagSet(OnPremisesTagSet &&value)
const AlarmConfiguration & GetAlarmConfiguration() const
CreateDeploymentGroupRequest & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration &&value)
CreateDeploymentGroupRequest & WithLoadBalancerInfo(LoadBalancerInfo &&value)
CreateDeploymentGroupRequest & AddTags(const Tag &value)
bool OutdatedInstancesStrategyHasBeenSet() const
CreateDeploymentGroupRequest & WithApplicationName(Aws::String &&value)
void SetAlarmConfiguration(const AlarmConfiguration &value)
void SetDeploymentConfigName(Aws::String &&value)
void SetOnPremisesTagSet(const OnPremisesTagSet &value)
CreateDeploymentGroupRequest & AddEc2TagFilters(EC2TagFilter &&value)
void SetOutdatedInstancesStrategy(const OutdatedInstancesStrategy &value)
void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy &&value)
CreateDeploymentGroupRequest & AddTriggerConfigurations(const TriggerConfig &value)
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration &&value)
void SetEc2TagFilters(Aws::Vector< EC2TagFilter > &&value)
bool TriggerConfigurationsHasBeenSet() const
void SetEcsServices(Aws::Vector< ECSService > &&value)
CreateDeploymentGroupRequest & WithTags(const Aws::Vector< Tag > &value)
bool BlueGreenDeploymentConfigurationHasBeenSet() const
void SetDeploymentConfigName(const Aws::String &value)
CreateDeploymentGroupRequest & AddEc2TagFilters(const EC2TagFilter &value)
const Aws::String & GetDeploymentGroupName() const
void SetApplicationName(Aws::String &&value)
CreateDeploymentGroupRequest & WithAutoScalingGroups(const Aws::Vector< Aws::String > &value)
const Aws::Vector< ECSService > & GetEcsServices() const
AWS_CODEDEPLOY_API CreateDeploymentGroupRequest()
void SetTags(Aws::Vector< Tag > &&value)
void SetLoadBalancerInfo(const LoadBalancerInfo &value)
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
CreateDeploymentGroupRequest & WithAutoScalingGroups(Aws::Vector< Aws::String > &&value)
bool Ec2TagSetHasBeenSet() const
void SetBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration &value)
void SetServiceRoleArn(const char *value)
CreateDeploymentGroupRequest & AddOnPremisesInstanceTagFilters(TagFilter &&value)
void SetApplicationName(const Aws::String &value)
bool AlarmConfigurationHasBeenSet() const
void SetEc2TagSet(EC2TagSet &&value)
bool EcsServicesHasBeenSet() const
void SetAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
const DeploymentStyle & GetDeploymentStyle() const
CreateDeploymentGroupRequest & WithTriggerConfigurations(Aws::Vector< TriggerConfig > &&value)
void SetEcsServices(const Aws::Vector< ECSService > &value)
CreateDeploymentGroupRequest & WithDeploymentGroupName(Aws::String &&value)
bool OnPremisesTagSetHasBeenSet() const
CreateDeploymentGroupRequest & WithAlarmConfiguration(AlarmConfiguration &&value)
const OutdatedInstancesStrategy & GetOutdatedInstancesStrategy() const
CreateDeploymentGroupRequest & WithEc2TagSet(EC2TagSet &&value)
const Aws::Vector< Aws::String > & GetAutoScalingGroups() const
CreateDeploymentGroupRequest & WithBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration &value)
void SetDeploymentConfigName(const char *value)
CreateDeploymentGroupRequest & WithOnPremisesTagSet(const OnPremisesTagSet &value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDeploymentGroupRequest & WithOnPremisesInstanceTagFilters(const Aws::Vector< TagFilter > &value)
void SetTriggerConfigurations(const Aws::Vector< TriggerConfig > &value)
CreateDeploymentGroupRequest & WithServiceRoleArn(const char *value)
bool Ec2TagFiltersHasBeenSet() const
CreateDeploymentGroupRequest & WithDeploymentConfigName(const char *value)
CreateDeploymentGroupRequest & WithDeploymentStyle(const DeploymentStyle &value)
void SetDeploymentStyle(DeploymentStyle &&value)
CreateDeploymentGroupRequest & WithTriggerConfigurations(const Aws::Vector< TriggerConfig > &value)
CreateDeploymentGroupRequest & WithEcsServices(Aws::Vector< ECSService > &&value)
CreateDeploymentGroupRequest & WithDeploymentConfigName(const Aws::String &value)
CreateDeploymentGroupRequest & WithEc2TagSet(const EC2TagSet &value)
CreateDeploymentGroupRequest & WithDeploymentConfigName(Aws::String &&value)
const Aws::String & GetDeploymentConfigName() const
void SetOnPremisesTagSet(OnPremisesTagSet &&value)
bool TagsHasBeenSet() const
void SetDeploymentGroupName(Aws::String &&value)
CreateDeploymentGroupRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< TriggerConfig > & GetTriggerConfigurations() const
const LoadBalancerInfo & GetLoadBalancerInfo() const
const Aws::String & GetServiceRoleArn() const
CreateDeploymentGroupRequest & WithEc2TagFilters(Aws::Vector< EC2TagFilter > &&value)
CreateDeploymentGroupRequest & AddAutoScalingGroups(const Aws::String &value)
void SetEc2TagFilters(const Aws::Vector< EC2TagFilter > &value)
CreateDeploymentGroupRequest & WithAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
const Aws::Vector< EC2TagFilter > & GetEc2TagFilters() const
void SetOnPremisesInstanceTagFilters(const Aws::Vector< TagFilter > &value)
CreateDeploymentGroupRequest & WithTerminationHookEnabled(bool value)
void SetAutoScalingGroups(Aws::Vector< Aws::String > &&value)
void SetOnPremisesInstanceTagFilters(Aws::Vector< TagFilter > &&value)
void SetAutoScalingGroups(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Tag > & GetTags() const
bool DeploymentConfigNameHasBeenSet() const
CreateDeploymentGroupRequest & WithApplicationName(const char *value)
bool DeploymentGroupNameHasBeenSet() const
CreateDeploymentGroupRequest & AddOnPremisesInstanceTagFilters(const TagFilter &value)
CreateDeploymentGroupRequest & AddEcsServices(const ECSService &value)
bool ServiceRoleArnHasBeenSet() const
bool LoadBalancerInfoHasBeenSet() const
const Aws::String & GetApplicationName() const
void SetEc2TagSet(const EC2TagSet &value)
bool OnPremisesInstanceTagFiltersHasBeenSet() const
void SetAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
void SetDeploymentGroupName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
bool AutoScalingGroupsHasBeenSet() const
CreateDeploymentGroupRequest & WithOutdatedInstancesStrategy(OutdatedInstancesStrategy &&value)
virtual const char * GetServiceRequestName() const override
CreateDeploymentGroupRequest & WithServiceRoleArn(const Aws::String &value)
void SetDeploymentGroupName(const Aws::String &value)
void SetServiceRoleArn(Aws::String &&value)
CreateDeploymentGroupRequest & WithLoadBalancerInfo(const LoadBalancerInfo &value)
CreateDeploymentGroupRequest & WithDeploymentStyle(DeploymentStyle &&value)
CreateDeploymentGroupRequest & AddTags(Tag &&value)
CreateDeploymentGroupRequest & WithApplicationName(const Aws::String &value)
CreateDeploymentGroupRequest & WithEcsServices(const Aws::Vector< ECSService > &value)
bool TerminationHookEnabledHasBeenSet() const
bool DeploymentStyleHasBeenSet() const
CreateDeploymentGroupRequest & WithEc2TagFilters(const Aws::Vector< EC2TagFilter > &value)
CreateDeploymentGroupRequest & AddTriggerConfigurations(TriggerConfig &&value)
bool AutoRollbackConfigurationHasBeenSet() const
const Aws::Vector< TagFilter > & GetOnPremisesInstanceTagFilters() const
CreateDeploymentGroupRequest & AddAutoScalingGroups(const char *value)
CreateDeploymentGroupRequest & WithOutdatedInstancesStrategy(const OutdatedInstancesStrategy &value)
CreateDeploymentGroupRequest & AddAutoScalingGroups(Aws::String &&value)
void SetDeploymentStyle(const DeploymentStyle &value)
void SetTriggerConfigurations(Aws::Vector< TriggerConfig > &&value)
CreateDeploymentGroupRequest & WithDeploymentGroupName(const Aws::String &value)
void SetServiceRoleArn(const Aws::String &value)
void SetTerminationHookEnabled(bool value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
const OnPremisesTagSet & GetOnPremisesTagSet() const
const EC2TagSet & GetEc2TagSet() const
CreateDeploymentGroupRequest & WithDeploymentGroupName(const char *value)
void SetLoadBalancerInfo(LoadBalancerInfo &&value)
CreateDeploymentGroupRequest & WithAlarmConfiguration(const AlarmConfiguration &value)
void SetApplicationName(const char *value)
CreateDeploymentGroupRequest & WithOnPremisesInstanceTagFilters(Aws::Vector< TagFilter > &&value)
CreateDeploymentGroupRequest & WithAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
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