AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCloudWatchLogs(const CloudWatchLogs& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; }
42 inline void SetCloudWatchLogs(CloudWatchLogs&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); }
43 inline BrokerLogs& WithCloudWatchLogs(const CloudWatchLogs& value) { SetCloudWatchLogs(value); return *this;}
44 inline BrokerLogs& WithCloudWatchLogs(CloudWatchLogs&& value) { SetCloudWatchLogs(std::move(value)); return *this;}
46
48
49 inline const Firehose& GetFirehose() const{ return m_firehose; }
50 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
51 inline void SetFirehose(const Firehose& value) { m_firehoseHasBeenSet = true; m_firehose = value; }
52 inline void SetFirehose(Firehose&& value) { m_firehoseHasBeenSet = true; m_firehose = std::move(value); }
53 inline BrokerLogs& WithFirehose(const Firehose& value) { SetFirehose(value); return *this;}
54 inline BrokerLogs& WithFirehose(Firehose&& value) { SetFirehose(std::move(value)); return *this;}
56
58
59 inline const S3& GetS3() const{ return m_s3; }
60 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
61 inline void SetS3(const S3& value) { m_s3HasBeenSet = true; m_s3 = value; }
62 inline void SetS3(S3&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
63 inline BrokerLogs& WithS3(const S3& value) { SetS3(value); return *this;}
64 inline BrokerLogs& WithS3(S3&& value) { SetS3(std::move(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)
void SetFirehose(Firehose &&value)
Definition BrokerLogs.h:52
BrokerLogs & WithFirehose(Firehose &&value)
Definition BrokerLogs.h:54
void SetFirehose(const Firehose &value)
Definition BrokerLogs.h:51
const CloudWatchLogs & GetCloudWatchLogs() const
Definition BrokerLogs.h:39
BrokerLogs & WithCloudWatchLogs(CloudWatchLogs &&value)
Definition BrokerLogs.h:44
void SetCloudWatchLogs(CloudWatchLogs &&value)
Definition BrokerLogs.h:42
BrokerLogs & WithFirehose(const Firehose &value)
Definition BrokerLogs.h:53
BrokerLogs & WithCloudWatchLogs(const CloudWatchLogs &value)
Definition BrokerLogs.h:43
BrokerLogs & WithS3(const S3 &value)
Definition BrokerLogs.h:63
AWS_KAFKA_API BrokerLogs(Aws::Utils::Json::JsonView jsonValue)
BrokerLogs & WithS3(S3 &&value)
Definition BrokerLogs.h:64
void SetCloudWatchLogs(const CloudWatchLogs &value)
Definition BrokerLogs.h:41
const S3 & GetS3() const
Definition BrokerLogs.h:59
void SetS3(const S3 &value)
Definition BrokerLogs.h:61
const Firehose & GetFirehose() const
Definition BrokerLogs.h:49
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
bool CloudWatchLogsHasBeenSet() const
Definition BrokerLogs.h:40
Aws::Utils::Json::JsonValue JsonValue