AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
WorkerLogDelivery.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/CloudWatchLogsLogDelivery.h>
9#include <aws/kafkaconnect/model/FirehoseLogDelivery.h>
10#include <aws/kafkaconnect/model/S3LogDelivery.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KafkaConnect
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_KAFKACONNECT_API WorkerLogDelivery() = default;
39 AWS_KAFKACONNECT_API WorkerLogDelivery(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KAFKACONNECT_API WorkerLogDelivery& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const CloudWatchLogsLogDelivery& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
49 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
50 template<typename CloudWatchLogsT = CloudWatchLogsLogDelivery>
51 void SetCloudWatchLogs(CloudWatchLogsT&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value); }
52 template<typename CloudWatchLogsT = CloudWatchLogsLogDelivery>
53 WorkerLogDelivery& WithCloudWatchLogs(CloudWatchLogsT&& value) { SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value)); return *this;}
55
57
60 inline const FirehoseLogDelivery& GetFirehose() const { return m_firehose; }
61 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
62 template<typename FirehoseT = FirehoseLogDelivery>
63 void SetFirehose(FirehoseT&& value) { m_firehoseHasBeenSet = true; m_firehose = std::forward<FirehoseT>(value); }
64 template<typename FirehoseT = FirehoseLogDelivery>
65 WorkerLogDelivery& WithFirehose(FirehoseT&& value) { SetFirehose(std::forward<FirehoseT>(value)); return *this;}
67
69
72 inline const S3LogDelivery& GetS3() const { return m_s3; }
73 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
74 template<typename S3T = S3LogDelivery>
75 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
76 template<typename S3T = S3LogDelivery>
77 WorkerLogDelivery& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
79 private:
80
81 CloudWatchLogsLogDelivery m_cloudWatchLogs;
82 bool m_cloudWatchLogsHasBeenSet = false;
83
84 FirehoseLogDelivery m_firehose;
85 bool m_firehoseHasBeenSet = false;
86
87 S3LogDelivery m_s3;
88 bool m_s3HasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace KafkaConnect
93} // namespace Aws
AWS_KAFKACONNECT_API WorkerLogDelivery(Aws::Utils::Json::JsonView jsonValue)
const CloudWatchLogsLogDelivery & GetCloudWatchLogs() const
WorkerLogDelivery & WithFirehose(FirehoseT &&value)
AWS_KAFKACONNECT_API WorkerLogDelivery & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLogs(CloudWatchLogsT &&value)
const FirehoseLogDelivery & GetFirehose() const
WorkerLogDelivery & WithS3(S3T &&value)
WorkerLogDelivery & WithCloudWatchLogs(CloudWatchLogsT &&value)
AWS_KAFKACONNECT_API WorkerLogDelivery()=default
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue