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>
49 template<
typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
51 template<
typename DescriptionT = Aws::String>
61 template<
typename EventIdT = Aws::String>
62 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
63 template<
typename EventIdT = Aws::String>
73 template<
typename EventTypeT = Aws::String>
74 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
75 template<
typename EventTypeT = Aws::String>
85 template<
typename NotAfterT = Aws::Utils::DateTime>
86 void SetNotAfter(NotAfterT&& value) { m_notAfterHasBeenSet =
true; m_notAfter = std::forward<NotAfterT>(value); }
87 template<
typename NotAfterT = Aws::Utils::DateTime>
97 template<
typename NotBeforeT = Aws::Utils::DateTime>
98 void SetNotBefore(NotBeforeT&& value) { m_notBeforeHasBeenSet =
true; m_notBefore = std::forward<NotBeforeT>(value); }
99 template<
typename NotBeforeT = Aws::Utils::DateTime>
109 template<
typename InstanceIdT = Aws::String>
110 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
111 template<
typename InstanceIdT = Aws::String>
117 bool m_descriptionHasBeenSet =
false;
120 bool m_eventIdHasBeenSet =
false;
123 bool m_eventTypeHasBeenSet =
false;
126 bool m_notAfterHasBeenSet =
false;
129 bool m_notBeforeHasBeenSet =
false;
132 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