AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LoggingInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/BrokerLogs.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kafka {
20namespace Model {
21
23 public:
24 AWS_KAFKA_API LoggingInfo() = default;
25 AWS_KAFKA_API LoggingInfo(Aws::Utils::Json::JsonView jsonValue);
27 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
28
30
31 inline const BrokerLogs& GetBrokerLogs() const { return m_brokerLogs; }
32 inline bool BrokerLogsHasBeenSet() const { return m_brokerLogsHasBeenSet; }
33 template <typename BrokerLogsT = BrokerLogs>
34 void SetBrokerLogs(BrokerLogsT&& value) {
35 m_brokerLogsHasBeenSet = true;
36 m_brokerLogs = std::forward<BrokerLogsT>(value);
37 }
38 template <typename BrokerLogsT = BrokerLogs>
39 LoggingInfo& WithBrokerLogs(BrokerLogsT&& value) {
40 SetBrokerLogs(std::forward<BrokerLogsT>(value));
41 return *this;
42 }
44 private:
45 BrokerLogs m_brokerLogs;
46 bool m_brokerLogsHasBeenSet = false;
47};
48
49} // namespace Model
50} // namespace Kafka
51} // namespace Aws
AWS_KAFKA_API LoggingInfo()=default
AWS_KAFKA_API LoggingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBrokerLogs(BrokerLogsT &&value)
Definition LoggingInfo.h:34
const BrokerLogs & GetBrokerLogs() const
Definition LoggingInfo.h:31
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API LoggingInfo(Aws::Utils::Json::JsonView jsonValue)
LoggingInfo & WithBrokerLogs(BrokerLogsT &&value)
Definition LoggingInfo.h:39
Aws::Utils::Json::JsonValue JsonValue