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/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/Neptune_EXPORTS.h>
12#include <aws/neptune/model/SourceType.h>
33 AWS_NEPTUNE_API
Event() =
default;
46 template <
typename SourceIdentifierT = Aws::String>
48 m_sourceIdentifierHasBeenSet =
true;
49 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
51 template <
typename SourceIdentifierT = Aws::String>
65 m_sourceTypeHasBeenSet =
true;
80 template <
typename MessageT = Aws::String>
82 m_messageHasBeenSet =
true;
83 m_message = std::forward<MessageT>(value);
85 template <
typename MessageT = Aws::String>
98 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
100 m_eventCategoriesHasBeenSet =
true;
101 m_eventCategories = std::forward<EventCategoriesT>(value);
103 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
108 template <
typename EventCategoriesT = Aws::String>
110 m_eventCategoriesHasBeenSet =
true;
111 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
122 template <
typename DateT = Aws::Utils::DateTime>
124 m_dateHasBeenSet =
true;
125 m_date = std::forward<DateT>(value);
127 template <
typename DateT = Aws::Utils::DateTime>
129 SetDate(std::forward<DateT>(value));
140 template <
typename SourceArnT = Aws::String>
142 m_sourceArnHasBeenSet =
true;
143 m_sourceArn = std::forward<SourceArnT>(value);
145 template <
typename SourceArnT = Aws::String>
153 bool m_sourceIdentifierHasBeenSet =
false;
156 bool m_sourceTypeHasBeenSet =
false;
159 bool m_messageHasBeenSet =
false;
162 bool m_eventCategoriesHasBeenSet =
false;
165 bool m_dateHasBeenSet =
false;
168 bool m_sourceArnHasBeenSet =
false;
const Aws::String & GetMessage() const
Event & WithSourceArn(SourceArnT &&value)
Event & WithEventCategories(EventCategoriesT &&value)
Event & AddEventCategories(EventCategoriesT &&value)
bool EventCategoriesHasBeenSet() const
Event & WithDate(DateT &&value)
void SetSourceIdentifier(SourceIdentifierT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDate(DateT &&value)
bool SourceArnHasBeenSet() const
const Aws::String & GetSourceIdentifier() const
bool SourceTypeHasBeenSet() const
void SetSourceArn(SourceArnT &&value)
bool SourceIdentifierHasBeenSet() const
AWS_NEPTUNE_API Event()=default
AWS_NEPTUNE_API Event(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceType(SourceType value)
SourceType GetSourceType() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_NEPTUNE_API Event & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Event & WithSourceIdentifier(SourceIdentifierT &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
const Aws::String & GetSourceArn() const
Event & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
Event & WithSourceType(SourceType value)
void SetEventCategories(EventCategoriesT &&value)
void SetMessage(MessageT &&value)
const Aws::Utils::DateTime & GetDate() const
bool DateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream