AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
WorkerLogDeliveryDescription.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/CloudWatchLogsLogDeliveryDescription.h>
9#include <aws/kafkaconnect/model/FirehoseLogDeliveryDescription.h>
10#include <aws/kafkaconnect/model/S3LogDeliveryDescription.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace KafkaConnect {
22namespace Model {
23
32 public:
33 AWS_KAFKACONNECT_API WorkerLogDeliveryDescription() = default;
36 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const CloudWatchLogsLogDeliveryDescription& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
43 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
44 template <typename CloudWatchLogsT = CloudWatchLogsLogDeliveryDescription>
45 void SetCloudWatchLogs(CloudWatchLogsT&& value) {
46 m_cloudWatchLogsHasBeenSet = true;
47 m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value);
48 }
49 template <typename CloudWatchLogsT = CloudWatchLogsLogDeliveryDescription>
51 SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value));
52 return *this;
53 }
55
57
60 inline const FirehoseLogDeliveryDescription& GetFirehose() const { return m_firehose; }
61 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
62 template <typename FirehoseT = FirehoseLogDeliveryDescription>
63 void SetFirehose(FirehoseT&& value) {
64 m_firehoseHasBeenSet = true;
65 m_firehose = std::forward<FirehoseT>(value);
66 }
67 template <typename FirehoseT = FirehoseLogDeliveryDescription>
69 SetFirehose(std::forward<FirehoseT>(value));
70 return *this;
71 }
73
75
78 inline const S3LogDeliveryDescription& GetS3() const { return m_s3; }
79 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
80 template <typename S3T = S3LogDeliveryDescription>
81 void SetS3(S3T&& value) {
82 m_s3HasBeenSet = true;
83 m_s3 = std::forward<S3T>(value);
84 }
85 template <typename S3T = S3LogDeliveryDescription>
87 SetS3(std::forward<S3T>(value));
88 return *this;
89 }
91 private:
93
95
97 bool m_cloudWatchLogsHasBeenSet = false;
98 bool m_firehoseHasBeenSet = false;
99 bool m_s3HasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace KafkaConnect
104} // namespace Aws
const CloudWatchLogsLogDeliveryDescription & GetCloudWatchLogs() const
AWS_KAFKACONNECT_API WorkerLogDeliveryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API WorkerLogDeliveryDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerLogDeliveryDescription & WithCloudWatchLogs(CloudWatchLogsT &&value)
WorkerLogDeliveryDescription & WithFirehose(FirehoseT &&value)
AWS_KAFKACONNECT_API WorkerLogDeliveryDescription()=default
const FirehoseLogDeliveryDescription & GetFirehose() const
Aws::Utils::Json::JsonValue JsonValue