AWS SDK for C++  1.9.105
AWS SDK for C++
BrokerLogs.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/kafka/model/S3.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Kafka
24 {
25 namespace Model
26 {
27 
29  {
30  public:
35 
36 
37 
38  inline const CloudWatchLogs& GetCloudWatchLogs() const{ return m_cloudWatchLogs; }
39 
40 
41  inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
42 
43 
44  inline void SetCloudWatchLogs(const CloudWatchLogs& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = value; }
45 
46 
47  inline void SetCloudWatchLogs(CloudWatchLogs&& value) { m_cloudWatchLogsHasBeenSet = true; m_cloudWatchLogs = std::move(value); }
48 
49 
50  inline BrokerLogs& WithCloudWatchLogs(const CloudWatchLogs& value) { SetCloudWatchLogs(value); return *this;}
51 
52 
53  inline BrokerLogs& WithCloudWatchLogs(CloudWatchLogs&& value) { SetCloudWatchLogs(std::move(value)); return *this;}
54 
55 
56 
57  inline const Firehose& GetFirehose() const{ return m_firehose; }
58 
59 
60  inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
61 
62 
63  inline void SetFirehose(const Firehose& value) { m_firehoseHasBeenSet = true; m_firehose = value; }
64 
65 
66  inline void SetFirehose(Firehose&& value) { m_firehoseHasBeenSet = true; m_firehose = std::move(value); }
67 
68 
69  inline BrokerLogs& WithFirehose(const Firehose& value) { SetFirehose(value); return *this;}
70 
71 
72  inline BrokerLogs& WithFirehose(Firehose&& value) { SetFirehose(std::move(value)); return *this;}
73 
74 
75 
76  inline const S3& GetS3() const{ return m_s3; }
77 
78 
79  inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
80 
81 
82  inline void SetS3(const S3& value) { m_s3HasBeenSet = true; m_s3 = value; }
83 
84 
85  inline void SetS3(S3&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
86 
87 
88  inline BrokerLogs& WithS3(const S3& value) { SetS3(value); return *this;}
89 
90 
91  inline BrokerLogs& WithS3(S3&& value) { SetS3(std::move(value)); return *this;}
92 
93  private:
94 
95  CloudWatchLogs m_cloudWatchLogs;
96  bool m_cloudWatchLogsHasBeenSet;
97 
98  Firehose m_firehose;
99  bool m_firehoseHasBeenSet;
100 
101  S3 m_s3;
102  bool m_s3HasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace Kafka
107 } // namespace Aws
Aws::Kafka::Model::BrokerLogs::SetCloudWatchLogs
void SetCloudWatchLogs(const CloudWatchLogs &value)
Definition: BrokerLogs.h:44
Aws::Kafka::Model::BrokerLogs::SetS3
void SetS3(S3 &&value)
Definition: BrokerLogs.h:85
Aws::Kafka::Model::BrokerLogs::WithFirehose
BrokerLogs & WithFirehose(const Firehose &value)
Definition: BrokerLogs.h:69
Aws::Kafka::Model::BrokerLogs::WithS3
BrokerLogs & WithS3(S3 &&value)
Definition: BrokerLogs.h:91
Aws::Kafka::Model::BrokerLogs::WithCloudWatchLogs
BrokerLogs & WithCloudWatchLogs(const CloudWatchLogs &value)
Definition: BrokerLogs.h:50
Aws::Kafka::Model::BrokerLogs::SetFirehose
void SetFirehose(Firehose &&value)
Definition: BrokerLogs.h:66
Aws::Kafka::Model::BrokerLogs
Definition: BrokerLogs.h:29
Aws::Kafka::Model::BrokerLogs::SetFirehose
void SetFirehose(const Firehose &value)
Definition: BrokerLogs.h:63
Aws::Kafka::Model::BrokerLogs::SetCloudWatchLogs
void SetCloudWatchLogs(CloudWatchLogs &&value)
Definition: BrokerLogs.h:47
Aws::Kafka::Model::BrokerLogs::GetS3
const S3 & GetS3() const
Definition: BrokerLogs.h:76
Aws::Kafka::Model::BrokerLogs::BrokerLogs
BrokerLogs()
Aws::Kafka::Model::S3
Definition: S3.h:27
Aws::Kafka::Model::BrokerLogs::SetS3
void SetS3(const S3 &value)
Definition: BrokerLogs.h:82
Aws::Kafka::Model::CloudWatchLogs
Definition: CloudWatchLogs.h:27
Aws::Kafka::Model::BrokerLogs::operator=
BrokerLogs & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerLogs::WithCloudWatchLogs
BrokerLogs & WithCloudWatchLogs(CloudWatchLogs &&value)
Definition: BrokerLogs.h:53
S3.h
Aws::Kafka::Model::BrokerLogs::FirehoseHasBeenSet
bool FirehoseHasBeenSet() const
Definition: BrokerLogs.h:60
Aws::Kafka::Model::BrokerLogs::WithS3
BrokerLogs & WithS3(const S3 &value)
Definition: BrokerLogs.h:88
Aws::Kafka::Model::BrokerLogs::S3HasBeenSet
bool S3HasBeenSet() const
Definition: BrokerLogs.h:79
Aws::Kafka::Model::BrokerLogs::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::BrokerLogs::CloudWatchLogsHasBeenSet
bool CloudWatchLogsHasBeenSet() const
Definition: BrokerLogs.h:41
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::BrokerLogs::GetCloudWatchLogs
const CloudWatchLogs & GetCloudWatchLogs() const
Definition: BrokerLogs.h:38
Aws::Kafka::Model::BrokerLogs::GetFirehose
const Firehose & GetFirehose() const
Definition: BrokerLogs.h:57
Aws::Kafka::Model::BrokerLogs::BrokerLogs
BrokerLogs(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerLogs::WithFirehose
BrokerLogs & WithFirehose(Firehose &&value)
Definition: BrokerLogs.h:72
Aws
Definition: AccessManagementClient.h:15
Firehose.h
Kafka_EXPORTS.h
Aws::Kafka::Model::Firehose
Definition: Firehose.h:27
CloudWatchLogs.h