AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingLogDeliveryConfiguration.h
1
6#pragma once
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 <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_ELASTICACHE_API PendingLogDeliveryConfiguration();
38 AWS_ELASTICACHE_API PendingLogDeliveryConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const LogType& GetLogType() const{ return m_logType; }
51 inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; }
52 inline void SetLogType(const LogType& value) { m_logTypeHasBeenSet = true; m_logType = value; }
53 inline void SetLogType(LogType&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); }
54 inline PendingLogDeliveryConfiguration& WithLogType(const LogType& value) { SetLogType(value); return *this;}
55 inline PendingLogDeliveryConfiguration& WithLogType(LogType&& value) { SetLogType(std::move(value)); return *this;}
57
59
63 inline const DestinationType& GetDestinationType() const{ return m_destinationType; }
64 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
65 inline void SetDestinationType(const DestinationType& value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; }
66 inline void SetDestinationType(DestinationType&& value) { m_destinationTypeHasBeenSet = true; m_destinationType = std::move(value); }
70
72
76 inline const DestinationDetails& GetDestinationDetails() const{ return m_destinationDetails; }
77 inline bool DestinationDetailsHasBeenSet() const { return m_destinationDetailsHasBeenSet; }
78 inline void SetDestinationDetails(const DestinationDetails& value) { m_destinationDetailsHasBeenSet = true; m_destinationDetails = value; }
79 inline void SetDestinationDetails(DestinationDetails&& value) { m_destinationDetailsHasBeenSet = true; m_destinationDetails = std::move(value); }
83
85
88 inline const LogFormat& GetLogFormat() const{ return m_logFormat; }
89 inline bool LogFormatHasBeenSet() const { return m_logFormatHasBeenSet; }
90 inline void SetLogFormat(const LogFormat& value) { m_logFormatHasBeenSet = true; m_logFormat = value; }
91 inline void SetLogFormat(LogFormat&& value) { m_logFormatHasBeenSet = true; m_logFormat = std::move(value); }
92 inline PendingLogDeliveryConfiguration& WithLogFormat(const LogFormat& value) { SetLogFormat(value); return *this;}
93 inline PendingLogDeliveryConfiguration& WithLogFormat(LogFormat&& value) { SetLogFormat(std::move(value)); return *this;}
95 private:
96
97 LogType m_logType;
98 bool m_logTypeHasBeenSet = false;
99
100 DestinationType m_destinationType;
101 bool m_destinationTypeHasBeenSet = false;
102
103 DestinationDetails m_destinationDetails;
104 bool m_destinationDetailsHasBeenSet = false;
105
106 LogFormat m_logFormat;
107 bool m_logFormatHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ElastiCache
112} // namespace Aws
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingLogDeliveryConfiguration & WithLogType(LogType &&value)
AWS_ELASTICACHE_API PendingLogDeliveryConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingLogDeliveryConfiguration & WithDestinationType(DestinationType &&value)
PendingLogDeliveryConfiguration & WithLogFormat(LogFormat &&value)
AWS_ELASTICACHE_API PendingLogDeliveryConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingLogDeliveryConfiguration & WithLogType(const LogType &value)
PendingLogDeliveryConfiguration & WithDestinationDetails(const DestinationDetails &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingLogDeliveryConfiguration & WithDestinationDetails(DestinationDetails &&value)
PendingLogDeliveryConfiguration & WithLogFormat(const LogFormat &value)
PendingLogDeliveryConfiguration & WithDestinationType(const DestinationType &value)
std::basic_ostream< char, std::char_traits< char > > OStream