7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/InstanceHealthState.h>
10#include <aws/lightsail/model/InstanceHealthReason.h>
52 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
119 bool m_instanceNameHasBeenSet =
false;
122 bool m_instanceHealthHasBeenSet =
false;
125 bool m_instanceHealthReasonHasBeenSet =
false;
void SetInstanceHealth(InstanceHealthState &&value)
const InstanceHealthState & GetInstanceHealth() const
AWS_LIGHTSAIL_API InstanceHealthSummary()
const Aws::String & GetInstanceName() const
AWS_LIGHTSAIL_API InstanceHealthSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API InstanceHealthSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceHealthSummary & WithInstanceHealthReason(const InstanceHealthReason &value)
InstanceHealthSummary & WithInstanceName(Aws::String &&value)
InstanceHealthSummary & WithInstanceHealth(InstanceHealthState &&value)
void SetInstanceHealthReason(const InstanceHealthReason &value)
InstanceHealthSummary & WithInstanceHealthReason(InstanceHealthReason &&value)
bool InstanceNameHasBeenSet() const
void SetInstanceHealth(const InstanceHealthState &value)
void SetInstanceName(const char *value)
void SetInstanceName(Aws::String &&value)
bool InstanceHealthHasBeenSet() const
InstanceHealthSummary & WithInstanceHealth(const InstanceHealthState &value)
bool InstanceHealthReasonHasBeenSet() const
InstanceHealthSummary & WithInstanceName(const Aws::String &value)
InstanceHealthSummary & WithInstanceName(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceName(const Aws::String &value)
const InstanceHealthReason & GetInstanceHealthReason() const
void SetInstanceHealthReason(InstanceHealthReason &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue