AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAuditLogGroup(const Aws::String& value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup = value; }
60 inline void SetAuditLogGroup(Aws::String&& value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup = std::move(value); }
61 inline void SetAuditLogGroup(const char* value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup.assign(value); }
62 inline LogsSummary& WithAuditLogGroup(const Aws::String& value) { SetAuditLogGroup(value); return *this;}
63 inline LogsSummary& WithAuditLogGroup(Aws::String&& value) { SetAuditLogGroup(std::move(value)); return *this;}
64 inline LogsSummary& WithAuditLogGroup(const char* value) { SetAuditLogGroup(value); return *this;}
66
68
71 inline bool GetGeneral() const{ return m_general; }
72 inline bool GeneralHasBeenSet() const { return m_generalHasBeenSet; }
73 inline void SetGeneral(bool value) { m_generalHasBeenSet = true; m_general = value; }
74 inline LogsSummary& WithGeneral(bool value) { SetGeneral(value); return *this;}
76
78
82 inline const Aws::String& GetGeneralLogGroup() const{ return m_generalLogGroup; }
83 inline bool GeneralLogGroupHasBeenSet() const { return m_generalLogGroupHasBeenSet; }
84 inline void SetGeneralLogGroup(const Aws::String& value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup = value; }
85 inline void SetGeneralLogGroup(Aws::String&& value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup = std::move(value); }
86 inline void SetGeneralLogGroup(const char* value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup.assign(value); }
87 inline LogsSummary& WithGeneralLogGroup(const Aws::String& value) { SetGeneralLogGroup(value); return *this;}
88 inline LogsSummary& WithGeneralLogGroup(Aws::String&& value) { SetGeneralLogGroup(std::move(value)); return *this;}
89 inline LogsSummary& WithGeneralLogGroup(const char* value) { SetGeneralLogGroup(value); return *this;}
91
93
97 inline const PendingLogs& GetPending() const{ return m_pending; }
98 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
99 inline void SetPending(const PendingLogs& value) { m_pendingHasBeenSet = true; m_pending = value; }
100 inline void SetPending(PendingLogs&& value) { m_pendingHasBeenSet = true; m_pending = std::move(value); }
101 inline LogsSummary& WithPending(const PendingLogs& value) { SetPending(value); return *this;}
102 inline LogsSummary& WithPending(PendingLogs&& value) { SetPending(std::move(value)); return *this;}
104 private:
105
106 bool m_audit;
107 bool m_auditHasBeenSet = false;
108
109 Aws::String m_auditLogGroup;
110 bool m_auditLogGroupHasBeenSet = false;
111
112 bool m_general;
113 bool m_generalHasBeenSet = false;
114
115 Aws::String m_generalLogGroup;
116 bool m_generalLogGroupHasBeenSet = false;
117
118 PendingLogs m_pending;
119 bool m_pendingHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace MQ
124} // namespace Aws
LogsSummary & WithAuditLogGroup(Aws::String &&value)
Definition LogsSummary.h:63
void SetAuditLogGroup(const Aws::String &value)
Definition LogsSummary.h:59
LogsSummary & WithGeneralLogGroup(const Aws::String &value)
Definition LogsSummary.h:87
void SetGeneralLogGroup(Aws::String &&value)
Definition LogsSummary.h:85
const PendingLogs & GetPending() const
Definition LogsSummary.h:97
AWS_MQ_API LogsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MQ_API LogsSummary(Aws::Utils::Json::JsonView jsonValue)
LogsSummary & WithAuditLogGroup(const Aws::String &value)
Definition LogsSummary.h:62
void SetPending(PendingLogs &&value)
bool AuditLogGroupHasBeenSet() const
Definition LogsSummary.h:58
const Aws::String & GetAuditLogGroup() const
Definition LogsSummary.h:57
LogsSummary & WithPending(const PendingLogs &value)
LogsSummary & WithPending(PendingLogs &&value)
bool GeneralLogGroupHasBeenSet() const
Definition LogsSummary.h:83
void SetGeneral(bool value)
Definition LogsSummary.h:73
LogsSummary & WithGeneralLogGroup(const char *value)
Definition LogsSummary.h:89
LogsSummary & WithGeneral(bool value)
Definition LogsSummary.h:74
void SetAuditLogGroup(Aws::String &&value)
Definition LogsSummary.h:60
void SetAuditLogGroup(const char *value)
Definition LogsSummary.h:61
void SetAudit(bool value)
Definition LogsSummary.h:49
void SetGeneralLogGroup(const Aws::String &value)
Definition LogsSummary.h:84
void SetGeneralLogGroup(const char *value)
Definition LogsSummary.h:86
LogsSummary & WithAudit(bool value)
Definition LogsSummary.h:50
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
LogsSummary & WithGeneralLogGroup(Aws::String &&value)
Definition LogsSummary.h:88
void SetPending(const PendingLogs &value)
Definition LogsSummary.h:99
const Aws::String & GetGeneralLogGroup() const
Definition LogsSummary.h:82
LogsSummary & WithAuditLogGroup(const char *value)
Definition LogsSummary.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue