7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codedeploy/model/RevisionLocation.h>
11#include <aws/codedeploy/model/AlarmConfiguration.h>
12#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
13#include <aws/codedeploy/model/DeploymentStyle.h>
14#include <aws/codedeploy/model/OutdatedInstancesStrategy.h>
15#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
16#include <aws/codedeploy/model/LoadBalancerInfo.h>
17#include <aws/codedeploy/model/LastDeploymentInfo.h>
18#include <aws/codedeploy/model/EC2TagSet.h>
19#include <aws/codedeploy/model/OnPremisesTagSet.h>
20#include <aws/codedeploy/model/ComputePlatform.h>
21#include <aws/codedeploy/model/EC2TagFilter.h>
22#include <aws/codedeploy/model/TagFilter.h>
23#include <aws/codedeploy/model/AutoScalingGroup.h>
24#include <aws/codedeploy/model/TriggerConfig.h>
25#include <aws/codedeploy/model/ECSService.h>
65 inline void SetApplicationName(
const char* value) { m_applicationNameHasBeenSet =
true; m_applicationName.assign(value); }
79 inline void SetDeploymentGroupId(
const char* value) { m_deploymentGroupIdHasBeenSet =
true; m_deploymentGroupId.assign(value); }
93 inline void SetDeploymentGroupName(
const char* value) { m_deploymentGroupNameHasBeenSet =
true; m_deploymentGroupName.assign(value); }
107 inline void SetDeploymentConfigName(
const char* value) { m_deploymentConfigNameHasBeenSet =
true; m_deploymentConfigName.assign(value); }
169 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
384 bool m_applicationNameHasBeenSet =
false;
387 bool m_deploymentGroupIdHasBeenSet =
false;
390 bool m_deploymentGroupNameHasBeenSet =
false;
393 bool m_deploymentConfigNameHasBeenSet =
false;
396 bool m_ec2TagFiltersHasBeenSet =
false;
399 bool m_onPremisesInstanceTagFiltersHasBeenSet =
false;
402 bool m_autoScalingGroupsHasBeenSet =
false;
405 bool m_serviceRoleArnHasBeenSet =
false;
408 bool m_targetRevisionHasBeenSet =
false;
411 bool m_triggerConfigurationsHasBeenSet =
false;
414 bool m_alarmConfigurationHasBeenSet =
false;
417 bool m_autoRollbackConfigurationHasBeenSet =
false;
420 bool m_deploymentStyleHasBeenSet =
false;
423 bool m_outdatedInstancesStrategyHasBeenSet =
false;
426 bool m_blueGreenDeploymentConfigurationHasBeenSet =
false;
429 bool m_loadBalancerInfoHasBeenSet =
false;
432 bool m_lastSuccessfulDeploymentHasBeenSet =
false;
435 bool m_lastAttemptedDeploymentHasBeenSet =
false;
438 bool m_ec2TagSetHasBeenSet =
false;
441 bool m_onPremisesTagSetHasBeenSet =
false;
444 bool m_computePlatformHasBeenSet =
false;
447 bool m_ecsServicesHasBeenSet =
false;
449 bool m_terminationHookEnabled;
450 bool m_terminationHookEnabledHasBeenSet =
false;
void SetComputePlatform(ComputePlatform &&value)
void SetServiceRoleArn(const char *value)
DeploymentGroupInfo & WithLastSuccessfulDeployment(const LastDeploymentInfo &value)
AWS_CODEDEPLOY_API DeploymentGroupInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceRoleArn() const
DeploymentGroupInfo & WithEcsServices(const Aws::Vector< ECSService > &value)
void SetDeploymentGroupId(const Aws::String &value)
const LastDeploymentInfo & GetLastAttemptedDeployment() const
DeploymentGroupInfo & WithBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration &value)
bool DeploymentGroupNameHasBeenSet() const
DeploymentGroupInfo & AddAutoScalingGroups(AutoScalingGroup &&value)
void SetEcsServices(Aws::Vector< ECSService > &&value)
bool ComputePlatformHasBeenSet() const
void SetTargetRevision(RevisionLocation &&value)
const EC2TagSet & GetEc2TagSet() const
void SetLastAttemptedDeployment(const LastDeploymentInfo &value)
void SetDeploymentGroupId(const char *value)
DeploymentGroupInfo & WithComputePlatform(ComputePlatform &&value)
DeploymentGroupInfo & WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration &&value)
bool OnPremisesInstanceTagFiltersHasBeenSet() const
void SetDeploymentConfigName(Aws::String &&value)
void SetLoadBalancerInfo(LoadBalancerInfo &&value)
DeploymentGroupInfo & AddAutoScalingGroups(const AutoScalingGroup &value)
DeploymentGroupInfo & WithOnPremisesTagSet(const OnPremisesTagSet &value)
DeploymentGroupInfo & WithTerminationHookEnabled(bool value)
void SetEc2TagSet(EC2TagSet &&value)
void SetDeploymentConfigName(const char *value)
void SetDeploymentGroupId(Aws::String &&value)
DeploymentGroupInfo & WithAlarmConfiguration(AlarmConfiguration &&value)
DeploymentGroupInfo & WithServiceRoleArn(const char *value)
DeploymentGroupInfo & WithOutdatedInstancesStrategy(const OutdatedInstancesStrategy &value)
AWS_CODEDEPLOY_API DeploymentGroupInfo()
DeploymentGroupInfo & WithLastAttemptedDeployment(LastDeploymentInfo &&value)
void SetEc2TagFilters(Aws::Vector< EC2TagFilter > &&value)
const Aws::Vector< AutoScalingGroup > & GetAutoScalingGroups() const
void SetDeploymentGroupName(const Aws::String &value)
DeploymentGroupInfo & WithEc2TagSet(const EC2TagSet &value)
DeploymentGroupInfo & WithServiceRoleArn(const Aws::String &value)
void SetApplicationName(Aws::String &&value)
bool EcsServicesHasBeenSet() const
DeploymentGroupInfo & WithAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
DeploymentGroupInfo & AddEcsServices(const ECSService &value)
void SetOutdatedInstancesStrategy(const OutdatedInstancesStrategy &value)
void SetLastAttemptedDeployment(LastDeploymentInfo &&value)
DeploymentGroupInfo & WithEc2TagSet(EC2TagSet &&value)
DeploymentGroupInfo & WithOnPremisesInstanceTagFilters(Aws::Vector< TagFilter > &&value)
bool AutoScalingGroupsHasBeenSet() const
void SetEc2TagSet(const EC2TagSet &value)
void SetAutoScalingGroups(const Aws::Vector< AutoScalingGroup > &value)
void SetOnPremisesInstanceTagFilters(const Aws::Vector< TagFilter > &value)
void SetAlarmConfiguration(AlarmConfiguration &&value)
DeploymentGroupInfo & WithLoadBalancerInfo(LoadBalancerInfo &&value)
void SetOnPremisesInstanceTagFilters(Aws::Vector< TagFilter > &&value)
DeploymentGroupInfo & WithOnPremisesTagSet(OnPremisesTagSet &&value)
DeploymentGroupInfo & WithAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
void SetAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
const LastDeploymentInfo & GetLastSuccessfulDeployment() const
void SetLastSuccessfulDeployment(const LastDeploymentInfo &value)
void SetAutoScalingGroups(Aws::Vector< AutoScalingGroup > &&value)
void SetServiceRoleArn(const Aws::String &value)
void SetComputePlatform(const ComputePlatform &value)
DeploymentGroupInfo & WithEcsServices(Aws::Vector< ECSService > &&value)
bool TargetRevisionHasBeenSet() const
DeploymentGroupInfo & WithDeploymentConfigName(Aws::String &&value)
void SetApplicationName(const char *value)
bool DeploymentGroupIdHasBeenSet() const
DeploymentGroupInfo & WithDeploymentConfigName(const Aws::String &value)
void SetDeploymentStyle(DeploymentStyle &&value)
const LoadBalancerInfo & GetLoadBalancerInfo() const
void SetDeploymentGroupName(const char *value)
const Aws::String & GetDeploymentGroupName() const
bool AutoRollbackConfigurationHasBeenSet() const
void SetLoadBalancerInfo(const LoadBalancerInfo &value)
const BlueGreenDeploymentConfiguration & GetBlueGreenDeploymentConfiguration() const
void SetAlarmConfiguration(const AlarmConfiguration &value)
bool Ec2TagSetHasBeenSet() const
void SetOnPremisesTagSet(const OnPremisesTagSet &value)
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
DeploymentGroupInfo & WithTargetRevision(RevisionLocation &&value)
bool ApplicationNameHasBeenSet() const
const OutdatedInstancesStrategy & GetOutdatedInstancesStrategy() const
void SetAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
const DeploymentStyle & GetDeploymentStyle() const
DeploymentGroupInfo & WithDeploymentStyle(const DeploymentStyle &value)
DeploymentGroupInfo & WithEc2TagFilters(const Aws::Vector< EC2TagFilter > &value)
DeploymentGroupInfo & WithOutdatedInstancesStrategy(OutdatedInstancesStrategy &&value)
bool ServiceRoleArnHasBeenSet() const
DeploymentGroupInfo & WithDeploymentConfigName(const char *value)
void SetApplicationName(const Aws::String &value)
void SetEc2TagFilters(const Aws::Vector< EC2TagFilter > &value)
const Aws::String & GetApplicationName() const
DeploymentGroupInfo & WithAutoScalingGroups(const Aws::Vector< AutoScalingGroup > &value)
const OnPremisesTagSet & GetOnPremisesTagSet() const
const AlarmConfiguration & GetAlarmConfiguration() const
DeploymentGroupInfo & WithLoadBalancerInfo(const LoadBalancerInfo &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentGroupInfo & WithTriggerConfigurations(Aws::Vector< TriggerConfig > &&value)
bool BlueGreenDeploymentConfigurationHasBeenSet() const
DeploymentGroupInfo & WithApplicationName(Aws::String &&value)
DeploymentGroupInfo & WithApplicationName(const Aws::String &value)
void SetTriggerConfigurations(const Aws::Vector< TriggerConfig > &value)
const Aws::String & GetDeploymentConfigName() const
DeploymentGroupInfo & WithDeploymentGroupId(const Aws::String &value)
DeploymentGroupInfo & AddEc2TagFilters(EC2TagFilter &&value)
DeploymentGroupInfo & WithLastSuccessfulDeployment(LastDeploymentInfo &&value)
DeploymentGroupInfo & WithApplicationName(const char *value)
bool AlarmConfigurationHasBeenSet() const
DeploymentGroupInfo & AddOnPremisesInstanceTagFilters(const TagFilter &value)
void SetDeploymentConfigName(const Aws::String &value)
void SetTargetRevision(const RevisionLocation &value)
DeploymentGroupInfo & WithAutoScalingGroups(Aws::Vector< AutoScalingGroup > &&value)
DeploymentGroupInfo & WithDeploymentGroupName(Aws::String &&value)
DeploymentGroupInfo & WithDeploymentGroupName(const char *value)
const Aws::Vector< EC2TagFilter > & GetEc2TagFilters() const
DeploymentGroupInfo & WithTargetRevision(const RevisionLocation &value)
void SetLastSuccessfulDeployment(LastDeploymentInfo &&value)
DeploymentGroupInfo & AddEcsServices(ECSService &&value)
DeploymentGroupInfo & WithDeploymentGroupId(Aws::String &&value)
bool Ec2TagFiltersHasBeenSet() const
bool GetTerminationHookEnabled() const
DeploymentGroupInfo & AddOnPremisesInstanceTagFilters(TagFilter &&value)
bool DeploymentConfigNameHasBeenSet() const
bool DeploymentStyleHasBeenSet() const
DeploymentGroupInfo & WithTriggerConfigurations(const Aws::Vector< TriggerConfig > &value)
const RevisionLocation & GetTargetRevision() const
const Aws::String & GetDeploymentGroupId() const
void SetEcsServices(const Aws::Vector< ECSService > &value)
DeploymentGroupInfo & WithComputePlatform(const ComputePlatform &value)
bool LoadBalancerInfoHasBeenSet() const
void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration &&value)
bool TriggerConfigurationsHasBeenSet() const
const Aws::Vector< TriggerConfig > & GetTriggerConfigurations() const
bool LastSuccessfulDeploymentHasBeenSet() const
bool LastAttemptedDeploymentHasBeenSet() const
void SetOnPremisesTagSet(OnPremisesTagSet &&value)
void SetTriggerConfigurations(Aws::Vector< TriggerConfig > &&value)
void SetServiceRoleArn(Aws::String &&value)
const Aws::Vector< TagFilter > & GetOnPremisesInstanceTagFilters() const
DeploymentGroupInfo & AddEc2TagFilters(const EC2TagFilter &value)
DeploymentGroupInfo & WithLastAttemptedDeployment(const LastDeploymentInfo &value)
bool OutdatedInstancesStrategyHasBeenSet() const
DeploymentGroupInfo & AddTriggerConfigurations(TriggerConfig &&value)
void SetDeploymentGroupName(Aws::String &&value)
DeploymentGroupInfo & WithDeploymentGroupName(const Aws::String &value)
bool TerminationHookEnabledHasBeenSet() const
AWS_CODEDEPLOY_API DeploymentGroupInfo(Aws::Utils::Json::JsonView jsonValue)
DeploymentGroupInfo & WithServiceRoleArn(Aws::String &&value)
DeploymentGroupInfo & WithAlarmConfiguration(const AlarmConfiguration &value)
const Aws::Vector< ECSService > & GetEcsServices() const
DeploymentGroupInfo & WithDeploymentGroupId(const char *value)
DeploymentGroupInfo & WithDeploymentStyle(DeploymentStyle &&value)
void SetOutdatedInstancesStrategy(OutdatedInstancesStrategy &&value)
bool OnPremisesTagSetHasBeenSet() const
DeploymentGroupInfo & WithOnPremisesInstanceTagFilters(const Aws::Vector< TagFilter > &value)
DeploymentGroupInfo & WithEc2TagFilters(Aws::Vector< EC2TagFilter > &&value)
void SetDeploymentStyle(const DeploymentStyle &value)
void SetTerminationHookEnabled(bool value)
DeploymentGroupInfo & AddTriggerConfigurations(const TriggerConfig &value)
const ComputePlatform & GetComputePlatform() const
void SetBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration &value)
OutdatedInstancesStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue