AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 WorkerLogDeliveryDescription();
41 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const CloudWatchLogsLogDeliveryDescription& GetCloudWatchLogs() const{ return m_cloudWatchLogs; }
49 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
50 inline void SetCloudWatchLogs(const CloudWatchLogsLogDeliveryDescription& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; }
51 inline void SetCloudWatchLogs(CloudWatchLogsLogDeliveryDescription&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); }
55
57
60 inline const FirehoseLogDeliveryDescription& GetFirehose() const{ return m_firehose; }
61 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
62 inline void SetFirehose(const FirehoseLogDeliveryDescription& value) { m_firehoseHasBeenSet = true; m_firehose = value; }
63 inline void SetFirehose(FirehoseLogDeliveryDescription&& value) { m_firehoseHasBeenSet = true; m_firehose = std::move(value); }
65 inline WorkerLogDeliveryDescription& WithFirehose(FirehoseLogDeliveryDescription&& value) { SetFirehose(std::move(value)); return *this;}
67
69
72 inline const S3LogDeliveryDescription& GetS3() const{ return m_s3; }
73 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
74 inline void SetS3(const S3LogDeliveryDescription& value) { m_s3HasBeenSet = true; m_s3 = value; }
75 inline void SetS3(S3LogDeliveryDescription&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
76 inline WorkerLogDeliveryDescription& WithS3(const S3LogDeliveryDescription& value) { SetS3(value); return *this;}
77 inline WorkerLogDeliveryDescription& WithS3(S3LogDeliveryDescription&& value) { SetS3(std::move(value)); return *this;}
79 private:
80
82 bool m_cloudWatchLogsHasBeenSet = false;
83
85 bool m_firehoseHasBeenSet = false;
86
88 bool m_s3HasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace KafkaConnect
93} // 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)
void SetFirehose(const FirehoseLogDeliveryDescription &value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCloudWatchLogs(const CloudWatchLogsLogDeliveryDescription &value)
void SetFirehose(FirehoseLogDeliveryDescription &&value)
WorkerLogDeliveryDescription & WithCloudWatchLogs(const CloudWatchLogsLogDeliveryDescription &value)
WorkerLogDeliveryDescription & WithS3(const S3LogDeliveryDescription &value)
WorkerLogDeliveryDescription & WithCloudWatchLogs(CloudWatchLogsLogDeliveryDescription &&value)
WorkerLogDeliveryDescription & WithFirehose(const FirehoseLogDeliveryDescription &value)
const FirehoseLogDeliveryDescription & GetFirehose() const
WorkerLogDeliveryDescription & WithFirehose(FirehoseLogDeliveryDescription &&value)
void SetCloudWatchLogs(CloudWatchLogsLogDeliveryDescription &&value)
WorkerLogDeliveryDescription & WithS3(S3LogDeliveryDescription &&value)
Aws::Utils::Json::JsonValue JsonValue