7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rds/model/SourceType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
53 template<
typename SourceIdentifierT = Aws::String>
54 void SetSourceIdentifier(SourceIdentifierT&& value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier = std::forward<SourceIdentifierT>(value); }
55 template<
typename SourceIdentifierT = Aws::String>
75 template<
typename MessageT = Aws::String>
76 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
77 template<
typename MessageT = Aws::String>
87 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
88 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
89 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
91 template<
typename EventCategoriesT = Aws::String>
92 Event&
AddEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
return *
this; }
101 template<
typename DateT = Aws::Utils::DateTime>
102 void SetDate(DateT&& value) { m_dateHasBeenSet =
true; m_date = std::forward<DateT>(value); }
103 template<
typename DateT = Aws::Utils::DateTime>
113 template<
typename SourceArnT = Aws::String>
114 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet =
true; m_sourceArn = std::forward<SourceArnT>(value); }
115 template<
typename SourceArnT = Aws::String>
121 bool m_sourceIdentifierHasBeenSet =
false;
124 bool m_sourceTypeHasBeenSet =
false;
127 bool m_messageHasBeenSet =
false;
130 bool m_eventCategoriesHasBeenSet =
false;
133 bool m_dateHasBeenSet =
false;
136 bool m_sourceArnHasBeenSet =
false;
Event & WithEventCategories(EventCategoriesT &&value)
AWS_RDS_API Event(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetDate() const
const Aws::String & GetSourceArn() const
Event & WithSourceType(SourceType value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Event & WithSourceIdentifier(SourceIdentifierT &&value)
bool DateHasBeenSet() const
SourceType GetSourceType() const
const Aws::Vector< Aws::String > & GetEventCategories() const
Event & AddEventCategories(EventCategoriesT &&value)
bool SourceIdentifierHasBeenSet() const
bool SourceArnHasBeenSet() const
Event & WithSourceArn(SourceArnT &&value)
void SetSourceIdentifier(SourceIdentifierT &&value)
const Aws::String & GetSourceIdentifier() const
bool EventCategoriesHasBeenSet() const
const Aws::String & GetMessage() const
bool SourceTypeHasBeenSet() const
Event & WithDate(DateT &&value)
AWS_RDS_API Event & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(MessageT &&value)
Event & WithMessage(MessageT &&value)
void SetSourceType(SourceType value)
void SetEventCategories(EventCategoriesT &&value)
void SetSourceArn(SourceArnT &&value)
void SetDate(DateT &&value)
bool MessageHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API Event()=default
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