AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Logs.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MQ {
17namespace Model {
18
25class Logs {
26 public:
27 AWS_MQ_API Logs() = default;
28 AWS_MQ_API Logs(Aws::Utils::Json::JsonView jsonValue);
31
33
37 inline bool GetAudit() const { return m_audit; }
38 inline bool AuditHasBeenSet() const { return m_auditHasBeenSet; }
39 inline void SetAudit(bool value) {
40 m_auditHasBeenSet = true;
41 m_audit = value;
42 }
43 inline Logs& WithAudit(bool value) {
44 SetAudit(value);
45 return *this;
46 }
48
50
53 inline bool GetGeneral() const { return m_general; }
54 inline bool GeneralHasBeenSet() const { return m_generalHasBeenSet; }
55 inline void SetGeneral(bool value) {
56 m_generalHasBeenSet = true;
57 m_general = value;
58 }
59 inline Logs& WithGeneral(bool value) {
60 SetGeneral(value);
61 return *this;
62 }
64 private:
65 bool m_audit{false};
66
67 bool m_general{false};
68 bool m_auditHasBeenSet = false;
69 bool m_generalHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace MQ
74} // namespace Aws
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
Logs & WithAudit(bool value)
Definition Logs.h:43
bool GeneralHasBeenSet() const
Definition Logs.h:54
Logs & WithGeneral(bool value)
Definition Logs.h:59
void SetAudit(bool value)
Definition Logs.h:39
AWS_MQ_API Logs & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGeneral(bool value)
Definition Logs.h:55
AWS_MQ_API Logs(Aws::Utils::Json::JsonView jsonValue)
bool AuditHasBeenSet() const
Definition Logs.h:38
bool GetGeneral() const
Definition Logs.h:53
AWS_MQ_API Logs()=default
bool GetAudit() const
Definition Logs.h:37
Aws::Utils::Json::JsonValue JsonValue