7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/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); }
98 inline Event&
AddEventCategories(
const char* value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories.push_back(value);
return *
this; }
109 inline void SetSeverity(
const char* value) { m_severityHasBeenSet =
true; m_severity.assign(value); }
135 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
143 bool m_sourceIdentifierHasBeenSet =
false;
146 bool m_sourceTypeHasBeenSet =
false;
149 bool m_messageHasBeenSet =
false;
152 bool m_eventCategoriesHasBeenSet =
false;
155 bool m_severityHasBeenSet =
false;
158 bool m_dateHasBeenSet =
false;
161 bool m_eventIdHasBeenSet =
false;
void SetSeverity(const char *value)
bool SourceIdentifierHasBeenSet() const
void SetSeverity(Aws::String &&value)
const Aws::String & GetEventId() const
void SetMessage(Aws::String &&value)
void SetMessage(const char *value)
const Aws::String & GetMessage() const
void SetSourceIdentifier(const Aws::String &value)
Event & WithMessage(const char *value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
void SetSeverity(const Aws::String &value)
Event & WithSeverity(Aws::String &&value)
void SetSourceType(SourceType &&value)
void SetSourceType(const SourceType &value)
bool EventCategoriesHasBeenSet() const
void SetEventId(Aws::String &&value)
bool MessageHasBeenSet() const
Event & WithSourceIdentifier(Aws::String &&value)
Event & WithEventId(const char *value)
void SetDate(const Aws::Utils::DateTime &value)
bool EventIdHasBeenSet() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Event & WithDate(const Aws::Utils::DateTime &value)
Event & WithEventId(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Event & WithMessage(Aws::String &&value)
Event & WithEventCategories(const Aws::Vector< Aws::String > &value)
bool SeverityHasBeenSet() const
Event & WithSourceType(SourceType &&value)
Event & WithSourceIdentifier(const char *value)
Event & WithSeverity(const Aws::String &value)
const SourceType & GetSourceType() const
Event & WithDate(Aws::Utils::DateTime &&value)
bool DateHasBeenSet() const
AWS_REDSHIFT_API Event & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Event & WithMessage(const Aws::String &value)
Event & WithEventId(const Aws::String &value)
Event & WithEventCategories(Aws::Vector< Aws::String > &&value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
Event & WithSourceType(const SourceType &value)
Event & AddEventCategories(const char *value)
void SetSourceIdentifier(const char *value)
const Aws::String & GetSourceIdentifier() const
const Aws::String & GetSeverity() const
Event & AddEventCategories(const Aws::String &value)
Event & AddEventCategories(Aws::String &&value)
bool SourceTypeHasBeenSet() const
void SetEventId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEventCategories() const
void SetSourceIdentifier(Aws::String &&value)
void SetDate(Aws::Utils::DateTime &&value)
AWS_REDSHIFT_API Event(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(const Aws::String &value)
Event & WithSourceIdentifier(const Aws::String &value)
Event & WithSeverity(const char *value)
const Aws::Utils::DateTime & GetDate() const
void SetEventId(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