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/core/utils/memory/stl/AWSVector.h>
49 template<
typename EventIdT = Aws::String>
50 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
51 template<
typename EventIdT = Aws::String>
61 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
62 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
63 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
65 template<
typename EventCategoriesT = Aws::String>
66 EventInfoMap&
AddEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
return *
this; }
75 template<
typename EventDescriptionT = Aws::String>
76 void SetEventDescription(EventDescriptionT&& value) { m_eventDescriptionHasBeenSet =
true; m_eventDescription = std::forward<EventDescriptionT>(value); }
77 template<
typename EventDescriptionT = Aws::String>
87 template<
typename SeverityT = Aws::String>
88 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
89 template<
typename SeverityT = Aws::String>
95 bool m_eventIdHasBeenSet =
false;
98 bool m_eventCategoriesHasBeenSet =
false;
101 bool m_eventDescriptionHasBeenSet =
false;
104 bool m_severityHasBeenSet =
false;
const Aws::String & GetSeverity() const
AWS_REDSHIFT_API EventInfoMap()=default
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetEventId() const
bool EventDescriptionHasBeenSet() const
EventInfoMap & WithEventDescription(EventDescriptionT &&value)
bool EventCategoriesHasBeenSet() const
AWS_REDSHIFT_API EventInfoMap & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEventCategories(EventCategoriesT &&value)
void SetEventId(EventIdT &&value)
bool EventIdHasBeenSet() const
EventInfoMap & WithSeverity(SeverityT &&value)
bool SeverityHasBeenSet() const
AWS_REDSHIFT_API EventInfoMap(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetEventDescription() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< Aws::String > & GetEventCategories() const
void SetSeverity(SeverityT &&value)
EventInfoMap & WithEventCategories(EventCategoriesT &&value)
EventInfoMap & AddEventCategories(EventCategoriesT &&value)
EventInfoMap & WithEventId(EventIdT &&value)
void SetEventDescription(EventDescriptionT &&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