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>
56 inline void SetSourceIdentifier(
const char* value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier.assign(value); }
83 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
103 bool m_sourceIdentifierHasBeenSet =
false;
106 bool m_sourceTypeHasBeenSet =
false;
109 bool m_messageHasBeenSet =
false;
112 bool m_dateHasBeenSet =
false;
void SetMessage(const Aws::String &value)
Event & WithSourceIdentifier(Aws::String &&value)
void SetMessage(const char *value)
Event & WithSourceIdentifier(const char *value)
void SetSourceIdentifier(const Aws::String &value)
AWS_ELASTICACHE_API Event & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceIdentifier(const char *value)
Event & WithSourceType(const SourceType &value)
bool DateHasBeenSet() const
const Aws::String & GetSourceIdentifier() const
bool SourceIdentifierHasBeenSet() const
bool MessageHasBeenSet() const
void SetMessage(Aws::String &&value)
void SetDate(const Aws::Utils::DateTime &value)
const SourceType & GetSourceType() const
Event & WithMessage(const char *value)
Event & WithMessage(const Aws::String &value)
Event & WithSourceType(SourceType &&value)
const Aws::Utils::DateTime & GetDate() const
void SetDate(Aws::Utils::DateTime &&value)
Event & WithDate(Aws::Utils::DateTime &&value)
bool SourceTypeHasBeenSet() const
Event & WithMessage(Aws::String &&value)
void SetSourceType(const SourceType &value)
AWS_ELASTICACHE_API Event()
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Event & WithDate(const Aws::Utils::DateTime &value)
Event & WithSourceIdentifier(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetMessage() const
AWS_ELASTICACHE_API Event(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceType(SourceType &&value)
void SetSourceIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream