AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCloudWatchLogs(const CloudWatchLogsLogDelivery& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; }
51 inline void SetCloudWatchLogs(CloudWatchLogsLogDelivery&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); }
53 inline WorkerLogDelivery& WithCloudWatchLogs(CloudWatchLogsLogDelivery&& value) { SetCloudWatchLogs(std::move(value)); return *this;}
55
57
60 inline const FirehoseLogDelivery& GetFirehose() const{ return m_firehose; }
61 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
62 inline void SetFirehose(const FirehoseLogDelivery& value) { m_firehoseHasBeenSet = true; m_firehose = value; }
63 inline void SetFirehose(FirehoseLogDelivery&& value) { m_firehoseHasBeenSet = true; m_firehose = std::move(value); }
64 inline WorkerLogDelivery& WithFirehose(const FirehoseLogDelivery& value) { SetFirehose(value); return *this;}
65 inline WorkerLogDelivery& WithFirehose(FirehoseLogDelivery&& value) { SetFirehose(std::move(value)); return *this;}
67
69
72 inline const S3LogDelivery& GetS3() const{ return m_s3; }
73 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
74 inline void SetS3(const S3LogDelivery& value) { m_s3HasBeenSet = true; m_s3 = value; }
75 inline void SetS3(S3LogDelivery&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
76 inline WorkerLogDelivery& WithS3(const S3LogDelivery& value) { SetS3(value); return *this;}
77 inline WorkerLogDelivery& WithS3(S3LogDelivery&& value) { SetS3(std::move(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 & WithS3(const S3LogDelivery &value)
void SetFirehose(FirehoseLogDelivery &&value)
void SetFirehose(const FirehoseLogDelivery &value)
AWS_KAFKACONNECT_API WorkerLogDelivery & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkerLogDelivery & WithCloudWatchLogs(const CloudWatchLogsLogDelivery &value)
void SetCloudWatchLogs(const CloudWatchLogsLogDelivery &value)
const FirehoseLogDelivery & GetFirehose() const
void SetS3(const S3LogDelivery &value)
WorkerLogDelivery & WithCloudWatchLogs(CloudWatchLogsLogDelivery &&value)
WorkerLogDelivery & WithS3(S3LogDelivery &&value)
WorkerLogDelivery & WithFirehose(FirehoseLogDelivery &&value)
void SetCloudWatchLogs(CloudWatchLogsLogDelivery &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerLogDelivery & WithFirehose(const FirehoseLogDelivery &value)
Aws::Utils::Json::JsonValue JsonValue