7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ec2/model/StatusName.h>
11#include <aws/ec2/model/StatusType.h>
64 inline void SetName(
StatusName&& value) { m_nameHasBeenSet =
true; m_name = std::move(value); }
83 bool m_impairedSinceHasBeenSet =
false;
86 bool m_nameHasBeenSet =
false;
89 bool m_statusHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool NameHasBeenSet() const
InstanceStatusDetails & WithName(const StatusName &value)
AWS_EC2_API InstanceStatusDetails()
void SetImpairedSince(Aws::Utils::DateTime &&value)
InstanceStatusDetails & WithName(StatusName &&value)
const StatusType & GetStatus() const
void SetImpairedSince(const Aws::Utils::DateTime &value)
bool ImpairedSinceHasBeenSet() const
bool StatusHasBeenSet() const
AWS_EC2_API InstanceStatusDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(const StatusType &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API InstanceStatusDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceStatusDetails & WithStatus(StatusType &&value)
InstanceStatusDetails & WithStatus(const StatusType &value)
void SetName(const StatusName &value)
void SetName(StatusName &&value)
InstanceStatusDetails & WithImpairedSince(Aws::Utils::DateTime &&value)
InstanceStatusDetails & WithImpairedSince(const Aws::Utils::DateTime &value)
const StatusName & GetName() const
const Aws::Utils::DateTime & GetImpairedSince() const
void SetStatus(StatusType &&value)
std::basic_ostream< char, std::char_traits< char > > OStream