AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeploymentConfigInfo.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CodeDeploy
26{
27namespace Model
28{
29
36 {
37 public:
42
43
47 inline const Aws::String& GetDeploymentConfigId() const{ return m_deploymentConfigId; }
48
52 inline bool DeploymentConfigIdHasBeenSet() const { return m_deploymentConfigIdHasBeenSet; }
53
57 inline void SetDeploymentConfigId(const Aws::String& value) { m_deploymentConfigIdHasBeenSet = true; m_deploymentConfigId = value; }
58
62 inline void SetDeploymentConfigId(Aws::String&& value) { m_deploymentConfigIdHasBeenSet = true; m_deploymentConfigId = std::move(value); }
63
67 inline void SetDeploymentConfigId(const char* value) { m_deploymentConfigIdHasBeenSet = true; m_deploymentConfigId.assign(value); }
68
73
77 inline DeploymentConfigInfo& WithDeploymentConfigId(Aws::String&& value) { SetDeploymentConfigId(std::move(value)); return *this;}
78
82 inline DeploymentConfigInfo& WithDeploymentConfigId(const char* value) { SetDeploymentConfigId(value); return *this;}
83
84
88 inline const Aws::String& GetDeploymentConfigName() const{ return m_deploymentConfigName; }
89
93 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
94
98 inline void SetDeploymentConfigName(const Aws::String& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = value; }
99
103 inline void SetDeploymentConfigName(Aws::String&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::move(value); }
104
108 inline void SetDeploymentConfigName(const char* value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName.assign(value); }
109
114
118 inline DeploymentConfigInfo& WithDeploymentConfigName(Aws::String&& value) { SetDeploymentConfigName(std::move(value)); return *this;}
119
123 inline DeploymentConfigInfo& WithDeploymentConfigName(const char* value) { SetDeploymentConfigName(value); return *this;}
124
125
129 inline const MinimumHealthyHosts& GetMinimumHealthyHosts() const{ return m_minimumHealthyHosts; }
130
134 inline bool MinimumHealthyHostsHasBeenSet() const { return m_minimumHealthyHostsHasBeenSet; }
135
139 inline void SetMinimumHealthyHosts(const MinimumHealthyHosts& value) { m_minimumHealthyHostsHasBeenSet = true; m_minimumHealthyHosts = value; }
140
144 inline void SetMinimumHealthyHosts(MinimumHealthyHosts&& value) { m_minimumHealthyHostsHasBeenSet = true; m_minimumHealthyHosts = std::move(value); }
145
150
155
156
160 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
161
165 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
166
170 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
171
175 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
176
180 inline DeploymentConfigInfo& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
181
185 inline DeploymentConfigInfo& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
186
187
192 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
193
198 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
199
204 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
205
210 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
211
216 inline DeploymentConfigInfo& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;}
217
222 inline DeploymentConfigInfo& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
223
224
229 inline const TrafficRoutingConfig& GetTrafficRoutingConfig() const{ return m_trafficRoutingConfig; }
230
235 inline bool TrafficRoutingConfigHasBeenSet() const { return m_trafficRoutingConfigHasBeenSet; }
236
241 inline void SetTrafficRoutingConfig(const TrafficRoutingConfig& value) { m_trafficRoutingConfigHasBeenSet = true; m_trafficRoutingConfig = value; }
242
247 inline void SetTrafficRoutingConfig(TrafficRoutingConfig&& value) { m_trafficRoutingConfigHasBeenSet = true; m_trafficRoutingConfig = std::move(value); }
248
254
260
261 private:
262
263 Aws::String m_deploymentConfigId;
264 bool m_deploymentConfigIdHasBeenSet = false;
265
266 Aws::String m_deploymentConfigName;
267 bool m_deploymentConfigNameHasBeenSet = false;
268
269 MinimumHealthyHosts m_minimumHealthyHosts;
270 bool m_minimumHealthyHostsHasBeenSet = false;
271
272 Aws::Utils::DateTime m_createTime;
273 bool m_createTimeHasBeenSet = false;
274
275 ComputePlatform m_computePlatform;
276 bool m_computePlatformHasBeenSet = false;
277
278 TrafficRoutingConfig m_trafficRoutingConfig;
279 bool m_trafficRoutingConfigHasBeenSet = false;
280 };
281
282} // namespace Model
283} // namespace CodeDeploy
284} // namespace Aws
#define AWS_CODEDEPLOY_API
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetTrafficRoutingConfig(const TrafficRoutingConfig &value)
AWS_CODEDEPLOY_API DeploymentConfigInfo(Aws::Utils::Json::JsonView jsonValue)
void SetComputePlatform(ComputePlatform &&value)
void SetMinimumHealthyHosts(const MinimumHealthyHosts &value)
DeploymentConfigInfo & WithDeploymentConfigId(const char *value)
DeploymentConfigInfo & WithDeploymentConfigId(const Aws::String &value)
DeploymentConfigInfo & WithCreateTime(const Aws::Utils::DateTime &value)
void SetDeploymentConfigName(const Aws::String &value)
const MinimumHealthyHosts & GetMinimumHealthyHosts() const
void SetDeploymentConfigId(const Aws::String &value)
const TrafficRoutingConfig & GetTrafficRoutingConfig() const
DeploymentConfigInfo & WithComputePlatform(const ComputePlatform &value)
void SetTrafficRoutingConfig(TrafficRoutingConfig &&value)
DeploymentConfigInfo & WithDeploymentConfigName(const char *value)
DeploymentConfigInfo & WithCreateTime(Aws::Utils::DateTime &&value)
DeploymentConfigInfo & WithMinimumHealthyHosts(MinimumHealthyHosts &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDeploymentConfigName() const
DeploymentConfigInfo & WithComputePlatform(ComputePlatform &&value)
void SetComputePlatform(const ComputePlatform &value)
DeploymentConfigInfo & WithDeploymentConfigName(const Aws::String &value)
DeploymentConfigInfo & WithTrafficRoutingConfig(TrafficRoutingConfig &&value)
DeploymentConfigInfo & WithMinimumHealthyHosts(const MinimumHealthyHosts &value)
DeploymentConfigInfo & WithDeploymentConfigName(Aws::String &&value)
DeploymentConfigInfo & WithTrafficRoutingConfig(const TrafficRoutingConfig &value)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CODEDEPLOY_API DeploymentConfigInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMinimumHealthyHosts(MinimumHealthyHosts &&value)
const ComputePlatform & GetComputePlatform() const
DeploymentConfigInfo & WithDeploymentConfigId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String