7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/elasticbeanstalk/model/ApplicationMetrics.h>
13#include <aws/elasticbeanstalk/model/SystemStatus.h>
14#include <aws/elasticbeanstalk/model/Deployment.h>
26namespace ElasticBeanstalk
44 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
54 template<
typename InstanceIdT = Aws::String>
55 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
56 template<
typename InstanceIdT = Aws::String>
69 template<
typename HealthStatusT = Aws::String>
70 void SetHealthStatus(HealthStatusT&& value) { m_healthStatusHasBeenSet =
true; m_healthStatus = std::forward<HealthStatusT>(value); }
71 template<
typename HealthStatusT = Aws::String>
84 template<
typename ColorT = Aws::String>
85 void SetColor(ColorT&& value) { m_colorHasBeenSet =
true; m_color = std::forward<ColorT>(value); }
86 template<
typename ColorT = Aws::String>
97 template<
typename CausesT = Aws::Vector<Aws::String>>
98 void SetCauses(CausesT&& value) { m_causesHasBeenSet =
true; m_causes = std::forward<CausesT>(value); }
99 template<
typename CausesT = Aws::Vector<Aws::String>>
101 template<
typename CausesT = Aws::String>
111 template<
typename LaunchedAtT = Aws::Utils::DateTime>
112 void SetLaunchedAt(LaunchedAtT&& value) { m_launchedAtHasBeenSet =
true; m_launchedAt = std::forward<LaunchedAtT>(value); }
113 template<
typename LaunchedAtT = Aws::Utils::DateTime>
123 template<
typename ApplicationMetricsT = ApplicationMetrics>
124 void SetApplicationMetrics(ApplicationMetricsT&& value) { m_applicationMetricsHasBeenSet =
true; m_applicationMetrics = std::forward<ApplicationMetricsT>(value); }
125 template<
typename ApplicationMetricsT = ApplicationMetrics>
135 template<
typename SystemT = SystemStatus>
136 void SetSystem(SystemT&& value) { m_systemHasBeenSet =
true; m_system = std::forward<SystemT>(value); }
137 template<
typename SystemT = SystemStatus>
147 template<
typename DeploymentT = Deployment>
148 void SetDeployment(DeploymentT&& value) { m_deploymentHasBeenSet =
true; m_deployment = std::forward<DeploymentT>(value); }
149 template<
typename DeploymentT = Deployment>
159 template<
typename AvailabilityZoneT = Aws::String>
160 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
161 template<
typename AvailabilityZoneT = Aws::String>
171 template<
typename InstanceTypeT = Aws::String>
172 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
173 template<
typename InstanceTypeT = Aws::String>
179 bool m_instanceIdHasBeenSet =
false;
182 bool m_healthStatusHasBeenSet =
false;
185 bool m_colorHasBeenSet =
false;
188 bool m_causesHasBeenSet =
false;
191 bool m_launchedAtHasBeenSet =
false;
193 ApplicationMetrics m_applicationMetrics;
194 bool m_applicationMetricsHasBeenSet =
false;
196 SystemStatus m_system;
197 bool m_systemHasBeenSet =
false;
199 Deployment m_deployment;
200 bool m_deploymentHasBeenSet =
false;
203 bool m_availabilityZoneHasBeenSet =
false;
206 bool m_instanceTypeHasBeenSet =
false;
bool SystemHasBeenSet() const
SingleInstanceHealth & WithInstanceType(InstanceTypeT &&value)
void SetApplicationMetrics(ApplicationMetricsT &&value)
AWS_ELASTICBEANSTALK_API SingleInstanceHealth(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LaunchedAtHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
SingleInstanceHealth & WithSystem(SystemT &&value)
bool HealthStatusHasBeenSet() const
SingleInstanceHealth & AddCauses(CausesT &&value)
const Aws::String & GetColor() const
const Aws::Vector< Aws::String > & GetCauses() const
const Deployment & GetDeployment() const
void SetCauses(CausesT &&value)
SingleInstanceHealth & WithInstanceId(InstanceIdT &&value)
bool AvailabilityZoneHasBeenSet() const
SingleInstanceHealth & WithCauses(CausesT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool InstanceIdHasBeenSet() const
bool InstanceTypeHasBeenSet() const
const SystemStatus & GetSystem() const
SingleInstanceHealth & WithColor(ColorT &&value)
const Aws::String & GetHealthStatus() const
AWS_ELASTICBEANSTALK_API SingleInstanceHealth()=default
bool ColorHasBeenSet() const
void SetDeployment(DeploymentT &&value)
const Aws::String & GetInstanceId() const
const ApplicationMetrics & GetApplicationMetrics() const
SingleInstanceHealth & WithApplicationMetrics(ApplicationMetricsT &&value)
bool ApplicationMetricsHasBeenSet() const
const Aws::Utils::DateTime & GetLaunchedAt() const
SingleInstanceHealth & WithDeployment(DeploymentT &&value)
bool CausesHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
void SetColor(ColorT &&value)
bool DeploymentHasBeenSet() const
void SetInstanceType(InstanceTypeT &&value)
AWS_ELASTICBEANSTALK_API SingleInstanceHealth & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetInstanceType() const
void SetSystem(SystemT &&value)
SingleInstanceHealth & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
SingleInstanceHealth & WithLaunchedAt(LaunchedAtT &&value)
void SetHealthStatus(HealthStatusT &&value)
SingleInstanceHealth & WithHealthStatus(HealthStatusT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLaunchedAt(LaunchedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream