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;
56 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
73 inline void SetHealthStatus(
const char* value) { m_healthStatusHasBeenSet =
true; m_healthStatus.assign(value); }
90 inline void SetColor(
const char* value) { m_colorHasBeenSet =
true; m_color.assign(value); }
168 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
182 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
190 bool m_instanceIdHasBeenSet =
false;
193 bool m_healthStatusHasBeenSet =
false;
196 bool m_colorHasBeenSet =
false;
199 bool m_causesHasBeenSet =
false;
202 bool m_launchedAtHasBeenSet =
false;
205 bool m_applicationMetricsHasBeenSet =
false;
208 bool m_systemHasBeenSet =
false;
211 bool m_deploymentHasBeenSet =
false;
214 bool m_availabilityZoneHasBeenSet =
false;
217 bool m_instanceTypeHasBeenSet =
false;
SingleInstanceHealth & WithDeployment(Deployment &&value)
void SetColor(const Aws::String &value)
bool SystemHasBeenSet() const
void SetCauses(const Aws::Vector< Aws::String > &value)
void SetAvailabilityZone(Aws::String &&value)
void SetDeployment(Deployment &&value)
SingleInstanceHealth & WithApplicationMetrics(ApplicationMetrics &&value)
void SetHealthStatus(const char *value)
void SetColor(Aws::String &&value)
AWS_ELASTICBEANSTALK_API SingleInstanceHealth(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZone(const char *value)
bool LaunchedAtHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
SingleInstanceHealth & WithCauses(Aws::Vector< Aws::String > &&value)
SingleInstanceHealth & AddCauses(const Aws::String &value)
SingleInstanceHealth & WithColor(Aws::String &&value)
bool HealthStatusHasBeenSet() const
SingleInstanceHealth & WithDeployment(const Deployment &value)
const Aws::String & GetColor() const
const Aws::Vector< Aws::String > & GetCauses() const
SingleInstanceHealth & WithInstanceId(Aws::String &&value)
void SetInstanceId(const char *value)
const Deployment & GetDeployment() const
AWS_ELASTICBEANSTALK_API SingleInstanceHealth()
bool AvailabilityZoneHasBeenSet() const
SingleInstanceHealth & WithColor(const Aws::String &value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInstanceType(const Aws::String &value)
bool InstanceIdHasBeenSet() const
SingleInstanceHealth & WithCauses(const Aws::Vector< Aws::String > &value)
void SetHealthStatus(Aws::String &&value)
bool InstanceTypeHasBeenSet() const
void SetInstanceType(Aws::String &&value)
void SetApplicationMetrics(const ApplicationMetrics &value)
SingleInstanceHealth & WithSystem(SystemStatus &&value)
const SystemStatus & GetSystem() const
SingleInstanceHealth & WithAvailabilityZone(Aws::String &&value)
SingleInstanceHealth & WithLaunchedAt(Aws::Utils::DateTime &&value)
SingleInstanceHealth & WithSystem(const SystemStatus &value)
const Aws::String & GetHealthStatus() const
void SetLaunchedAt(const Aws::Utils::DateTime &value)
void SetColor(const char *value)
bool ColorHasBeenSet() const
const Aws::String & GetInstanceId() const
const ApplicationMetrics & GetApplicationMetrics() const
SingleInstanceHealth & WithInstanceType(Aws::String &&value)
SingleInstanceHealth & WithHealthStatus(const Aws::String &value)
SingleInstanceHealth & WithHealthStatus(const char *value)
void SetInstanceId(const Aws::String &value)
bool ApplicationMetricsHasBeenSet() const
void SetSystem(const SystemStatus &value)
const Aws::Utils::DateTime & GetLaunchedAt() const
SingleInstanceHealth & WithInstanceType(const char *value)
SingleInstanceHealth & WithAvailabilityZone(const Aws::String &value)
void SetCauses(Aws::Vector< Aws::String > &&value)
bool CausesHasBeenSet() const
void SetSystem(SystemStatus &&value)
void SetAvailabilityZone(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
SingleInstanceHealth & WithHealthStatus(Aws::String &&value)
SingleInstanceHealth & WithLaunchedAt(const Aws::Utils::DateTime &value)
SingleInstanceHealth & AddCauses(Aws::String &&value)
void SetInstanceType(const char *value)
SingleInstanceHealth & WithAvailabilityZone(const char *value)
void SetDeployment(const Deployment &value)
SingleInstanceHealth & WithInstanceId(const char *value)
bool DeploymentHasBeenSet() const
SingleInstanceHealth & WithColor(const char *value)
AWS_ELASTICBEANSTALK_API SingleInstanceHealth & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetInstanceType() const
void SetApplicationMetrics(ApplicationMetrics &&value)
SingleInstanceHealth & AddCauses(const char *value)
SingleInstanceHealth & WithInstanceType(const Aws::String &value)
void SetHealthStatus(const Aws::String &value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SingleInstanceHealth & WithApplicationMetrics(const ApplicationMetrics &value)
SingleInstanceHealth & WithInstanceId(const Aws::String &value)
void SetLaunchedAt(Aws::Utils::DateTime &&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