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/ec2/model/EventCode.h>
11#include <aws/core/utils/DateTime.h>
52 inline void SetInstanceEventId(
const char* value) { m_instanceEventIdHasBeenSet =
true; m_instanceEventId.assign(value); }
64 inline void SetCode(
const EventCode& value) { m_codeHasBeenSet =
true; m_code = value; }
65 inline void SetCode(
EventCode&& value) { m_codeHasBeenSet =
true; m_code = std::move(value); }
80 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
124 bool m_instanceEventIdHasBeenSet =
false;
127 bool m_codeHasBeenSet =
false;
130 bool m_descriptionHasBeenSet =
false;
133 bool m_notAfterHasBeenSet =
false;
136 bool m_notBeforeHasBeenSet =
false;
139 bool m_notBeforeDeadlineHasBeenSet =
false;
void SetNotBefore(Aws::Utils::DateTime &&value)
AWS_EC2_API InstanceStatusEvent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceStatusEvent & WithNotBeforeDeadline(Aws::Utils::DateTime &&value)
AWS_EC2_API InstanceStatusEvent()
void SetInstanceEventId(const Aws::String &value)
const EventCode & GetCode() const
InstanceStatusEvent & WithInstanceEventId(const Aws::String &value)
bool NotBeforeDeadlineHasBeenSet() const
void SetNotBefore(const Aws::Utils::DateTime &value)
void SetNotBeforeDeadline(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
InstanceStatusEvent & WithNotAfter(Aws::Utils::DateTime &&value)
bool NotBeforeHasBeenSet() const
const Aws::Utils::DateTime & GetNotAfter() const
AWS_EC2_API InstanceStatusEvent(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceStatusEvent & WithCode(EventCode &&value)
const Aws::String & GetInstanceEventId() const
InstanceStatusEvent & WithNotAfter(const Aws::Utils::DateTime &value)
InstanceStatusEvent & WithCode(const EventCode &value)
InstanceStatusEvent & WithInstanceEventId(Aws::String &&value)
const Aws::Utils::DateTime & GetNotBeforeDeadline() const
void SetNotAfter(Aws::Utils::DateTime &&value)
void SetCode(EventCode &&value)
bool DescriptionHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInstanceEventId(const char *value)
void SetNotBeforeDeadline(Aws::Utils::DateTime &&value)
void SetCode(const EventCode &value)
InstanceStatusEvent & WithDescription(const char *value)
bool InstanceEventIdHasBeenSet() const
InstanceStatusEvent & WithInstanceEventId(const char *value)
bool CodeHasBeenSet() const
void SetDescription(const Aws::String &value)
InstanceStatusEvent & WithNotBefore(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
bool NotAfterHasBeenSet() const
InstanceStatusEvent & WithNotBefore(const Aws::Utils::DateTime &value)
void SetNotAfter(const Aws::Utils::DateTime &value)
void SetDescription(const char *value)
const Aws::Utils::DateTime & GetNotBefore() const
InstanceStatusEvent & WithDescription(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceStatusEvent & WithDescription(const Aws::String &value)
InstanceStatusEvent & WithNotBeforeDeadline(const Aws::Utils::DateTime &value)
void SetInstanceEventId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream