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>
51 template<
typename DeploymentConfigIdT = Aws::String>
52 void SetDeploymentConfigId(DeploymentConfigIdT&& value) { m_deploymentConfigIdHasBeenSet =
true; m_deploymentConfigId = std::forward<DeploymentConfigIdT>(value); }
53 template<
typename DeploymentConfigIdT = Aws::String>
63 template<
typename DeploymentConfigNameT = Aws::String>
64 void SetDeploymentConfigName(DeploymentConfigNameT&& value) { m_deploymentConfigNameHasBeenSet =
true; m_deploymentConfigName = std::forward<DeploymentConfigNameT>(value); }
65 template<
typename DeploymentConfigNameT = Aws::String>
75 template<
typename MinimumHealthyHostsT = MinimumHealthyHosts>
76 void SetMinimumHealthyHosts(MinimumHealthyHostsT&& value) { m_minimumHealthyHostsHasBeenSet =
true; m_minimumHealthyHosts = std::forward<MinimumHealthyHostsT>(value); }
77 template<
typename MinimumHealthyHostsT = MinimumHealthyHosts>
87 template<
typename CreateTimeT = Aws::Utils::DateTime>
88 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
89 template<
typename CreateTimeT = Aws::Utils::DateTime>
111 template<
typename TrafficRoutingConfigT = TrafficRoutingConfig>
112 void SetTrafficRoutingConfig(TrafficRoutingConfigT&& value) { m_trafficRoutingConfigHasBeenSet =
true; m_trafficRoutingConfig = std::forward<TrafficRoutingConfigT>(value); }
113 template<
typename TrafficRoutingConfigT = TrafficRoutingConfig>
123 template<
typename ZonalConfigT = ZonalConfig>
124 void SetZonalConfig(ZonalConfigT&& value) { m_zonalConfigHasBeenSet =
true; m_zonalConfig = std::forward<ZonalConfigT>(value); }
125 template<
typename ZonalConfigT = ZonalConfig>
131 bool m_deploymentConfigIdHasBeenSet =
false;
134 bool m_deploymentConfigNameHasBeenSet =
false;
137 bool m_minimumHealthyHostsHasBeenSet =
false;
140 bool m_createTimeHasBeenSet =
false;
143 bool m_computePlatformHasBeenSet =
false;
145 TrafficRoutingConfig m_trafficRoutingConfig;
146 bool m_trafficRoutingConfigHasBeenSet =
false;
148 ZonalConfig m_zonalConfig;
149 bool m_zonalConfigHasBeenSet =
false;
bool ZonalConfigHasBeenSet() const
AWS_CODEDEPLOY_API DeploymentConfigInfo(Aws::Utils::Json::JsonView jsonValue)
DeploymentConfigInfo & WithComputePlatform(ComputePlatform value)
void SetDeploymentConfigName(DeploymentConfigNameT &&value)
DeploymentConfigInfo & WithMinimumHealthyHosts(MinimumHealthyHostsT &&value)
bool DeploymentConfigIdHasBeenSet() const
void SetZonalConfig(ZonalConfigT &&value)
DeploymentConfigInfo & WithDeploymentConfigId(DeploymentConfigIdT &&value)
const ZonalConfig & GetZonalConfig() const
bool CreateTimeHasBeenSet() const
ComputePlatform GetComputePlatform() const
const MinimumHealthyHosts & GetMinimumHealthyHosts() const
AWS_CODEDEPLOY_API DeploymentConfigInfo()=default
bool TrafficRoutingConfigHasBeenSet() const
const Aws::String & GetDeploymentConfigId() const
void SetTrafficRoutingConfig(TrafficRoutingConfigT &&value)
const TrafficRoutingConfig & GetTrafficRoutingConfig() const
void SetDeploymentConfigId(DeploymentConfigIdT &&value)
bool MinimumHealthyHostsHasBeenSet() const
DeploymentConfigInfo & WithTrafficRoutingConfig(TrafficRoutingConfigT &&value)
const Aws::String & GetDeploymentConfigName() const
void SetCreateTime(CreateTimeT &&value)
DeploymentConfigInfo & WithZonalConfig(ZonalConfigT &&value)
void SetComputePlatform(ComputePlatform value)
bool ComputePlatformHasBeenSet() const
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
DeploymentConfigInfo & WithCreateTime(CreateTimeT &&value)
bool DeploymentConfigNameHasBeenSet() const
void SetMinimumHealthyHosts(MinimumHealthyHostsT &&value)
DeploymentConfigInfo & WithDeploymentConfigName(DeploymentConfigNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue