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/DateTime.h>
51 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
65 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
79 inline void SetEventType(
const char* value) { m_eventTypeHasBeenSet =
true; m_eventType.assign(value); }
117 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
125 bool m_descriptionHasBeenSet =
false;
128 bool m_eventIdHasBeenSet =
false;
131 bool m_eventTypeHasBeenSet =
false;
134 bool m_notAfterHasBeenSet =
false;
137 bool m_notBeforeHasBeenSet =
false;
140 bool m_instanceIdHasBeenSet =
false;
const Aws::String & GetEventType() const
void SetNotAfter(const Aws::Utils::DateTime &value)
VolumeStatusEvent & WithInstanceId(const char *value)
bool NotBeforeHasBeenSet() const
VolumeStatusEvent & WithInstanceId(Aws::String &&value)
bool EventIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VolumeStatusEvent & WithNotBefore(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
void SetEventId(const Aws::String &value)
bool NotAfterHasBeenSet() const
AWS_EC2_API VolumeStatusEvent()
bool EventTypeHasBeenSet() const
AWS_EC2_API VolumeStatusEvent(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetEventId() const
void SetDescription(Aws::String &&value)
VolumeStatusEvent & WithNotAfter(Aws::Utils::DateTime &&value)
void SetEventType(const char *value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetNotAfter() const
void SetInstanceId(const Aws::String &value)
void SetDescription(const char *value)
AWS_EC2_API VolumeStatusEvent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VolumeStatusEvent & WithEventId(const char *value)
VolumeStatusEvent & WithDescription(Aws::String &&value)
VolumeStatusEvent & WithNotAfter(const Aws::Utils::DateTime &value)
VolumeStatusEvent & WithEventType(const char *value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetInstanceId() const
VolumeStatusEvent & WithEventId(const Aws::String &value)
VolumeStatusEvent & WithEventId(Aws::String &&value)
VolumeStatusEvent & WithDescription(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNotBefore(const Aws::Utils::DateTime &value)
bool DescriptionHasBeenSet() const
void SetEventType(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
VolumeStatusEvent & WithEventType(Aws::String &&value)
VolumeStatusEvent & WithDescription(const char *value)
void SetInstanceId(const char *value)
VolumeStatusEvent & WithInstanceId(const Aws::String &value)
void SetEventId(const char *value)
void SetNotAfter(Aws::Utils::DateTime &&value)
VolumeStatusEvent & WithNotBefore(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetNotBefore() const
void SetNotBefore(Aws::Utils::DateTime &&value)
void SetEventId(Aws::String &&value)
VolumeStatusEvent & WithEventType(const Aws::String &value)
void SetEventType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream