AWS SDK for C++

AWS SDK for C++ Version 1.11.793

Loading...
Searching...
No Matches
ReplicatorLogDelivery.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/ReplicatorCloudWatchLogs.h>
9#include <aws/kafka/model/ReplicatorFirehose.h>
10#include <aws/kafka/model/ReplicatorS3.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka {
22namespace Model {
23
30 public:
31 AWS_KAFKA_API ReplicatorLogDelivery() = default;
34 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const ReplicatorCloudWatchLogs& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
41 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
42 template <typename CloudWatchLogsT = ReplicatorCloudWatchLogs>
43 void SetCloudWatchLogs(CloudWatchLogsT&& value) {
44 m_cloudWatchLogsHasBeenSet = true;
45 m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value);
46 }
47 template <typename CloudWatchLogsT = ReplicatorCloudWatchLogs>
48 ReplicatorLogDelivery& WithCloudWatchLogs(CloudWatchLogsT&& value) {
49 SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value));
50 return *this;
51 }
53
55
58 inline const ReplicatorFirehose& GetFirehose() const { return m_firehose; }
59 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
60 template <typename FirehoseT = ReplicatorFirehose>
61 void SetFirehose(FirehoseT&& value) {
62 m_firehoseHasBeenSet = true;
63 m_firehose = std::forward<FirehoseT>(value);
64 }
65 template <typename FirehoseT = ReplicatorFirehose>
66 ReplicatorLogDelivery& WithFirehose(FirehoseT&& value) {
67 SetFirehose(std::forward<FirehoseT>(value));
68 return *this;
69 }
71
73
76 inline const ReplicatorS3& GetS3() const { return m_s3; }
77 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
78 template <typename S3T = ReplicatorS3>
79 void SetS3(S3T&& value) {
80 m_s3HasBeenSet = true;
81 m_s3 = std::forward<S3T>(value);
82 }
83 template <typename S3T = ReplicatorS3>
85 SetS3(std::forward<S3T>(value));
86 return *this;
87 }
89 private:
90 ReplicatorCloudWatchLogs m_cloudWatchLogs;
91
92 ReplicatorFirehose m_firehose;
93
94 ReplicatorS3 m_s3;
95 bool m_cloudWatchLogsHasBeenSet = false;
96 bool m_firehoseHasBeenSet = false;
97 bool m_s3HasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Kafka
102} // namespace Aws
ReplicatorLogDelivery & WithCloudWatchLogs(CloudWatchLogsT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API ReplicatorLogDelivery & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API ReplicatorLogDelivery(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API ReplicatorLogDelivery()=default
ReplicatorLogDelivery & WithS3(S3T &&value)
const ReplicatorFirehose & GetFirehose() const
void SetCloudWatchLogs(CloudWatchLogsT &&value)
ReplicatorLogDelivery & WithFirehose(FirehoseT &&value)
const ReplicatorCloudWatchLogs & GetCloudWatchLogs() const
Aws::Utils::Json::JsonValue JsonValue