AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateDeploymentConfigRequest.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17namespace CodeDeploy
18{
19namespace Model
20{
21
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateDeploymentConfig"; }
38
40
42
43
47 inline const Aws::String& GetDeploymentConfigName() const{ return m_deploymentConfigName; }
48
52 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
53
57 inline void SetDeploymentConfigName(const Aws::String& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = value; }
58
62 inline void SetDeploymentConfigName(Aws::String&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::move(value); }
63
67 inline void SetDeploymentConfigName(const char* value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName.assign(value); }
68
73
78
82 inline CreateDeploymentConfigRequest& WithDeploymentConfigName(const char* value) { SetDeploymentConfigName(value); return *this;}
83
84
99 inline const MinimumHealthyHosts& GetMinimumHealthyHosts() const{ return m_minimumHealthyHosts; }
100
115 inline bool MinimumHealthyHostsHasBeenSet() const { return m_minimumHealthyHostsHasBeenSet; }
116
131 inline void SetMinimumHealthyHosts(const MinimumHealthyHosts& value) { m_minimumHealthyHostsHasBeenSet = true; m_minimumHealthyHosts = value; }
132
147 inline void SetMinimumHealthyHosts(MinimumHealthyHosts&& value) { m_minimumHealthyHostsHasBeenSet = true; m_minimumHealthyHosts = std::move(value); }
148
164
180
181
185 inline const TrafficRoutingConfig& GetTrafficRoutingConfig() const{ return m_trafficRoutingConfig; }
186
190 inline bool TrafficRoutingConfigHasBeenSet() const { return m_trafficRoutingConfigHasBeenSet; }
191
195 inline void SetTrafficRoutingConfig(const TrafficRoutingConfig& value) { m_trafficRoutingConfigHasBeenSet = true; m_trafficRoutingConfig = value; }
196
200 inline void SetTrafficRoutingConfig(TrafficRoutingConfig&& value) { m_trafficRoutingConfigHasBeenSet = true; m_trafficRoutingConfig = std::move(value); }
201
206
211
212
217 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
218
223 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
224
229 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
230
235 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
236
242
247 inline CreateDeploymentConfigRequest& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
248
249 private:
250
251 Aws::String m_deploymentConfigName;
252 bool m_deploymentConfigNameHasBeenSet = false;
253
254 MinimumHealthyHosts m_minimumHealthyHosts;
255 bool m_minimumHealthyHostsHasBeenSet = false;
256
257 TrafficRoutingConfig m_trafficRoutingConfig;
258 bool m_trafficRoutingConfigHasBeenSet = false;
259
260 ComputePlatform m_computePlatform;
261 bool m_computePlatformHasBeenSet = false;
262 };
263
264} // namespace Model
265} // namespace CodeDeploy
266} // namespace Aws
#define AWS_CODEDEPLOY_API
CreateDeploymentConfigRequest & WithComputePlatform(ComputePlatform &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDeploymentConfigRequest & WithDeploymentConfigName(const char *value)
CreateDeploymentConfigRequest & WithTrafficRoutingConfig(const TrafficRoutingConfig &value)
CreateDeploymentConfigRequest & WithDeploymentConfigName(const Aws::String &value)
CreateDeploymentConfigRequest & WithTrafficRoutingConfig(TrafficRoutingConfig &&value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
CreateDeploymentConfigRequest & WithMinimumHealthyHosts(const MinimumHealthyHosts &value)
CreateDeploymentConfigRequest & WithComputePlatform(const ComputePlatform &value)
CreateDeploymentConfigRequest & WithMinimumHealthyHosts(MinimumHealthyHosts &&value)
CreateDeploymentConfigRequest & WithDeploymentConfigName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String