7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
43 template <
typename DescriptionT = Aws::String>
45 m_descriptionHasBeenSet =
true;
46 m_description = std::forward<DescriptionT>(value);
48 template <
typename DescriptionT = Aws::String>
61 template <
typename EventIdT = Aws::String>
63 m_eventIdHasBeenSet =
true;
64 m_eventId = std::forward<EventIdT>(value);
66 template <
typename EventIdT = Aws::String>
79 template <
typename EventTypeT = Aws::String>
81 m_eventTypeHasBeenSet =
true;
82 m_eventType = std::forward<EventTypeT>(value);
84 template <
typename EventTypeT = Aws::String>
97 template <
typename NotAfterT = Aws::Utils::DateTime>
99 m_notAfterHasBeenSet =
true;
100 m_notAfter = std::forward<NotAfterT>(value);
102 template <
typename NotAfterT = Aws::Utils::DateTime>
115 template <
typename NotBeforeT = Aws::Utils::DateTime>
117 m_notBeforeHasBeenSet =
true;
118 m_notBefore = std::forward<NotBeforeT>(value);
120 template <
typename NotBeforeT = Aws::Utils::DateTime>
133 template <
typename InstanceIdT = Aws::String>
135 m_instanceIdHasBeenSet =
true;
136 m_instanceId = std::forward<InstanceIdT>(value);
138 template <
typename InstanceIdT = Aws::String>
156 bool m_descriptionHasBeenSet =
false;
157 bool m_eventIdHasBeenSet =
false;
158 bool m_eventTypeHasBeenSet =
false;
159 bool m_notAfterHasBeenSet =
false;
160 bool m_notBeforeHasBeenSet =
false;
161 bool m_instanceIdHasBeenSet =
false;
VolumeStatusEvent & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetEventType() const
AWS_EC2_API VolumeStatusEvent()=default
bool NotBeforeHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetNotBefore(NotBeforeT &&value)
bool EventIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VolumeStatusEvent & WithNotBefore(NotBeforeT &&value)
bool NotAfterHasBeenSet() const
bool EventTypeHasBeenSet() const
AWS_EC2_API VolumeStatusEvent(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetEventId() const
void SetNotAfter(NotAfterT &&value)
VolumeStatusEvent & WithEventId(EventIdT &&value)
VolumeStatusEvent & WithNotAfter(NotAfterT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetNotAfter() const
void SetInstanceId(InstanceIdT &&value)
VolumeStatusEvent & WithDescription(DescriptionT &&value)
void SetEventType(EventTypeT &&value)
AWS_EC2_API VolumeStatusEvent & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VolumeStatusEvent & WithEventType(EventTypeT &&value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetInstanceId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetEventId(EventIdT &&value)
bool DescriptionHasBeenSet() const
const Aws::Utils::DateTime & GetNotBefore() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream