7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/SourceType.h>
11#include <aws/core/utils/DateTime.h>
38 AWS_ELASTICACHE_API
Event() =
default;
54 template<
typename SourceIdentifierT = Aws::String>
55 void SetSourceIdentifier(SourceIdentifierT&& value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier = std::forward<SourceIdentifierT>(value); }
56 template<
typename SourceIdentifierT = Aws::String>
77 template<
typename MessageT = Aws::String>
78 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
79 template<
typename MessageT = Aws::String>
89 template<
typename DateT = Aws::Utils::DateTime>
90 void SetDate(DateT&& value) { m_dateHasBeenSet =
true; m_date = std::forward<DateT>(value); }
91 template<
typename DateT = Aws::Utils::DateTime>
97 bool m_sourceIdentifierHasBeenSet =
false;
100 bool m_sourceTypeHasBeenSet =
false;
103 bool m_messageHasBeenSet =
false;
106 bool m_dateHasBeenSet =
false;
AWS_ELASTICACHE_API Event & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Event & WithDate(DateT &&value)
bool DateHasBeenSet() const
const Aws::String & GetSourceIdentifier() const
bool SourceIdentifierHasBeenSet() const
bool MessageHasBeenSet() const
SourceType GetSourceType() const
Event & WithMessage(MessageT &&value)
Event & WithSourceType(SourceType value)
Event & WithSourceIdentifier(SourceIdentifierT &&value)
void SetSourceType(SourceType value)
const Aws::Utils::DateTime & GetDate() const
bool SourceTypeHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDate(DateT &&value)
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
AWS_ELASTICACHE_API Event()=default
AWS_ELASTICACHE_API Event(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceIdentifier(SourceIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream