AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LogsSummary.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mq/model/PendingLogs.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MQ
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MQ_API LogsSummary() = default;
40
41
43
47 inline bool GetAudit() const { return m_audit; }
48 inline bool AuditHasBeenSet() const { return m_auditHasBeenSet; }
49 inline void SetAudit(bool value) { m_auditHasBeenSet = true; m_audit = value; }
50 inline LogsSummary& WithAudit(bool value) { SetAudit(value); return *this;}
52
54
57 inline const Aws::String& GetAuditLogGroup() const { return m_auditLogGroup; }
58 inline bool AuditLogGroupHasBeenSet() const { return m_auditLogGroupHasBeenSet; }
59 template<typename AuditLogGroupT = Aws::String>
60 void SetAuditLogGroup(AuditLogGroupT&& value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup = std::forward<AuditLogGroupT>(value); }
61 template<typename AuditLogGroupT = Aws::String>
62 LogsSummary& WithAuditLogGroup(AuditLogGroupT&& value) { SetAuditLogGroup(std::forward<AuditLogGroupT>(value)); return *this;}
64
66
69 inline bool GetGeneral() const { return m_general; }
70 inline bool GeneralHasBeenSet() const { return m_generalHasBeenSet; }
71 inline void SetGeneral(bool value) { m_generalHasBeenSet = true; m_general = value; }
72 inline LogsSummary& WithGeneral(bool value) { SetGeneral(value); return *this;}
74
76
80 inline const Aws::String& GetGeneralLogGroup() const { return m_generalLogGroup; }
81 inline bool GeneralLogGroupHasBeenSet() const { return m_generalLogGroupHasBeenSet; }
82 template<typename GeneralLogGroupT = Aws::String>
83 void SetGeneralLogGroup(GeneralLogGroupT&& value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup = std::forward<GeneralLogGroupT>(value); }
84 template<typename GeneralLogGroupT = Aws::String>
85 LogsSummary& WithGeneralLogGroup(GeneralLogGroupT&& value) { SetGeneralLogGroup(std::forward<GeneralLogGroupT>(value)); return *this;}
87
89
93 inline const PendingLogs& GetPending() const { return m_pending; }
94 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
95 template<typename PendingT = PendingLogs>
96 void SetPending(PendingT&& value) { m_pendingHasBeenSet = true; m_pending = std::forward<PendingT>(value); }
97 template<typename PendingT = PendingLogs>
98 LogsSummary& WithPending(PendingT&& value) { SetPending(std::forward<PendingT>(value)); return *this;}
100 private:
101
102 bool m_audit{false};
103 bool m_auditHasBeenSet = false;
104
105 Aws::String m_auditLogGroup;
106 bool m_auditLogGroupHasBeenSet = false;
107
108 bool m_general{false};
109 bool m_generalHasBeenSet = false;
110
111 Aws::String m_generalLogGroup;
112 bool m_generalLogGroupHasBeenSet = false;
113
114 PendingLogs m_pending;
115 bool m_pendingHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace MQ
120} // namespace Aws
const PendingLogs & GetPending() const
Definition LogsSummary.h:93
AWS_MQ_API LogsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPending(PendingT &&value)
Definition LogsSummary.h:96
AWS_MQ_API LogsSummary(Aws::Utils::Json::JsonView jsonValue)
LogsSummary & WithGeneralLogGroup(GeneralLogGroupT &&value)
Definition LogsSummary.h:85
bool AuditLogGroupHasBeenSet() const
Definition LogsSummary.h:58
const Aws::String & GetAuditLogGroup() const
Definition LogsSummary.h:57
bool GeneralLogGroupHasBeenSet() const
Definition LogsSummary.h:81
void SetGeneralLogGroup(GeneralLogGroupT &&value)
Definition LogsSummary.h:83
LogsSummary & WithAuditLogGroup(AuditLogGroupT &&value)
Definition LogsSummary.h:62
void SetGeneral(bool value)
Definition LogsSummary.h:71
LogsSummary & WithGeneral(bool value)
Definition LogsSummary.h:72
void SetAudit(bool value)
Definition LogsSummary.h:49
LogsSummary & WithPending(PendingT &&value)
Definition LogsSummary.h:98
void SetAuditLogGroup(AuditLogGroupT &&value)
Definition LogsSummary.h:60
LogsSummary & WithAudit(bool value)
Definition LogsSummary.h:50
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MQ_API LogsSummary()=default
const Aws::String & GetGeneralLogGroup() const
Definition LogsSummary.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue