7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/docdb/model/SourceType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
53 inline void SetSourceIdentifier(
const char* value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier.assign(value); }
79 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
97 inline Event&
AddEventCategories(
const char* value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories.push_back(value);
return *
this; }
120 inline void SetSourceArn(
const char* value) { m_sourceArnHasBeenSet =
true; m_sourceArn.assign(value); }
128 bool m_sourceIdentifierHasBeenSet =
false;
131 bool m_sourceTypeHasBeenSet =
false;
134 bool m_messageHasBeenSet =
false;
137 bool m_eventCategoriesHasBeenSet =
false;
140 bool m_dateHasBeenSet =
false;
143 bool m_sourceArnHasBeenSet =
false;
void SetDate(Aws::Utils::DateTime &&value)
void SetSourceArn(Aws::String &&value)
Event & WithSourceArn(Aws::String &&value)
void SetSourceIdentifier(const char *value)
bool SourceArnHasBeenSet() const
void SetSourceIdentifier(Aws::String &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
const Aws::String & GetSourceArn() const
Event & WithSourceIdentifier(const Aws::String &value)
bool SourceTypeHasBeenSet() const
void SetSourceType(const SourceType &value)
void SetMessage(const char *value)
Event & WithSourceIdentifier(Aws::String &&value)
const Aws::String & GetSourceIdentifier() const
Event & WithSourceType(const SourceType &value)
Event & AddEventCategories(const Aws::String &value)
void SetSourceArn(const char *value)
Event & WithEventCategories(const Aws::Vector< Aws::String > &value)
void SetSourceType(SourceType &&value)
bool SourceIdentifierHasBeenSet() const
bool DateHasBeenSet() const
Event & WithSourceType(SourceType &&value)
bool EventCategoriesHasBeenSet() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSourceArn(const Aws::String &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Event & WithSourceArn(const Aws::String &value)
const Aws::String & GetMessage() const
Event & WithDate(const Aws::Utils::DateTime &value)
Event & WithDate(Aws::Utils::DateTime &&value)
Event & WithSourceIdentifier(const char *value)
Event & WithEventCategories(Aws::Vector< Aws::String > &&value)
void SetSourceIdentifier(const Aws::String &value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
Event & AddEventCategories(const char *value)
void SetMessage(Aws::String &&value)
void SetDate(const Aws::Utils::DateTime &value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
AWS_DOCDB_API Event & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Event & WithMessage(const char *value)
Event & WithMessage(const Aws::String &value)
Event & WithMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetDate() const
const SourceType & GetSourceType() const
Event & AddEventCategories(Aws::String &&value)
Event & WithSourceArn(const char *value)
AWS_DOCDB_API Event(const Aws::Utils::Xml::XmlNode &xmlNode)
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