AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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 Kafka
24{
25namespace Model
26{
27
29 {
30 public:
31 AWS_KAFKA_API BrokerLogs() = default;
32 AWS_KAFKA_API BrokerLogs(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
36
38
39 inline const CloudWatchLogs& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
40 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
41 template<typename CloudWatchLogsT = CloudWatchLogs>
42 void SetCloudWatchLogs(CloudWatchLogsT&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value); }
43 template<typename CloudWatchLogsT = CloudWatchLogs>
44 BrokerLogs& WithCloudWatchLogs(CloudWatchLogsT&& value) { SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value)); return *this;}
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) { m_firehoseHasBeenSet = true; m_firehose = std::forward<FirehoseT>(value); }
53 template<typename FirehoseT = Firehose>
54 BrokerLogs& WithFirehose(FirehoseT&& value) { SetFirehose(std::forward<FirehoseT>(value)); return *this;}
56
58
59 inline const S3& GetS3() const { return m_s3; }
60 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
61 template<typename S3T = S3>
62 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
63 template<typename S3T = S3>
64 BrokerLogs& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
66 private:
67
68 CloudWatchLogs m_cloudWatchLogs;
69 bool m_cloudWatchLogsHasBeenSet = false;
70
71 Firehose m_firehose;
72 bool m_firehoseHasBeenSet = false;
73
74 S3 m_s3;
75 bool m_s3HasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Kafka
80} // namespace Aws
AWS_KAFKA_API BrokerLogs & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API BrokerLogs()=default
void SetCloudWatchLogs(CloudWatchLogsT &&value)
Definition BrokerLogs.h:42
BrokerLogs & WithCloudWatchLogs(CloudWatchLogsT &&value)
Definition BrokerLogs.h:44
const CloudWatchLogs & GetCloudWatchLogs() const
Definition BrokerLogs.h:39
void SetS3(S3T &&value)
Definition BrokerLogs.h:62
AWS_KAFKA_API BrokerLogs(Aws::Utils::Json::JsonView jsonValue)
const S3 & GetS3() const
Definition BrokerLogs.h:59
const Firehose & GetFirehose() const
Definition BrokerLogs.h:49
void SetFirehose(FirehoseT &&value)
Definition BrokerLogs.h:52
BrokerLogs & WithS3(S3T &&value)
Definition BrokerLogs.h:64
BrokerLogs & WithFirehose(FirehoseT &&value)
Definition BrokerLogs.h:54
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
bool CloudWatchLogsHasBeenSet() const
Definition BrokerLogs.h:40
Aws::Utils::Json::JsonValue JsonValue