This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codedeploy/include/aws/codedeploy/model/UpdateDeploymentGroupRequest.h

900 lines
41 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
#include <aws/codedeploy/CodeDeployRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/codedeploy/model/AlarmConfiguration.h>
#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
#include <aws/codedeploy/model/DeploymentStyle.h>
#include <aws/codedeploy/model/BlueGreenDeploymentConfiguration.h>
#include <aws/codedeploy/model/LoadBalancerInfo.h>
#include <aws/codedeploy/model/EC2TagSet.h>
#include <aws/codedeploy/model/OnPremisesTagSet.h>
#include <aws/codedeploy/model/EC2TagFilter.h>
#include <aws/codedeploy/model/TagFilter.h>
#include <aws/codedeploy/model/TriggerConfig.h>
#include <aws/codedeploy/model/ECSService.h>
#include <utility>
namespace Aws
{
namespace CodeDeploy
{
namespace Model
{
/**
* <p>Represents the input of an <code>UpdateDeploymentGroup</code>
* operation.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupInput">AWS
* API Reference</a></p>
*/
class AWS_CODEDEPLOY_API UpdateDeploymentGroupRequest : public CodeDeployRequest
{
public:
UpdateDeploymentGroupRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateDeploymentGroup"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The application name that corresponds to the deployment group to update.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The application name that corresponds to the deployment group to update.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The application name that corresponds to the deployment group to update.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The application name that corresponds to the deployment group to update.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The application name that corresponds to the deployment group to update.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The application name that corresponds to the deployment group to update.</p>
*/
inline UpdateDeploymentGroupRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The application name that corresponds to the deployment group to update.</p>
*/
inline UpdateDeploymentGroupRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The application name that corresponds to the deployment group to update.</p>
*/
inline UpdateDeploymentGroupRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The current name of the deployment group.</p>
*/
inline const Aws::String& GetCurrentDeploymentGroupName() const{ return m_currentDeploymentGroupName; }
/**
* <p>The current name of the deployment group.</p>
*/
inline bool CurrentDeploymentGroupNameHasBeenSet() const { return m_currentDeploymentGroupNameHasBeenSet; }
/**
* <p>The current name of the deployment group.</p>
*/
inline void SetCurrentDeploymentGroupName(const Aws::String& value) { m_currentDeploymentGroupNameHasBeenSet = true; m_currentDeploymentGroupName = value; }
/**
* <p>The current name of the deployment group.</p>
*/
inline void SetCurrentDeploymentGroupName(Aws::String&& value) { m_currentDeploymentGroupNameHasBeenSet = true; m_currentDeploymentGroupName = std::move(value); }
/**
* <p>The current name of the deployment group.</p>
*/
inline void SetCurrentDeploymentGroupName(const char* value) { m_currentDeploymentGroupNameHasBeenSet = true; m_currentDeploymentGroupName.assign(value); }
/**
* <p>The current name of the deployment group.</p>
*/
inline UpdateDeploymentGroupRequest& WithCurrentDeploymentGroupName(const Aws::String& value) { SetCurrentDeploymentGroupName(value); return *this;}
/**
* <p>The current name of the deployment group.</p>
*/
inline UpdateDeploymentGroupRequest& WithCurrentDeploymentGroupName(Aws::String&& value) { SetCurrentDeploymentGroupName(std::move(value)); return *this;}
/**
* <p>The current name of the deployment group.</p>
*/
inline UpdateDeploymentGroupRequest& WithCurrentDeploymentGroupName(const char* value) { SetCurrentDeploymentGroupName(value); return *this;}
/**
* <p>The new name of the deployment group, if you want to change it.</p>
*/
inline const Aws::String& GetNewDeploymentGroupName() const{ return m_newDeploymentGroupName; }
/**
* <p>The new name of the deployment group, if you want to change it.</p>
*/
inline bool NewDeploymentGroupNameHasBeenSet() const { return m_newDeploymentGroupNameHasBeenSet; }
/**
* <p>The new name of the deployment group, if you want to change it.</p>
*/
inline void SetNewDeploymentGroupName(const Aws::String& value) { m_newDeploymentGroupNameHasBeenSet = true; m_newDeploymentGroupName = value; }
/**
* <p>The new name of the deployment group, if you want to change it.</p>
*/
inline void SetNewDeploymentGroupName(Aws::String&& value) { m_newDeploymentGroupNameHasBeenSet = true; m_newDeploymentGroupName = std::move(value); }
/**
* <p>The new name of the deployment group, if you want to change it.</p>
*/
inline void SetNewDeploymentGroupName(const char* value) { m_newDeploymentGroupNameHasBeenSet = true; m_newDeploymentGroupName.assign(value); }
/**
* <p>The new name of the deployment group, if you want to change it.</p>
*/
inline UpdateDeploymentGroupRequest& WithNewDeploymentGroupName(const Aws::String& value) { SetNewDeploymentGroupName(value); return *this;}
/**
* <p>The new name of the deployment group, if you want to change it.</p>
*/
inline UpdateDeploymentGroupRequest& WithNewDeploymentGroupName(Aws::String&& value) { SetNewDeploymentGroupName(std::move(value)); return *this;}
/**
* <p>The new name of the deployment group, if you want to change it.</p>
*/
inline UpdateDeploymentGroupRequest& WithNewDeploymentGroupName(const char* value) { SetNewDeploymentGroupName(value); return *this;}
/**
* <p>The replacement deployment configuration name to use, if you want to change
* it.</p>
*/
inline const Aws::String& GetDeploymentConfigName() const{ return m_deploymentConfigName; }
/**
* <p>The replacement deployment configuration name to use, if you want to change
* it.</p>
*/
inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
/**
* <p>The replacement deployment configuration name to use, if you want to change
* it.</p>
*/
inline void SetDeploymentConfigName(const Aws::String& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = value; }
/**
* <p>The replacement deployment configuration name to use, if you want to change
* it.</p>
*/
inline void SetDeploymentConfigName(Aws::String&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::move(value); }
/**
* <p>The replacement deployment configuration name to use, if you want to change
* it.</p>
*/
inline void SetDeploymentConfigName(const char* value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName.assign(value); }
/**
* <p>The replacement deployment configuration name to use, if you want to change
* it.</p>
*/
inline UpdateDeploymentGroupRequest& WithDeploymentConfigName(const Aws::String& value) { SetDeploymentConfigName(value); return *this;}
/**
* <p>The replacement deployment configuration name to use, if you want to change
* it.</p>
*/
inline UpdateDeploymentGroupRequest& WithDeploymentConfigName(Aws::String&& value) { SetDeploymentConfigName(std::move(value)); return *this;}
/**
* <p>The replacement deployment configuration name to use, if you want to change
* it.</p>
*/
inline UpdateDeploymentGroupRequest& WithDeploymentConfigName(const char* value) { SetDeploymentConfigName(value); return *this;}
/**
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
* change them. To keep the existing tags, enter their names. To remove tags, do
* not enter any tag names.</p>
*/
inline const Aws::Vector<EC2TagFilter>& GetEc2TagFilters() const{ return m_ec2TagFilters; }
/**
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
* change them. To keep the existing tags, enter their names. To remove tags, do
* not enter any tag names.</p>
*/
inline bool Ec2TagFiltersHasBeenSet() const { return m_ec2TagFiltersHasBeenSet; }
/**
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
* change them. To keep the existing tags, enter their names. To remove tags, do
* not enter any tag names.</p>
*/
inline void SetEc2TagFilters(const Aws::Vector<EC2TagFilter>& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters = value; }
/**
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
* change them. To keep the existing tags, enter their names. To remove tags, do
* not enter any tag names.</p>
*/
inline void SetEc2TagFilters(Aws::Vector<EC2TagFilter>&& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters = std::move(value); }
/**
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
* change them. To keep the existing tags, enter their names. To remove tags, do
* not enter any tag names.</p>
*/
inline UpdateDeploymentGroupRequest& WithEc2TagFilters(const Aws::Vector<EC2TagFilter>& value) { SetEc2TagFilters(value); return *this;}
/**
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
* change them. To keep the existing tags, enter their names. To remove tags, do
* not enter any tag names.</p>
*/
inline UpdateDeploymentGroupRequest& WithEc2TagFilters(Aws::Vector<EC2TagFilter>&& value) { SetEc2TagFilters(std::move(value)); return *this;}
/**
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
* change them. To keep the existing tags, enter their names. To remove tags, do
* not enter any tag names.</p>
*/
inline UpdateDeploymentGroupRequest& AddEc2TagFilters(const EC2TagFilter& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters.push_back(value); return *this; }
/**
* <p>The replacement set of Amazon EC2 tags on which to filter, if you want to
* change them. To keep the existing tags, enter their names. To remove tags, do
* not enter any tag names.</p>
*/
inline UpdateDeploymentGroupRequest& AddEc2TagFilters(EC2TagFilter&& value) { m_ec2TagFiltersHasBeenSet = true; m_ec2TagFilters.push_back(std::move(value)); return *this; }
/**
* <p>The replacement set of on-premises instance tags on which to filter, if you
* want to change them. To keep the existing tags, enter their names. To remove
* tags, do not enter any tag names.</p>
*/
inline const Aws::Vector<TagFilter>& GetOnPremisesInstanceTagFilters() const{ return m_onPremisesInstanceTagFilters; }
/**
* <p>The replacement set of on-premises instance tags on which to filter, if you
* want to change them. To keep the existing tags, enter their names. To remove
* tags, do not enter any tag names.</p>
*/
inline bool OnPremisesInstanceTagFiltersHasBeenSet() const { return m_onPremisesInstanceTagFiltersHasBeenSet; }
/**
* <p>The replacement set of on-premises instance tags on which to filter, if you
* want to change them. To keep the existing tags, enter their names. To remove
* tags, do not enter any tag names.</p>
*/
inline void SetOnPremisesInstanceTagFilters(const Aws::Vector<TagFilter>& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters = value; }
/**
* <p>The replacement set of on-premises instance tags on which to filter, if you
* want to change them. To keep the existing tags, enter their names. To remove
* tags, do not enter any tag names.</p>
*/
inline void SetOnPremisesInstanceTagFilters(Aws::Vector<TagFilter>&& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters = std::move(value); }
/**
* <p>The replacement set of on-premises instance tags on which to filter, if you
* want to change them. To keep the existing tags, enter their names. To remove
* tags, do not enter any tag names.</p>
*/
inline UpdateDeploymentGroupRequest& WithOnPremisesInstanceTagFilters(const Aws::Vector<TagFilter>& value) { SetOnPremisesInstanceTagFilters(value); return *this;}
/**
* <p>The replacement set of on-premises instance tags on which to filter, if you
* want to change them. To keep the existing tags, enter their names. To remove
* tags, do not enter any tag names.</p>
*/
inline UpdateDeploymentGroupRequest& WithOnPremisesInstanceTagFilters(Aws::Vector<TagFilter>&& value) { SetOnPremisesInstanceTagFilters(std::move(value)); return *this;}
/**
* <p>The replacement set of on-premises instance tags on which to filter, if you
* want to change them. To keep the existing tags, enter their names. To remove
* tags, do not enter any tag names.</p>
*/
inline UpdateDeploymentGroupRequest& AddOnPremisesInstanceTagFilters(const TagFilter& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters.push_back(value); return *this; }
/**
* <p>The replacement set of on-premises instance tags on which to filter, if you
* want to change them. To keep the existing tags, enter their names. To remove
* tags, do not enter any tag names.</p>
*/
inline UpdateDeploymentGroupRequest& AddOnPremisesInstanceTagFilters(TagFilter&& value) { m_onPremisesInstanceTagFiltersHasBeenSet = true; m_onPremisesInstanceTagFilters.push_back(std::move(value)); return *this; }
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline const Aws::Vector<Aws::String>& GetAutoScalingGroups() const{ return m_autoScalingGroups; }
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline bool AutoScalingGroupsHasBeenSet() const { return m_autoScalingGroupsHasBeenSet; }
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline void SetAutoScalingGroups(const Aws::Vector<Aws::String>& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups = value; }
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline void SetAutoScalingGroups(Aws::Vector<Aws::String>&& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups = std::move(value); }
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline UpdateDeploymentGroupRequest& WithAutoScalingGroups(const Aws::Vector<Aws::String>& value) { SetAutoScalingGroups(value); return *this;}
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline UpdateDeploymentGroupRequest& WithAutoScalingGroups(Aws::Vector<Aws::String>&& value) { SetAutoScalingGroups(std::move(value)); return *this;}
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline UpdateDeploymentGroupRequest& AddAutoScalingGroups(const Aws::String& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups.push_back(value); return *this; }
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline UpdateDeploymentGroupRequest& AddAutoScalingGroups(Aws::String&& value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups.push_back(std::move(value)); return *this; }
/**
* <p>The replacement list of Auto Scaling groups to be included in the deployment
* group, if you want to change them. To keep the Auto Scaling groups, enter their
* names. To remove Auto Scaling groups, do not enter any Auto Scaling group
* names.</p>
*/
inline UpdateDeploymentGroupRequest& AddAutoScalingGroups(const char* value) { m_autoScalingGroupsHasBeenSet = true; m_autoScalingGroups.push_back(value); return *this; }
/**
* <p>A replacement ARN for the service role, if you want to change it.</p>
*/
inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
/**
* <p>A replacement ARN for the service role, if you want to change it.</p>
*/
inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
/**
* <p>A replacement ARN for the service role, if you want to change it.</p>
*/
inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
/**
* <p>A replacement ARN for the service role, if you want to change it.</p>
*/
inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); }
/**
* <p>A replacement ARN for the service role, if you want to change it.</p>
*/
inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
/**
* <p>A replacement ARN for the service role, if you want to change it.</p>
*/
inline UpdateDeploymentGroupRequest& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;}
/**
* <p>A replacement ARN for the service role, if you want to change it.</p>
*/
inline UpdateDeploymentGroupRequest& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;}
/**
* <p>A replacement ARN for the service role, if you want to change it.</p>
*/
inline UpdateDeploymentGroupRequest& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
/**
* <p>Information about triggers to change when the deployment group is updated.
* For examples, see <a
* href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit
* a Trigger in a CodeDeploy Deployment Group</a> in the <i>AWS CodeDeploy User
* Guide</i>.</p>
*/
inline const Aws::Vector<TriggerConfig>& GetTriggerConfigurations() const{ return m_triggerConfigurations; }
/**
* <p>Information about triggers to change when the deployment group is updated.
* For examples, see <a
* href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit
* a Trigger in a CodeDeploy Deployment Group</a> in the <i>AWS CodeDeploy User
* Guide</i>.</p>
*/
inline bool TriggerConfigurationsHasBeenSet() const { return m_triggerConfigurationsHasBeenSet; }
/**
* <p>Information about triggers to change when the deployment group is updated.
* For examples, see <a
* href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit
* a Trigger in a CodeDeploy Deployment Group</a> in the <i>AWS CodeDeploy User
* Guide</i>.</p>
*/
inline void SetTriggerConfigurations(const Aws::Vector<TriggerConfig>& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations = value; }
/**
* <p>Information about triggers to change when the deployment group is updated.
* For examples, see <a
* href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit
* a Trigger in a CodeDeploy Deployment Group</a> in the <i>AWS CodeDeploy User
* Guide</i>.</p>
*/
inline void SetTriggerConfigurations(Aws::Vector<TriggerConfig>&& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations = std::move(value); }
/**
* <p>Information about triggers to change when the deployment group is updated.
* For examples, see <a
* href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit
* a Trigger in a CodeDeploy Deployment Group</a> in the <i>AWS CodeDeploy User
* Guide</i>.</p>
*/
inline UpdateDeploymentGroupRequest& WithTriggerConfigurations(const Aws::Vector<TriggerConfig>& value) { SetTriggerConfigurations(value); return *this;}
/**
* <p>Information about triggers to change when the deployment group is updated.
* For examples, see <a
* href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit
* a Trigger in a CodeDeploy Deployment Group</a> in the <i>AWS CodeDeploy User
* Guide</i>.</p>
*/
inline UpdateDeploymentGroupRequest& WithTriggerConfigurations(Aws::Vector<TriggerConfig>&& value) { SetTriggerConfigurations(std::move(value)); return *this;}
/**
* <p>Information about triggers to change when the deployment group is updated.
* For examples, see <a
* href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit
* a Trigger in a CodeDeploy Deployment Group</a> in the <i>AWS CodeDeploy User
* Guide</i>.</p>
*/
inline UpdateDeploymentGroupRequest& AddTriggerConfigurations(const TriggerConfig& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations.push_back(value); return *this; }
/**
* <p>Information about triggers to change when the deployment group is updated.
* For examples, see <a
* href="https://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html">Edit
* a Trigger in a CodeDeploy Deployment Group</a> in the <i>AWS CodeDeploy User
* Guide</i>.</p>
*/
inline UpdateDeploymentGroupRequest& AddTriggerConfigurations(TriggerConfig&& value) { m_triggerConfigurationsHasBeenSet = true; m_triggerConfigurations.push_back(std::move(value)); return *this; }
/**
* <p>Information to add or change about Amazon CloudWatch alarms when the
* deployment group is updated.</p>
*/
inline const AlarmConfiguration& GetAlarmConfiguration() const{ return m_alarmConfiguration; }
/**
* <p>Information to add or change about Amazon CloudWatch alarms when the
* deployment group is updated.</p>
*/
inline bool AlarmConfigurationHasBeenSet() const { return m_alarmConfigurationHasBeenSet; }
/**
* <p>Information to add or change about Amazon CloudWatch alarms when the
* deployment group is updated.</p>
*/
inline void SetAlarmConfiguration(const AlarmConfiguration& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = value; }
/**
* <p>Information to add or change about Amazon CloudWatch alarms when the
* deployment group is updated.</p>
*/
inline void SetAlarmConfiguration(AlarmConfiguration&& value) { m_alarmConfigurationHasBeenSet = true; m_alarmConfiguration = std::move(value); }
/**
* <p>Information to add or change about Amazon CloudWatch alarms when the
* deployment group is updated.</p>
*/
inline UpdateDeploymentGroupRequest& WithAlarmConfiguration(const AlarmConfiguration& value) { SetAlarmConfiguration(value); return *this;}
/**
* <p>Information to add or change about Amazon CloudWatch alarms when the
* deployment group is updated.</p>
*/
inline UpdateDeploymentGroupRequest& WithAlarmConfiguration(AlarmConfiguration&& value) { SetAlarmConfiguration(std::move(value)); return *this;}
/**
* <p>Information for an automatic rollback configuration that is added or changed
* when a deployment group is updated.</p>
*/
inline const AutoRollbackConfiguration& GetAutoRollbackConfiguration() const{ return m_autoRollbackConfiguration; }
/**
* <p>Information for an automatic rollback configuration that is added or changed
* when a deployment group is updated.</p>
*/
inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; }
/**
* <p>Information for an automatic rollback configuration that is added or changed
* when a deployment group is updated.</p>
*/
inline void SetAutoRollbackConfiguration(const AutoRollbackConfiguration& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = value; }
/**
* <p>Information for an automatic rollback configuration that is added or changed
* when a deployment group is updated.</p>
*/
inline void SetAutoRollbackConfiguration(AutoRollbackConfiguration&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::move(value); }
/**
* <p>Information for an automatic rollback configuration that is added or changed
* when a deployment group is updated.</p>
*/
inline UpdateDeploymentGroupRequest& WithAutoRollbackConfiguration(const AutoRollbackConfiguration& value) { SetAutoRollbackConfiguration(value); return *this;}
/**
* <p>Information for an automatic rollback configuration that is added or changed
* when a deployment group is updated.</p>
*/
inline UpdateDeploymentGroupRequest& WithAutoRollbackConfiguration(AutoRollbackConfiguration&& value) { SetAutoRollbackConfiguration(std::move(value)); return *this;}
/**
* <p>Information about the type of deployment, either in-place or blue/green, you
* want to run and whether to route deployment traffic behind a load balancer.</p>
*/
inline const DeploymentStyle& GetDeploymentStyle() const{ return m_deploymentStyle; }
/**
* <p>Information about the type of deployment, either in-place or blue/green, you
* want to run and whether to route deployment traffic behind a load balancer.</p>
*/
inline bool DeploymentStyleHasBeenSet() const { return m_deploymentStyleHasBeenSet; }
/**
* <p>Information about the type of deployment, either in-place or blue/green, you
* want to run and whether to route deployment traffic behind a load balancer.</p>
*/
inline void SetDeploymentStyle(const DeploymentStyle& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = value; }
/**
* <p>Information about the type of deployment, either in-place or blue/green, you
* want to run and whether to route deployment traffic behind a load balancer.</p>
*/
inline void SetDeploymentStyle(DeploymentStyle&& value) { m_deploymentStyleHasBeenSet = true; m_deploymentStyle = std::move(value); }
/**
* <p>Information about the type of deployment, either in-place or blue/green, you
* want to run and whether to route deployment traffic behind a load balancer.</p>
*/
inline UpdateDeploymentGroupRequest& WithDeploymentStyle(const DeploymentStyle& value) { SetDeploymentStyle(value); return *this;}
/**
* <p>Information about the type of deployment, either in-place or blue/green, you
* want to run and whether to route deployment traffic behind a load balancer.</p>
*/
inline UpdateDeploymentGroupRequest& WithDeploymentStyle(DeploymentStyle&& value) { SetDeploymentStyle(std::move(value)); return *this;}
/**
* <p>Information about blue/green deployment options for a deployment group.</p>
*/
inline const BlueGreenDeploymentConfiguration& GetBlueGreenDeploymentConfiguration() const{ return m_blueGreenDeploymentConfiguration; }
/**
* <p>Information about blue/green deployment options for a deployment group.</p>
*/
inline bool BlueGreenDeploymentConfigurationHasBeenSet() const { return m_blueGreenDeploymentConfigurationHasBeenSet; }
/**
* <p>Information about blue/green deployment options for a deployment group.</p>
*/
inline void SetBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = value; }
/**
* <p>Information about blue/green deployment options for a deployment group.</p>
*/
inline void SetBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration&& value) { m_blueGreenDeploymentConfigurationHasBeenSet = true; m_blueGreenDeploymentConfiguration = std::move(value); }
/**
* <p>Information about blue/green deployment options for a deployment group.</p>
*/
inline UpdateDeploymentGroupRequest& WithBlueGreenDeploymentConfiguration(const BlueGreenDeploymentConfiguration& value) { SetBlueGreenDeploymentConfiguration(value); return *this;}
/**
* <p>Information about blue/green deployment options for a deployment group.</p>
*/
inline UpdateDeploymentGroupRequest& WithBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration&& value) { SetBlueGreenDeploymentConfiguration(std::move(value)); return *this;}
/**
* <p>Information about the load balancer used in a deployment.</p>
*/
inline const LoadBalancerInfo& GetLoadBalancerInfo() const{ return m_loadBalancerInfo; }
/**
* <p>Information about the load balancer used in a deployment.</p>
*/
inline bool LoadBalancerInfoHasBeenSet() const { return m_loadBalancerInfoHasBeenSet; }
/**
* <p>Information about the load balancer used in a deployment.</p>
*/
inline void SetLoadBalancerInfo(const LoadBalancerInfo& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = value; }
/**
* <p>Information about the load balancer used in a deployment.</p>
*/
inline void SetLoadBalancerInfo(LoadBalancerInfo&& value) { m_loadBalancerInfoHasBeenSet = true; m_loadBalancerInfo = std::move(value); }
/**
* <p>Information about the load balancer used in a deployment.</p>
*/
inline UpdateDeploymentGroupRequest& WithLoadBalancerInfo(const LoadBalancerInfo& value) { SetLoadBalancerInfo(value); return *this;}
/**
* <p>Information about the load balancer used in a deployment.</p>
*/
inline UpdateDeploymentGroupRequest& WithLoadBalancerInfo(LoadBalancerInfo&& value) { SetLoadBalancerInfo(std::move(value)); return *this;}
/**
* <p>Information about groups of tags applied to on-premises instances. The
* deployment group includes only EC2 instances identified by all the tag
* groups.</p>
*/
inline const EC2TagSet& GetEc2TagSet() const{ return m_ec2TagSet; }
/**
* <p>Information about groups of tags applied to on-premises instances. The
* deployment group includes only EC2 instances identified by all the tag
* groups.</p>
*/
inline bool Ec2TagSetHasBeenSet() const { return m_ec2TagSetHasBeenSet; }
/**
* <p>Information about groups of tags applied to on-premises instances. The
* deployment group includes only EC2 instances identified by all the tag
* groups.</p>
*/
inline void SetEc2TagSet(const EC2TagSet& value) { m_ec2TagSetHasBeenSet = true; m_ec2TagSet = value; }
/**
* <p>Information about groups of tags applied to on-premises instances. The
* deployment group includes only EC2 instances identified by all the tag
* groups.</p>
*/
inline void SetEc2TagSet(EC2TagSet&& value) { m_ec2TagSetHasBeenSet = true; m_ec2TagSet = std::move(value); }
/**
* <p>Information about groups of tags applied to on-premises instances. The
* deployment group includes only EC2 instances identified by all the tag
* groups.</p>
*/
inline UpdateDeploymentGroupRequest& WithEc2TagSet(const EC2TagSet& value) { SetEc2TagSet(value); return *this;}
/**
* <p>Information about groups of tags applied to on-premises instances. The
* deployment group includes only EC2 instances identified by all the tag
* groups.</p>
*/
inline UpdateDeploymentGroupRequest& WithEc2TagSet(EC2TagSet&& value) { SetEc2TagSet(std::move(value)); return *this;}
/**
* <p> The target Amazon ECS services in the deployment group. This applies only to
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
* service is specified as an Amazon ECS cluster and service name pair using the
* format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. </p>
*/
inline const Aws::Vector<ECSService>& GetEcsServices() const{ return m_ecsServices; }
/**
* <p> The target Amazon ECS services in the deployment group. This applies only to
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
* service is specified as an Amazon ECS cluster and service name pair using the
* format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. </p>
*/
inline bool EcsServicesHasBeenSet() const { return m_ecsServicesHasBeenSet; }
/**
* <p> The target Amazon ECS services in the deployment group. This applies only to
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
* service is specified as an Amazon ECS cluster and service name pair using the
* format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. </p>
*/
inline void SetEcsServices(const Aws::Vector<ECSService>& value) { m_ecsServicesHasBeenSet = true; m_ecsServices = value; }
/**
* <p> The target Amazon ECS services in the deployment group. This applies only to
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
* service is specified as an Amazon ECS cluster and service name pair using the
* format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. </p>
*/
inline void SetEcsServices(Aws::Vector<ECSService>&& value) { m_ecsServicesHasBeenSet = true; m_ecsServices = std::move(value); }
/**
* <p> The target Amazon ECS services in the deployment group. This applies only to
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
* service is specified as an Amazon ECS cluster and service name pair using the
* format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. </p>
*/
inline UpdateDeploymentGroupRequest& WithEcsServices(const Aws::Vector<ECSService>& value) { SetEcsServices(value); return *this;}
/**
* <p> The target Amazon ECS services in the deployment group. This applies only to
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
* service is specified as an Amazon ECS cluster and service name pair using the
* format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. </p>
*/
inline UpdateDeploymentGroupRequest& WithEcsServices(Aws::Vector<ECSService>&& value) { SetEcsServices(std::move(value)); return *this;}
/**
* <p> The target Amazon ECS services in the deployment group. This applies only to
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
* service is specified as an Amazon ECS cluster and service name pair using the
* format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. </p>
*/
inline UpdateDeploymentGroupRequest& AddEcsServices(const ECSService& value) { m_ecsServicesHasBeenSet = true; m_ecsServices.push_back(value); return *this; }
/**
* <p> The target Amazon ECS services in the deployment group. This applies only to
* deployment groups that use the Amazon ECS compute platform. A target Amazon ECS
* service is specified as an Amazon ECS cluster and service name pair using the
* format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. </p>
*/
inline UpdateDeploymentGroupRequest& AddEcsServices(ECSService&& value) { m_ecsServicesHasBeenSet = true; m_ecsServices.push_back(std::move(value)); return *this; }
/**
* <p>Information about an on-premises instance tag set. The deployment group
* includes only on-premises instances identified by all the tag groups.</p>
*/
inline const OnPremisesTagSet& GetOnPremisesTagSet() const{ return m_onPremisesTagSet; }
/**
* <p>Information about an on-premises instance tag set. The deployment group
* includes only on-premises instances identified by all the tag groups.</p>
*/
inline bool OnPremisesTagSetHasBeenSet() const { return m_onPremisesTagSetHasBeenSet; }
/**
* <p>Information about an on-premises instance tag set. The deployment group
* includes only on-premises instances identified by all the tag groups.</p>
*/
inline void SetOnPremisesTagSet(const OnPremisesTagSet& value) { m_onPremisesTagSetHasBeenSet = true; m_onPremisesTagSet = value; }
/**
* <p>Information about an on-premises instance tag set. The deployment group
* includes only on-premises instances identified by all the tag groups.</p>
*/
inline void SetOnPremisesTagSet(OnPremisesTagSet&& value) { m_onPremisesTagSetHasBeenSet = true; m_onPremisesTagSet = std::move(value); }
/**
* <p>Information about an on-premises instance tag set. The deployment group
* includes only on-premises instances identified by all the tag groups.</p>
*/
inline UpdateDeploymentGroupRequest& WithOnPremisesTagSet(const OnPremisesTagSet& value) { SetOnPremisesTagSet(value); return *this;}
/**
* <p>Information about an on-premises instance tag set. The deployment group
* includes only on-premises instances identified by all the tag groups.</p>
*/
inline UpdateDeploymentGroupRequest& WithOnPremisesTagSet(OnPremisesTagSet&& value) { SetOnPremisesTagSet(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::String m_currentDeploymentGroupName;
bool m_currentDeploymentGroupNameHasBeenSet;
Aws::String m_newDeploymentGroupName;
bool m_newDeploymentGroupNameHasBeenSet;
Aws::String m_deploymentConfigName;
bool m_deploymentConfigNameHasBeenSet;
Aws::Vector<EC2TagFilter> m_ec2TagFilters;
bool m_ec2TagFiltersHasBeenSet;
Aws::Vector<TagFilter> m_onPremisesInstanceTagFilters;
bool m_onPremisesInstanceTagFiltersHasBeenSet;
Aws::Vector<Aws::String> m_autoScalingGroups;
bool m_autoScalingGroupsHasBeenSet;
Aws::String m_serviceRoleArn;
bool m_serviceRoleArnHasBeenSet;
Aws::Vector<TriggerConfig> m_triggerConfigurations;
bool m_triggerConfigurationsHasBeenSet;
AlarmConfiguration m_alarmConfiguration;
bool m_alarmConfigurationHasBeenSet;
AutoRollbackConfiguration m_autoRollbackConfiguration;
bool m_autoRollbackConfigurationHasBeenSet;
DeploymentStyle m_deploymentStyle;
bool m_deploymentStyleHasBeenSet;
BlueGreenDeploymentConfiguration m_blueGreenDeploymentConfiguration;
bool m_blueGreenDeploymentConfigurationHasBeenSet;
LoadBalancerInfo m_loadBalancerInfo;
bool m_loadBalancerInfoHasBeenSet;
EC2TagSet m_ec2TagSet;
bool m_ec2TagSetHasBeenSet;
Aws::Vector<ECSService> m_ecsServices;
bool m_ecsServicesHasBeenSet;
OnPremisesTagSet m_onPremisesTagSet;
bool m_onPremisesTagSetHasBeenSet;
};
} // namespace Model
} // namespace CodeDeploy
} // namespace Aws