7#include <aws/ec2/EC2_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/ec2/model/InstanceState.h>
12#include <aws/ec2/model/InstanceStatusSummary.h>
13#include <aws/ec2/model/EbsStatusSummary.h>
14#include <aws/ec2/model/InstanceStatusEvent.h>
55 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
69 inline void SetOutpostArn(
const char* value) { m_outpostArnHasBeenSet =
true; m_outpostArn.assign(value); }
97 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
158 bool m_availabilityZoneHasBeenSet =
false;
161 bool m_outpostArnHasBeenSet =
false;
164 bool m_eventsHasBeenSet =
false;
167 bool m_instanceIdHasBeenSet =
false;
170 bool m_instanceStateHasBeenSet =
false;
173 bool m_instanceStatusHasBeenSet =
false;
176 bool m_systemStatusHasBeenSet =
false;
179 bool m_attachedEbsStatusHasBeenSet =
false;
bool InstanceStatusHasBeenSet() const
void SetEvents(const Aws::Vector< InstanceStatusEvent > &value)
InstanceStatus & WithInstanceStatus(const InstanceStatusSummary &value)
bool SystemStatusHasBeenSet() const
InstanceStatus & WithInstanceState(const InstanceState &value)
const Aws::String & GetInstanceId() const
const Aws::String & GetOutpostArn() const
InstanceStatus & WithOutpostArn(const Aws::String &value)
InstanceStatus & WithEvents(Aws::Vector< InstanceStatusEvent > &&value)
const InstanceStatusSummary & GetSystemStatus() const
InstanceStatus & WithOutpostArn(const char *value)
InstanceStatus & WithAvailabilityZone(const Aws::String &value)
void SetOutpostArn(const Aws::String &value)
void SetAvailabilityZone(const char *value)
void SetEvents(Aws::Vector< InstanceStatusEvent > &&value)
void SetInstanceStatus(const InstanceStatusSummary &value)
InstanceStatus & WithInstanceStatus(InstanceStatusSummary &&value)
void SetAvailabilityZone(Aws::String &&value)
void SetSystemStatus(InstanceStatusSummary &&value)
void SetInstanceId(const char *value)
InstanceStatus & AddEvents(const InstanceStatusEvent &value)
AWS_EC2_API InstanceStatus()
InstanceStatus & WithInstanceId(const Aws::String &value)
bool AttachedEbsStatusHasBeenSet() const
bool EventsHasBeenSet() const
void SetSystemStatus(const InstanceStatusSummary &value)
InstanceStatus & WithAvailabilityZone(Aws::String &&value)
const EbsStatusSummary & GetAttachedEbsStatus() const
const Aws::Vector< InstanceStatusEvent > & GetEvents() const
void SetInstanceState(InstanceState &&value)
InstanceStatus & WithAttachedEbsStatus(EbsStatusSummary &&value)
InstanceStatus & WithInstanceId(const char *value)
const InstanceStatusSummary & GetInstanceStatus() const
void SetInstanceId(const Aws::String &value)
InstanceStatus & WithInstanceId(Aws::String &&value)
InstanceStatus & WithInstanceState(InstanceState &&value)
InstanceStatus & WithAvailabilityZone(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool InstanceIdHasBeenSet() const
void SetOutpostArn(const char *value)
void SetInstanceState(const InstanceState &value)
AWS_EC2_API InstanceStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZone(const Aws::String &value)
InstanceStatus & AddEvents(InstanceStatusEvent &&value)
void SetAttachedEbsStatus(EbsStatusSummary &&value)
InstanceStatus & WithOutpostArn(Aws::String &&value)
InstanceStatus & WithSystemStatus(const InstanceStatusSummary &value)
bool InstanceStateHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
InstanceStatus & WithSystemStatus(InstanceStatusSummary &&value)
const Aws::String & GetAvailabilityZone() const
void SetAttachedEbsStatus(const EbsStatusSummary &value)
void SetInstanceStatus(InstanceStatusSummary &&value)
InstanceStatus & WithAttachedEbsStatus(const EbsStatusSummary &value)
void SetOutpostArn(Aws::String &&value)
bool OutpostArnHasBeenSet() const
void SetInstanceId(Aws::String &&value)
InstanceStatus & WithEvents(const Aws::Vector< InstanceStatusEvent > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const InstanceState & GetInstanceState() const
AWS_EC2_API InstanceStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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