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>
11#include <aws/redshift/model/EventInfoMap.h>
51 template<
typename SourceTypeT = Aws::String>
52 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
53 template<
typename SourceTypeT = Aws::String>
63 template<
typename EventsT = Aws::Vector<EventInfoMap>>
64 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
65 template<
typename EventsT = Aws::Vector<EventInfoMap>>
67 template<
typename EventsT = EventInfoMap>
68 EventCategoriesMap&
AddEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events.emplace_back(std::forward<EventsT>(value));
return *
this; }
73 bool m_sourceTypeHasBeenSet =
false;
76 bool m_eventsHasBeenSet =
false;
AWS_REDSHIFT_API EventCategoriesMap(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API EventCategoriesMap & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API EventCategoriesMap()=default
void SetSourceType(SourceTypeT &&value)
EventCategoriesMap & WithEvents(EventsT &&value)
const Aws::Vector< EventInfoMap > & GetEvents() const
bool EventsHasBeenSet() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EventCategoriesMap & AddEvents(EventsT &&value)
EventCategoriesMap & WithSourceType(SourceTypeT &&value)
const Aws::String & GetSourceType() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetEvents(EventsT &&value)
bool SourceTypeHasBeenSet() const
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