AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
LoggingInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/AuthorizerLogs.h>
9#include <aws/kafka/model/BrokerLogs.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Kafka {
21namespace Model {
22
24 public:
25 AWS_KAFKA_API LoggingInfo() = default;
26 AWS_KAFKA_API LoggingInfo(Aws::Utils::Json::JsonView jsonValue);
28 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
29
31
35 inline const AuthorizerLogs& GetAuthorizerLogs() const { return m_authorizerLogs; }
36 inline bool AuthorizerLogsHasBeenSet() const { return m_authorizerLogsHasBeenSet; }
37 template <typename AuthorizerLogsT = AuthorizerLogs>
38 void SetAuthorizerLogs(AuthorizerLogsT&& value) {
39 m_authorizerLogsHasBeenSet = true;
40 m_authorizerLogs = std::forward<AuthorizerLogsT>(value);
41 }
42 template <typename AuthorizerLogsT = AuthorizerLogs>
43 LoggingInfo& WithAuthorizerLogs(AuthorizerLogsT&& value) {
44 SetAuthorizerLogs(std::forward<AuthorizerLogsT>(value));
45 return *this;
46 }
48
50
51 inline const BrokerLogs& GetBrokerLogs() const { return m_brokerLogs; }
52 inline bool BrokerLogsHasBeenSet() const { return m_brokerLogsHasBeenSet; }
53 template <typename BrokerLogsT = BrokerLogs>
54 void SetBrokerLogs(BrokerLogsT&& value) {
55 m_brokerLogsHasBeenSet = true;
56 m_brokerLogs = std::forward<BrokerLogsT>(value);
57 }
58 template <typename BrokerLogsT = BrokerLogs>
59 LoggingInfo& WithBrokerLogs(BrokerLogsT&& value) {
60 SetBrokerLogs(std::forward<BrokerLogsT>(value));
61 return *this;
62 }
64 private:
65 AuthorizerLogs m_authorizerLogs;
66
67 BrokerLogs m_brokerLogs;
68 bool m_authorizerLogsHasBeenSet = false;
69 bool m_brokerLogsHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace Kafka
74} // namespace Aws
AWS_KAFKA_API LoggingInfo()=default
AWS_KAFKA_API LoggingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthorizerLogs(AuthorizerLogsT &&value)
Definition LoggingInfo.h:38
void SetBrokerLogs(BrokerLogsT &&value)
Definition LoggingInfo.h:54
const BrokerLogs & GetBrokerLogs() const
Definition LoggingInfo.h:51
const AuthorizerLogs & GetAuthorizerLogs() const
Definition LoggingInfo.h:35
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API LoggingInfo(Aws::Utils::Json::JsonView jsonValue)
bool AuthorizerLogsHasBeenSet() const
Definition LoggingInfo.h:36
LoggingInfo & WithBrokerLogs(BrokerLogsT &&value)
Definition LoggingInfo.h:59
LoggingInfo & WithAuthorizerLogs(AuthorizerLogsT &&value)
Definition LoggingInfo.h:43
Aws::Utils::Json::JsonValue JsonValue