AWS SDK for C++  1.9.159
AWS SDK for C++
DestinationDetails.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace ElastiCache
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const CloudWatchLogsDestinationDetails& GetCloudWatchLogsDetails() const{ return m_cloudWatchLogsDetails; }
48 
52  inline bool CloudWatchLogsDetailsHasBeenSet() const { return m_cloudWatchLogsDetailsHasBeenSet; }
53 
57  inline void SetCloudWatchLogsDetails(const CloudWatchLogsDestinationDetails& value) { m_cloudWatchLogsDetailsHasBeenSet = true; m_cloudWatchLogsDetails = value; }
58 
62  inline void SetCloudWatchLogsDetails(CloudWatchLogsDestinationDetails&& value) { m_cloudWatchLogsDetailsHasBeenSet = true; m_cloudWatchLogsDetails = std::move(value); }
63 
67  inline DestinationDetails& WithCloudWatchLogsDetails(const CloudWatchLogsDestinationDetails& value) { SetCloudWatchLogsDetails(value); return *this;}
68 
72  inline DestinationDetails& WithCloudWatchLogsDetails(CloudWatchLogsDestinationDetails&& value) { SetCloudWatchLogsDetails(std::move(value)); return *this;}
73 
74 
78  inline const KinesisFirehoseDestinationDetails& GetKinesisFirehoseDetails() const{ return m_kinesisFirehoseDetails; }
79 
83  inline bool KinesisFirehoseDetailsHasBeenSet() const { return m_kinesisFirehoseDetailsHasBeenSet; }
84 
88  inline void SetKinesisFirehoseDetails(const KinesisFirehoseDestinationDetails& value) { m_kinesisFirehoseDetailsHasBeenSet = true; m_kinesisFirehoseDetails = value; }
89 
93  inline void SetKinesisFirehoseDetails(KinesisFirehoseDestinationDetails&& value) { m_kinesisFirehoseDetailsHasBeenSet = true; m_kinesisFirehoseDetails = std::move(value); }
94 
98  inline DestinationDetails& WithKinesisFirehoseDetails(const KinesisFirehoseDestinationDetails& value) { SetKinesisFirehoseDetails(value); return *this;}
99 
103  inline DestinationDetails& WithKinesisFirehoseDetails(KinesisFirehoseDestinationDetails&& value) { SetKinesisFirehoseDetails(std::move(value)); return *this;}
104 
105  private:
106 
107  CloudWatchLogsDestinationDetails m_cloudWatchLogsDetails;
108  bool m_cloudWatchLogsDetailsHasBeenSet;
109 
110  KinesisFirehoseDestinationDetails m_kinesisFirehoseDetails;
111  bool m_kinesisFirehoseDetailsHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace ElastiCache
116 } // namespace Aws
Aws::ElastiCache::Model::DestinationDetails::SetCloudWatchLogsDetails
void SetCloudWatchLogsDetails(CloudWatchLogsDestinationDetails &&value)
Definition: DestinationDetails.h:62
Aws::ElastiCache::Model::DestinationDetails::GetCloudWatchLogsDetails
const CloudWatchLogsDestinationDetails & GetCloudWatchLogsDetails() const
Definition: DestinationDetails.h:47
Aws::ElastiCache::Model::DestinationDetails::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElastiCache::Model::DestinationDetails::WithKinesisFirehoseDetails
DestinationDetails & WithKinesisFirehoseDetails(const KinesisFirehoseDestinationDetails &value)
Definition: DestinationDetails.h:98
Aws::ElastiCache::Model::DestinationDetails::WithKinesisFirehoseDetails
DestinationDetails & WithKinesisFirehoseDetails(KinesisFirehoseDestinationDetails &&value)
Definition: DestinationDetails.h:103
Aws::ElastiCache::Model::DestinationDetails::WithCloudWatchLogsDetails
DestinationDetails & WithCloudWatchLogsDetails(const CloudWatchLogsDestinationDetails &value)
Definition: DestinationDetails.h:67
AWSStreamFwd.h
ElastiCache_EXPORTS.h
Aws::ElastiCache::Model::DestinationDetails::KinesisFirehoseDetailsHasBeenSet
bool KinesisFirehoseDetailsHasBeenSet() const
Definition: DestinationDetails.h:83
Aws::ElastiCache::Model::DestinationDetails::WithCloudWatchLogsDetails
DestinationDetails & WithCloudWatchLogsDetails(CloudWatchLogsDestinationDetails &&value)
Definition: DestinationDetails.h:72
Aws::ElastiCache::Model::DestinationDetails::GetKinesisFirehoseDetails
const KinesisFirehoseDestinationDetails & GetKinesisFirehoseDetails() const
Definition: DestinationDetails.h:78
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
CloudWatchLogsDestinationDetails.h
Aws::ElastiCache::Model::DestinationDetails::SetKinesisFirehoseDetails
void SetKinesisFirehoseDetails(const KinesisFirehoseDestinationDetails &value)
Definition: DestinationDetails.h:88
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElastiCache::Model::CloudWatchLogsDestinationDetails
Definition: CloudWatchLogsDestinationDetails.h:33
AWS_ELASTICACHE_API
#define AWS_ELASTICACHE_API
Definition: ElastiCache_EXPORTS.h:28
Aws::ElastiCache::Model::DestinationDetails::CloudWatchLogsDetailsHasBeenSet
bool CloudWatchLogsDetailsHasBeenSet() const
Definition: DestinationDetails.h:52
Aws::ElastiCache::Model::DestinationDetails
Definition: DestinationDetails.h:34
Aws::ElastiCache::Model::DestinationDetails::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElastiCache::Model::DestinationDetails::DestinationDetails
DestinationDetails()
Aws
Definition: AccessManagementClient.h:15
KinesisFirehoseDestinationDetails.h
index
int index
Definition: cJSON.h:181
Aws::ElastiCache::Model::DestinationDetails::DestinationDetails
DestinationDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElastiCache::Model::KinesisFirehoseDestinationDetails
Definition: KinesisFirehoseDestinationDetails.h:33
Aws::ElastiCache::Model::DestinationDetails::SetKinesisFirehoseDetails
void SetKinesisFirehoseDetails(KinesisFirehoseDestinationDetails &&value)
Definition: DestinationDetails.h:93
Aws::ElastiCache::Model::DestinationDetails::operator=
DestinationDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElastiCache::Model::DestinationDetails::SetCloudWatchLogsDetails
void SetCloudWatchLogsDetails(const CloudWatchLogsDestinationDetails &value)
Definition: DestinationDetails.h:57