AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentConfigInfo.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codedeploy/model/MinimumHealthyHosts.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/codedeploy/model/ComputePlatform.h>
12#include <aws/codedeploy/model/TrafficRoutingConfig.h>
13#include <aws/codedeploy/model/ZonalConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CodeDeploy
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_CODEDEPLOY_API DeploymentConfigInfo();
40 AWS_CODEDEPLOY_API DeploymentConfigInfo(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDeploymentConfigId() const{ return m_deploymentConfigId; }
50 inline bool DeploymentConfigIdHasBeenSet() const { return m_deploymentConfigIdHasBeenSet; }
51 inline void SetDeploymentConfigId(const Aws::String& value) { m_deploymentConfigIdHasBeenSet = true; m_deploymentConfigId = value; }
52 inline void SetDeploymentConfigId(Aws::String&& value) { m_deploymentConfigIdHasBeenSet = true; m_deploymentConfigId = std::move(value); }
53 inline void SetDeploymentConfigId(const char* value) { m_deploymentConfigIdHasBeenSet = true; m_deploymentConfigId.assign(value); }
55 inline DeploymentConfigInfo& WithDeploymentConfigId(Aws::String&& value) { SetDeploymentConfigId(std::move(value)); return *this;}
56 inline DeploymentConfigInfo& WithDeploymentConfigId(const char* value) { SetDeploymentConfigId(value); return *this;}
58
60
63 inline const Aws::String& GetDeploymentConfigName() const{ return m_deploymentConfigName; }
64 inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; }
65 inline void SetDeploymentConfigName(const Aws::String& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = value; }
66 inline void SetDeploymentConfigName(Aws::String&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::move(value); }
67 inline void SetDeploymentConfigName(const char* value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName.assign(value); }
69 inline DeploymentConfigInfo& WithDeploymentConfigName(Aws::String&& value) { SetDeploymentConfigName(std::move(value)); return *this;}
70 inline DeploymentConfigInfo& WithDeploymentConfigName(const char* value) { SetDeploymentConfigName(value); return *this;}
72
74
77 inline const MinimumHealthyHosts& GetMinimumHealthyHosts() const{ return m_minimumHealthyHosts; }
78 inline bool MinimumHealthyHostsHasBeenSet() const { return m_minimumHealthyHostsHasBeenSet; }
79 inline void SetMinimumHealthyHosts(const MinimumHealthyHosts& value) { m_minimumHealthyHostsHasBeenSet = true; m_minimumHealthyHosts = value; }
80 inline void SetMinimumHealthyHosts(MinimumHealthyHosts&& value) { m_minimumHealthyHostsHasBeenSet = true; m_minimumHealthyHosts = std::move(value); }
84
86
89 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
90 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
91 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
92 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
93 inline DeploymentConfigInfo& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
94 inline DeploymentConfigInfo& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
96
98
102 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
103 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
104 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
105 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
106 inline DeploymentConfigInfo& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;}
107 inline DeploymentConfigInfo& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
109
111
115 inline const TrafficRoutingConfig& GetTrafficRoutingConfig() const{ return m_trafficRoutingConfig; }
116 inline bool TrafficRoutingConfigHasBeenSet() const { return m_trafficRoutingConfigHasBeenSet; }
117 inline void SetTrafficRoutingConfig(const TrafficRoutingConfig& value) { m_trafficRoutingConfigHasBeenSet = true; m_trafficRoutingConfig = value; }
118 inline void SetTrafficRoutingConfig(TrafficRoutingConfig&& value) { m_trafficRoutingConfigHasBeenSet = true; m_trafficRoutingConfig = std::move(value); }
122
124
127 inline const ZonalConfig& GetZonalConfig() const{ return m_zonalConfig; }
128 inline bool ZonalConfigHasBeenSet() const { return m_zonalConfigHasBeenSet; }
129 inline void SetZonalConfig(const ZonalConfig& value) { m_zonalConfigHasBeenSet = true; m_zonalConfig = value; }
130 inline void SetZonalConfig(ZonalConfig&& value) { m_zonalConfigHasBeenSet = true; m_zonalConfig = std::move(value); }
131 inline DeploymentConfigInfo& WithZonalConfig(const ZonalConfig& value) { SetZonalConfig(value); return *this;}
132 inline DeploymentConfigInfo& WithZonalConfig(ZonalConfig&& value) { SetZonalConfig(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_deploymentConfigId;
137 bool m_deploymentConfigIdHasBeenSet = false;
138
139 Aws::String m_deploymentConfigName;
140 bool m_deploymentConfigNameHasBeenSet = false;
141
142 MinimumHealthyHosts m_minimumHealthyHosts;
143 bool m_minimumHealthyHostsHasBeenSet = false;
144
145 Aws::Utils::DateTime m_createTime;
146 bool m_createTimeHasBeenSet = false;
147
148 ComputePlatform m_computePlatform;
149 bool m_computePlatformHasBeenSet = false;
150
151 TrafficRoutingConfig m_trafficRoutingConfig;
152 bool m_trafficRoutingConfigHasBeenSet = false;
153
154 ZonalConfig m_zonalConfig;
155 bool m_zonalConfigHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace CodeDeploy
160} // namespace Aws
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetTrafficRoutingConfig(const TrafficRoutingConfig &value)
AWS_CODEDEPLOY_API DeploymentConfigInfo(Aws::Utils::Json::JsonView jsonValue)
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
DeploymentConfigInfo & WithZonalConfig(ZonalConfig &&value)
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)
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 & WithZonalConfig(const ZonalConfig &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
Aws::Utils::Json::JsonValue JsonValue