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/codedeploy/model/RevisionLocation.h>
11#include <aws/codedeploy/model/TargetInstances.h>
12#include <aws/codedeploy/model/AutoRollbackConfiguration.h>
13#include <aws/codedeploy/model/FileExistsBehavior.h>
14#include <aws/codedeploy/model/AlarmConfiguration.h>
55 inline void SetApplicationName(
const char* value) { m_applicationNameHasBeenSet =
true; m_applicationName.assign(value); }
69 inline void SetDeploymentGroupName(
const char* value) { m_deploymentGroupNameHasBeenSet =
true; m_deploymentGroupName.assign(value); }
99 inline void SetDeploymentConfigName(
const char* value) { m_deploymentConfigNameHasBeenSet =
true; m_deploymentConfigName.assign(value); }
113 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
233 bool m_applicationNameHasBeenSet =
false;
236 bool m_deploymentGroupNameHasBeenSet =
false;
239 bool m_revisionHasBeenSet =
false;
242 bool m_deploymentConfigNameHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
247 bool m_ignoreApplicationStopFailures;
248 bool m_ignoreApplicationStopFailuresHasBeenSet =
false;
251 bool m_targetInstancesHasBeenSet =
false;
254 bool m_autoRollbackConfigurationHasBeenSet =
false;
256 bool m_updateOutdatedInstancesOnly;
257 bool m_updateOutdatedInstancesOnlyHasBeenSet =
false;
260 bool m_fileExistsBehaviorHasBeenSet =
false;
263 bool m_overrideAlarmConfigurationHasBeenSet =
false;
bool AutoRollbackConfigurationHasBeenSet() const
void SetAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
CreateDeploymentRequest & WithOverrideAlarmConfiguration(const AlarmConfiguration &value)
bool IgnoreApplicationStopFailuresHasBeenSet() const
void SetApplicationName(Aws::String &&value)
void SetOverrideAlarmConfiguration(AlarmConfiguration &&value)
void SetIgnoreApplicationStopFailures(bool value)
bool RevisionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDeploymentRequest & WithFileExistsBehavior(const FileExistsBehavior &value)
CreateDeploymentRequest & WithDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
const RevisionLocation & GetRevision() const
void SetDeploymentGroupName(const Aws::String &value)
const Aws::String & GetDescription() const
CreateDeploymentRequest & WithApplicationName(const char *value)
CreateDeploymentRequest & WithApplicationName(const Aws::String &value)
CreateDeploymentRequest & WithRevision(RevisionLocation &&value)
void SetDescription(const Aws::String &value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEDEPLOY_API CreateDeploymentRequest()
CreateDeploymentRequest & WithDeploymentGroupName(const Aws::String &value)
CreateDeploymentRequest & WithDeploymentConfigName(Aws::String &&value)
void SetDescription(const char *value)
void SetDeploymentConfigName(const char *value)
bool UpdateOutdatedInstancesOnlyHasBeenSet() const
CreateDeploymentRequest & WithDeploymentGroupName(const char *value)
void SetDeploymentConfigName(const Aws::String &value)
const Aws::String & GetDeploymentConfigName() const
void SetApplicationName(const char *value)
CreateDeploymentRequest & WithDescription(const Aws::String &value)
const AlarmConfiguration & GetOverrideAlarmConfiguration() const
void SetTargetInstances(TargetInstances &&value)
void SetDeploymentGroupName(Aws::String &&value)
void SetDescription(Aws::String &&value)
const AutoRollbackConfiguration & GetAutoRollbackConfiguration() const
void SetFileExistsBehavior(FileExistsBehavior &&value)
const Aws::String & GetApplicationName() const
void SetRevision(RevisionLocation &&value)
void SetUpdateOutdatedInstancesOnly(bool value)
bool TargetInstancesHasBeenSet() const
const Aws::String & GetDeploymentGroupName() const
const TargetInstances & GetTargetInstances() const
CreateDeploymentRequest & WithOverrideAlarmConfiguration(AlarmConfiguration &&value)
void SetTargetInstances(const TargetInstances &value)
void SetOverrideAlarmConfiguration(const AlarmConfiguration &value)
const FileExistsBehavior & GetFileExistsBehavior() const
CreateDeploymentRequest & WithTargetInstances(const TargetInstances &value)
CreateDeploymentRequest & WithApplicationName(Aws::String &&value)
bool OverrideAlarmConfigurationHasBeenSet() const
CreateDeploymentRequest & WithDescription(const char *value)
void SetRevision(const RevisionLocation &value)
void SetApplicationName(const Aws::String &value)
bool GetUpdateOutdatedInstancesOnly() const
CreateDeploymentRequest & WithDeploymentGroupName(Aws::String &&value)
CreateDeploymentRequest & WithDeploymentConfigName(const Aws::String &value)
void SetDeploymentConfigName(Aws::String &&value)
bool FileExistsBehaviorHasBeenSet() const
bool DeploymentGroupNameHasBeenSet() const
void SetFileExistsBehavior(const FileExistsBehavior &value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
void SetDeploymentGroupName(const char *value)
CreateDeploymentRequest & WithTargetInstances(TargetInstances &&value)
CreateDeploymentRequest & WithFileExistsBehavior(FileExistsBehavior &&value)
CreateDeploymentRequest & WithIgnoreApplicationStopFailures(bool value)
void SetAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
CreateDeploymentRequest & WithUpdateOutdatedInstancesOnly(bool value)
CreateDeploymentRequest & WithAutoRollbackConfiguration(const AutoRollbackConfiguration &value)
CreateDeploymentRequest & WithDeploymentConfigName(const char *value)
bool DeploymentConfigNameHasBeenSet() const
CreateDeploymentRequest & WithAutoRollbackConfiguration(AutoRollbackConfiguration &&value)
bool GetIgnoreApplicationStopFailures() const
CreateDeploymentRequest & WithRevision(const RevisionLocation &value)
bool ApplicationNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String