AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
AuthorizerLogs.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
31 public:
32 AWS_KAFKA_API AuthorizerLogs() = default;
35 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const CloudWatchLogs& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
42 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
43 template <typename CloudWatchLogsT = CloudWatchLogs>
44 void SetCloudWatchLogs(CloudWatchLogsT&& value) {
45 m_cloudWatchLogsHasBeenSet = true;
46 m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value);
47 }
48 template <typename CloudWatchLogsT = CloudWatchLogs>
49 AuthorizerLogs& WithCloudWatchLogs(CloudWatchLogsT&& value) {
50 SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value));
51 return *this;
52 }
54
56
60 inline const Firehose& GetFirehose() const { return m_firehose; }
61 inline bool FirehoseHasBeenSet() const { return m_firehoseHasBeenSet; }
62 template <typename FirehoseT = Firehose>
63 void SetFirehose(FirehoseT&& value) {
64 m_firehoseHasBeenSet = true;
65 m_firehose = std::forward<FirehoseT>(value);
66 }
67 template <typename FirehoseT = Firehose>
68 AuthorizerLogs& WithFirehose(FirehoseT&& value) {
69 SetFirehose(std::forward<FirehoseT>(value));
70 return *this;
71 }
73
75
78 inline const S3& GetS3() const { return m_s3; }
79 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
80 template <typename S3T = S3>
81 void SetS3(S3T&& value) {
82 m_s3HasBeenSet = true;
83 m_s3 = std::forward<S3T>(value);
84 }
85 template <typename S3T = S3>
86 AuthorizerLogs& WithS3(S3T&& value) {
87 SetS3(std::forward<S3T>(value));
88 return *this;
89 }
91 private:
92 CloudWatchLogs m_cloudWatchLogs;
93
94 Firehose m_firehose;
95
96 S3 m_s3;
97 bool m_cloudWatchLogsHasBeenSet = false;
98 bool m_firehoseHasBeenSet = false;
99 bool m_s3HasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Kafka
104} // namespace Aws
const Firehose & GetFirehose() const
AuthorizerLogs & WithFirehose(FirehoseT &&value)
AuthorizerLogs & WithCloudWatchLogs(CloudWatchLogsT &&value)
void SetCloudWatchLogs(CloudWatchLogsT &&value)
AWS_KAFKA_API AuthorizerLogs()=default
void SetFirehose(FirehoseT &&value)
const CloudWatchLogs & GetCloudWatchLogs() const
AWS_KAFKA_API AuthorizerLogs & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthorizerLogs & WithS3(S3T &&value)
AWS_KAFKA_API AuthorizerLogs(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue