7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/DestinationDetails.h>
11#include <aws/elasticache/model/DestinationType.h>
12#include <aws/elasticache/model/LogDeliveryConfigurationStatus.h>
13#include <aws/elasticache/model/LogFormat.h>
14#include <aws/elasticache/model/LogType.h>
24namespace ElastiCache {
50 m_logTypeHasBeenSet =
true;
67 m_destinationTypeHasBeenSet =
true;
68 m_destinationType = value;
83 template <
typename DestinationDetailsT = DestinationDetails>
85 m_destinationDetailsHasBeenSet =
true;
86 m_destinationDetails = std::forward<DestinationDetailsT>(value);
88 template <
typename DestinationDetailsT = DestinationDetails>
102 m_logFormatHasBeenSet =
true;
120 m_statusHasBeenSet =
true;
135 template <
typename MessageT = Aws::String>
137 m_messageHasBeenSet =
true;
138 m_message = std::forward<MessageT>(value);
140 template <
typename MessageT = Aws::String>
151 DestinationDetails m_destinationDetails;
158 bool m_logTypeHasBeenSet =
false;
159 bool m_destinationTypeHasBeenSet =
false;
160 bool m_destinationDetailsHasBeenSet =
false;
161 bool m_logFormatHasBeenSet =
false;
162 bool m_statusHasBeenSet =
false;
163 bool m_messageHasBeenSet =
false;
bool DestinationTypeHasBeenSet() const
DestinationType GetDestinationType() const
LogDeliveryConfiguration & WithLogType(LogType value)
LogDeliveryConfiguration & WithDestinationDetails(DestinationDetailsT &&value)
const Aws::String & GetMessage() const
bool StatusHasBeenSet() const
bool DestinationDetailsHasBeenSet() const
LogDeliveryConfiguration & WithStatus(LogDeliveryConfigurationStatus value)
LogDeliveryConfiguration & WithLogFormat(LogFormat value)
bool MessageHasBeenSet() const
void SetDestinationDetails(DestinationDetailsT &&value)
const DestinationDetails & GetDestinationDetails() const
LogType GetLogType() const
void SetStatus(LogDeliveryConfigurationStatus value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API LogDeliveryConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLogType(LogType value)
bool LogFormatHasBeenSet() const
LogDeliveryConfiguration & WithDestinationType(DestinationType value)
LogDeliveryConfiguration & WithMessage(MessageT &&value)
LogFormat GetLogFormat() const
void SetDestinationType(DestinationType value)
void SetMessage(MessageT &&value)
bool LogTypeHasBeenSet() const
LogDeliveryConfigurationStatus GetStatus() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API LogDeliveryConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLogFormat(LogFormat value)
AWS_ELASTICACHE_API LogDeliveryConfiguration()=default
LogDeliveryConfigurationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream