AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BrokerLogs.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/CloudWatchLogs.h>
9#include <aws/kafka/model/Firehose.h>
10#include <aws/kafka/model/S3.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka {
22namespace Model {
23
25 public:
26 AWS_KAFKA_API BrokerLogs() = default;
27 AWS_KAFKA_API BrokerLogs(Aws::Utils::Json::JsonView jsonValue);
29 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
33 inline const CloudWatchLogs& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
34 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
35 template <typename CloudWatchLogsT = CloudWatchLogs>
36 void SetCloudWatchLogs(CloudWatchLogsT&& value) {
37 m_cloudWatchLogsHasBeenSet = true;
38 m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value);
39 }
40 template <typename CloudWatchLogsT = CloudWatchLogs>
41 BrokerLogs& WithCloudWatchLogs(CloudWatchLogsT&& value) {
42 SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value));
43 return *this;
44 }
46
48
49 inline const Firehose& GetFirehose() const { return m_firehose; }
50 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
51 template <typename FirehoseT = Firehose>
52 void SetFirehose(FirehoseT&& value) {
53 m_firehoseHasBeenSet = true;
54 m_firehose = std::forward<FirehoseT>(value);
55 }
56 template <typename FirehoseT = Firehose>
57 BrokerLogs& WithFirehose(FirehoseT&& value) {
58 SetFirehose(std::forward<FirehoseT>(value));
59 return *this;
60 }
62
64
65 inline const S3& GetS3() const { return m_s3; }
66 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
67 template <typename S3T = S3>
68 void SetS3(S3T&& value) {
69 m_s3HasBeenSet = true;
70 m_s3 = std::forward<S3T>(value);
71 }
72 template <typename S3T = S3>
73 BrokerLogs& WithS3(S3T&& value) {
74 SetS3(std::forward<S3T>(value));
75 return *this;
76 }
78 private:
79 CloudWatchLogs m_cloudWatchLogs;
80
81 Firehose m_firehose;
82
83 S3 m_s3;
84 bool m_cloudWatchLogsHasBeenSet = false;
85 bool m_firehoseHasBeenSet = false;
86 bool m_s3HasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace Kafka
91} // namespace Aws
AWS_KAFKA_API BrokerLogs & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API BrokerLogs()=default
void SetCloudWatchLogs(CloudWatchLogsT &&value)
Definition BrokerLogs.h:36
BrokerLogs & WithCloudWatchLogs(CloudWatchLogsT &&value)
Definition BrokerLogs.h:41
const CloudWatchLogs & GetCloudWatchLogs() const
Definition BrokerLogs.h:33
void SetS3(S3T &&value)
Definition BrokerLogs.h:68
AWS_KAFKA_API BrokerLogs(Aws::Utils::Json::JsonView jsonValue)
const S3 & GetS3() const
Definition BrokerLogs.h:65
const Firehose & GetFirehose() const
Definition BrokerLogs.h:49
void SetFirehose(FirehoseT &&value)
Definition BrokerLogs.h:52
BrokerLogs & WithS3(S3T &&value)
Definition BrokerLogs.h:73
BrokerLogs & WithFirehose(FirehoseT &&value)
Definition BrokerLogs.h:57
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
bool CloudWatchLogsHasBeenSet() const
Definition BrokerLogs.h:34
Aws::Utils::Json::JsonValue JsonValue