7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/SourceType.h>
21namespace ElastiCache {
33 AWS_ELASTICACHE_API
Event() =
default;
48 template <
typename SourceIdentifierT = Aws::String>
50 m_sourceIdentifierHasBeenSet =
true;
51 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
53 template <
typename SourceIdentifierT = Aws::String>
68 m_sourceTypeHasBeenSet =
true;
83 template <
typename MessageT = Aws::String>
85 m_messageHasBeenSet =
true;
86 m_message = std::forward<MessageT>(value);
88 template <
typename MessageT = Aws::String>
101 template <
typename DateT = Aws::Utils::DateTime>
103 m_dateHasBeenSet =
true;
104 m_date = std::forward<DateT>(value);
106 template <
typename DateT = Aws::Utils::DateTime>
108 SetDate(std::forward<DateT>(value));
120 bool m_sourceIdentifierHasBeenSet =
false;
121 bool m_sourceTypeHasBeenSet =
false;
122 bool m_messageHasBeenSet =
false;
123 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