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>
55 inline void SetSourceIdentifier(
const char* value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier.assign(value); }
81 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
99 inline Event&
AddEventCategories(
const char* value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories.push_back(value);
return *
this; }
122 inline void SetSourceArn(
const char* value) { m_sourceArnHasBeenSet =
true; m_sourceArn.assign(value); }
130 bool m_sourceIdentifierHasBeenSet =
false;
133 bool m_sourceTypeHasBeenSet =
false;
136 bool m_messageHasBeenSet =
false;
139 bool m_eventCategoriesHasBeenSet =
false;
142 bool m_dateHasBeenSet =
false;
145 bool m_sourceArnHasBeenSet =
false;
void SetMessage(Aws::String &&value)
AWS_RDS_API Event(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetDate() const
const Aws::String & GetSourceArn() const
Event & WithDate(const Aws::Utils::DateTime &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Event & WithEventCategories(const Aws::Vector< Aws::String > &value)
bool DateHasBeenSet() const
void SetEventCategories(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetEventCategories() const
Event & WithEventCategories(Aws::Vector< Aws::String > &&value)
Event & WithMessage(const char *value)
Event & WithSourceIdentifier(const Aws::String &value)
Event & WithSourceType(const SourceType &value)
Event & WithMessage(Aws::String &&value)
Event & AddEventCategories(const Aws::String &value)
Event & WithDate(Aws::Utils::DateTime &&value)
void SetSourceType(SourceType &&value)
Event & WithMessage(const Aws::String &value)
bool SourceIdentifierHasBeenSet() const
Event & WithSourceArn(const char *value)
Event & WithSourceType(SourceType &&value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
bool SourceArnHasBeenSet() const
void SetMessage(const char *value)
Event & AddEventCategories(Aws::String &&value)
Event & AddEventCategories(const char *value)
const Aws::String & GetSourceIdentifier() const
void SetSourceArn(Aws::String &&value)
Event & WithSourceArn(const Aws::String &value)
void SetSourceIdentifier(Aws::String &&value)
void SetDate(const Aws::Utils::DateTime &value)
bool EventCategoriesHasBeenSet() const
const Aws::String & GetMessage() const
void SetSourceIdentifier(const Aws::String &value)
const SourceType & GetSourceType() const
void SetSourceArn(const Aws::String &value)
bool SourceTypeHasBeenSet() const
void SetSourceType(const SourceType &value)
AWS_RDS_API Event & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Event & WithSourceArn(Aws::String &&value)
void SetDate(Aws::Utils::DateTime &&value)
void SetMessage(const Aws::String &value)
Event & WithSourceIdentifier(const char *value)
bool MessageHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSourceArn(const char *value)
Event & WithSourceIdentifier(Aws::String &&value)
void SetSourceIdentifier(const char *value)
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