7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/EventInformation.h>
10#include <aws/ec2/model/EventType.h>
11#include <aws/core/utils/DateTime.h>
51 template<
typename EventInformationT = EventInformation>
52 void SetEventInformation(EventInformationT&& value) { m_eventInformationHasBeenSet =
true; m_eventInformation = std::forward<EventInformationT>(value); }
53 template<
typename EventInformationT = EventInformation>
78 template<
typename TimestampT = Aws::Utils::DateTime>
79 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
80 template<
typename TimestampT = Aws::Utils::DateTime>
86 bool m_eventInformationHasBeenSet =
false;
89 bool m_eventTypeHasBeenSet =
false;
92 bool m_timestampHasBeenSet =
false;
const EventInformation & GetEventInformation() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool EventTypeHasBeenSet() const
HistoryRecord & WithEventInformation(EventInformationT &&value)
HistoryRecord & WithTimestamp(TimestampT &&value)
void SetEventType(EventType value)
void SetTimestamp(TimestampT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
bool EventInformationHasBeenSet() const
bool TimestampHasBeenSet() const
EventType GetEventType() const
HistoryRecord & WithEventType(EventType value)
AWS_EC2_API HistoryRecord(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEventInformation(EventInformationT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API HistoryRecord & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API HistoryRecord()=default
std::basic_ostream< char, std::char_traits< char > > OStream