AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationDetails.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/CloudWatchLogsDestinationDetails.h>
10#include <aws/elasticache/model/KinesisFirehoseDestinationDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElastiCache
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICACHE_API DestinationDetails();
37 AWS_ELASTICACHE_API DestinationDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICACHE_API DestinationDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const CloudWatchLogsDestinationDetails& GetCloudWatchLogsDetails() const{ return m_cloudWatchLogsDetails; }
49 inline bool CloudWatchLogsDetailsHasBeenSet() const { return m_cloudWatchLogsDetailsHasBeenSet; }
50 inline void SetCloudWatchLogsDetails(const CloudWatchLogsDestinationDetails& value) { m_cloudWatchLogsDetailsHasBeenSet = true; m_cloudWatchLogsDetails = value; }
51 inline void SetCloudWatchLogsDetails(CloudWatchLogsDestinationDetails&& value) { m_cloudWatchLogsDetailsHasBeenSet = true; m_cloudWatchLogsDetails = std::move(value); }
55
57
60 inline const KinesisFirehoseDestinationDetails& GetKinesisFirehoseDetails() const{ return m_kinesisFirehoseDetails; }
61 inline bool KinesisFirehoseDetailsHasBeenSet() const { return m_kinesisFirehoseDetailsHasBeenSet; }
62 inline void SetKinesisFirehoseDetails(const KinesisFirehoseDestinationDetails& value) { m_kinesisFirehoseDetailsHasBeenSet = true; m_kinesisFirehoseDetails = value; }
63 inline void SetKinesisFirehoseDetails(KinesisFirehoseDestinationDetails&& value) { m_kinesisFirehoseDetailsHasBeenSet = true; m_kinesisFirehoseDetails = std::move(value); }
67 private:
68
69 CloudWatchLogsDestinationDetails m_cloudWatchLogsDetails;
70 bool m_cloudWatchLogsDetailsHasBeenSet = false;
71
72 KinesisFirehoseDestinationDetails m_kinesisFirehoseDetails;
73 bool m_kinesisFirehoseDetailsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ElastiCache
78} // namespace Aws
void SetCloudWatchLogsDetails(CloudWatchLogsDestinationDetails &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API DestinationDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const KinesisFirehoseDestinationDetails & GetKinesisFirehoseDetails() const
DestinationDetails & WithCloudWatchLogsDetails(CloudWatchLogsDestinationDetails &&value)
AWS_ELASTICACHE_API DestinationDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
DestinationDetails & WithCloudWatchLogsDetails(const CloudWatchLogsDestinationDetails &value)
void SetCloudWatchLogsDetails(const CloudWatchLogsDestinationDetails &value)
const CloudWatchLogsDestinationDetails & GetCloudWatchLogsDetails() const
void SetKinesisFirehoseDetails(KinesisFirehoseDestinationDetails &&value)
DestinationDetails & WithKinesisFirehoseDetails(KinesisFirehoseDestinationDetails &&value)
void SetKinesisFirehoseDetails(const KinesisFirehoseDestinationDetails &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DestinationDetails & WithKinesisFirehoseDetails(const KinesisFirehoseDestinationDetails &value)
std::basic_ostream< char, std::char_traits< char > > OStream