7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticache/model/LogType.h>
10#include <aws/elasticache/model/DestinationType.h>
11#include <aws/elasticache/model/DestinationDetails.h>
12#include <aws/elasticache/model/LogFormat.h>
13#include <aws/elasticache/model/LogDeliveryConfigurationStatus.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
55 inline void SetLogType(
const LogType& value) { m_logTypeHasBeenSet =
true; m_logType = value; }
56 inline void SetLogType(
LogType&& value) { m_logTypeHasBeenSet =
true; m_logType = std::move(value); }
121 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
129 bool m_logTypeHasBeenSet =
false;
132 bool m_destinationTypeHasBeenSet =
false;
135 bool m_destinationDetailsHasBeenSet =
false;
138 bool m_logFormatHasBeenSet =
false;
141 bool m_statusHasBeenSet =
false;
144 bool m_messageHasBeenSet =
false;
bool DestinationTypeHasBeenSet() const
LogDeliveryConfiguration & WithLogType(const LogType &value)
LogDeliveryConfiguration & WithLogFormat(LogFormat &&value)
const Aws::String & GetMessage() const
void SetStatus(const LogDeliveryConfigurationStatus &value)
bool StatusHasBeenSet() const
void SetMessage(const Aws::String &value)
const LogDeliveryConfigurationStatus & GetStatus() const
const DestinationType & GetDestinationType() const
bool DestinationDetailsHasBeenSet() const
LogDeliveryConfiguration & WithDestinationType(const DestinationType &value)
void SetLogType(LogType &&value)
LogDeliveryConfiguration & WithLogFormat(const LogFormat &value)
LogDeliveryConfiguration & WithStatus(LogDeliveryConfigurationStatus &&value)
void SetMessage(Aws::String &&value)
AWS_ELASTICACHE_API LogDeliveryConfiguration()
bool MessageHasBeenSet() const
LogDeliveryConfiguration & WithStatus(const LogDeliveryConfigurationStatus &value)
void SetStatus(LogDeliveryConfigurationStatus &&value)
const DestinationDetails & GetDestinationDetails() const
LogDeliveryConfiguration & WithMessage(const char *value)
LogDeliveryConfiguration & WithDestinationDetails(DestinationDetails &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLogFormat(const LogFormat &value)
AWS_ELASTICACHE_API LogDeliveryConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDestinationDetails(DestinationDetails &&value)
const LogFormat & GetLogFormat() const
LogDeliveryConfiguration & WithLogType(LogType &&value)
bool LogFormatHasBeenSet() const
void SetLogFormat(LogFormat &&value)
void SetMessage(const char *value)
bool LogTypeHasBeenSet() const
LogDeliveryConfiguration & WithMessage(Aws::String &&value)
void SetDestinationType(DestinationType &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const LogType & GetLogType() const
LogDeliveryConfiguration & WithMessage(const Aws::String &value)
LogDeliveryConfiguration & WithDestinationType(DestinationType &&value)
void SetLogType(const LogType &value)
AWS_ELASTICACHE_API LogDeliveryConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDestinationType(const DestinationType &value)
LogDeliveryConfiguration & WithDestinationDetails(const DestinationDetails &value)
void SetDestinationDetails(const DestinationDetails &value)
LogDeliveryConfigurationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream