AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CloudWatchLogsT = CloudWatchLogsLogDeliveryDescription>
51 void SetCloudWatchLogs(CloudWatchLogsT&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value); }
52 template<typename CloudWatchLogsT = CloudWatchLogsLogDeliveryDescription>
53 WorkerLogDeliveryDescription& WithCloudWatchLogs(CloudWatchLogsT&& value) { SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value)); return *this;}
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) { m_firehoseHasBeenSet = true; m_firehose = std::forward<FirehoseT>(value); }
64 template<typename FirehoseT = FirehoseLogDeliveryDescription>
65 WorkerLogDeliveryDescription& WithFirehose(FirehoseT&& value) { SetFirehose(std::forward<FirehoseT>(value)); return *this;}
67
69
72 inline const S3LogDeliveryDescription& GetS3() const { return m_s3; }
73 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
74 template<typename S3T = S3LogDeliveryDescription>
75 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
76 template<typename S3T = S3LogDeliveryDescription>
77 WorkerLogDeliveryDescription& WithS3(S3T&& value) { SetS3(std::forward<S3T>(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)
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