AWS SDK for C++  1.9.106
AWS SDK for C++
LogsSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mq/MQ_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MQ
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline bool GetAudit() const{ return m_audit; }
47 
52  inline bool AuditHasBeenSet() const { return m_auditHasBeenSet; }
53 
58  inline void SetAudit(bool value) { m_auditHasBeenSet = true; m_audit = value; }
59 
64  inline LogsSummary& WithAudit(bool value) { SetAudit(value); return *this;}
65 
66 
70  inline const Aws::String& GetAuditLogGroup() const{ return m_auditLogGroup; }
71 
75  inline bool AuditLogGroupHasBeenSet() const { return m_auditLogGroupHasBeenSet; }
76 
80  inline void SetAuditLogGroup(const Aws::String& value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup = value; }
81 
85  inline void SetAuditLogGroup(Aws::String&& value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup = std::move(value); }
86 
90  inline void SetAuditLogGroup(const char* value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup.assign(value); }
91 
95  inline LogsSummary& WithAuditLogGroup(const Aws::String& value) { SetAuditLogGroup(value); return *this;}
96 
100  inline LogsSummary& WithAuditLogGroup(Aws::String&& value) { SetAuditLogGroup(std::move(value)); return *this;}
101 
105  inline LogsSummary& WithAuditLogGroup(const char* value) { SetAuditLogGroup(value); return *this;}
106 
107 
111  inline bool GetGeneral() const{ return m_general; }
112 
116  inline bool GeneralHasBeenSet() const { return m_generalHasBeenSet; }
117 
121  inline void SetGeneral(bool value) { m_generalHasBeenSet = true; m_general = value; }
122 
126  inline LogsSummary& WithGeneral(bool value) { SetGeneral(value); return *this;}
127 
128 
133  inline const Aws::String& GetGeneralLogGroup() const{ return m_generalLogGroup; }
134 
139  inline bool GeneralLogGroupHasBeenSet() const { return m_generalLogGroupHasBeenSet; }
140 
145  inline void SetGeneralLogGroup(const Aws::String& value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup = value; }
146 
151  inline void SetGeneralLogGroup(Aws::String&& value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup = std::move(value); }
152 
157  inline void SetGeneralLogGroup(const char* value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup.assign(value); }
158 
163  inline LogsSummary& WithGeneralLogGroup(const Aws::String& value) { SetGeneralLogGroup(value); return *this;}
164 
169  inline LogsSummary& WithGeneralLogGroup(Aws::String&& value) { SetGeneralLogGroup(std::move(value)); return *this;}
170 
175  inline LogsSummary& WithGeneralLogGroup(const char* value) { SetGeneralLogGroup(value); return *this;}
176 
177 
182  inline const PendingLogs& GetPending() const{ return m_pending; }
183 
188  inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
189 
194  inline void SetPending(const PendingLogs& value) { m_pendingHasBeenSet = true; m_pending = value; }
195 
200  inline void SetPending(PendingLogs&& value) { m_pendingHasBeenSet = true; m_pending = std::move(value); }
201 
206  inline LogsSummary& WithPending(const PendingLogs& value) { SetPending(value); return *this;}
207 
212  inline LogsSummary& WithPending(PendingLogs&& value) { SetPending(std::move(value)); return *this;}
213 
214  private:
215 
216  bool m_audit;
217  bool m_auditHasBeenSet;
218 
219  Aws::String m_auditLogGroup;
220  bool m_auditLogGroupHasBeenSet;
221 
222  bool m_general;
223  bool m_generalHasBeenSet;
224 
225  Aws::String m_generalLogGroup;
226  bool m_generalLogGroupHasBeenSet;
227 
228  PendingLogs m_pending;
229  bool m_pendingHasBeenSet;
230  };
231 
232 } // namespace Model
233 } // namespace MQ
234 } // namespace Aws
Aws::MQ::Model::LogsSummary::WithGeneralLogGroup
LogsSummary & WithGeneralLogGroup(const char *value)
Definition: LogsSummary.h:175
AWS_MQ_API
#define AWS_MQ_API
Definition: MQ_EXPORTS.h:28
Aws::MQ::Model::LogsSummary::GetGeneralLogGroup
const Aws::String & GetGeneralLogGroup() const
Definition: LogsSummary.h:133
Aws::MQ::Model::LogsSummary::GeneralLogGroupHasBeenSet
bool GeneralLogGroupHasBeenSet() const
Definition: LogsSummary.h:139
Aws::MQ::Model::LogsSummary::WithPending
LogsSummary & WithPending(const PendingLogs &value)
Definition: LogsSummary.h:206
MQ_EXPORTS.h
Aws::MQ::Model::LogsSummary::SetGeneralLogGroup
void SetGeneralLogGroup(const char *value)
Definition: LogsSummary.h:157
Aws::MQ::Model::LogsSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MQ::Model::LogsSummary::LogsSummary
LogsSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::MQ::Model::LogsSummary::WithGeneralLogGroup
LogsSummary & WithGeneralLogGroup(Aws::String &&value)
Definition: LogsSummary.h:169
Aws::MQ::Model::LogsSummary::WithAuditLogGroup
LogsSummary & WithAuditLogGroup(const Aws::String &value)
Definition: LogsSummary.h:95
Aws::MQ::Model::LogsSummary::SetPending
void SetPending(const PendingLogs &value)
Definition: LogsSummary.h:194
Aws::MQ::Model::LogsSummary::operator=
LogsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MQ::Model::LogsSummary::SetAudit
void SetAudit(bool value)
Definition: LogsSummary.h:58
Aws::MQ::Model::LogsSummary::GetAudit
bool GetAudit() const
Definition: LogsSummary.h:46
Aws::MQ::Model::LogsSummary::GetAuditLogGroup
const Aws::String & GetAuditLogGroup() const
Definition: LogsSummary.h:70
Aws::MQ::Model::LogsSummary::PendingHasBeenSet
bool PendingHasBeenSet() const
Definition: LogsSummary.h:188
Aws::MQ::Model::LogsSummary::SetGeneralLogGroup
void SetGeneralLogGroup(const Aws::String &value)
Definition: LogsSummary.h:145
Aws::MQ::Model::LogsSummary::WithGeneral
LogsSummary & WithGeneral(bool value)
Definition: LogsSummary.h:126
Aws::MQ::Model::LogsSummary::WithPending
LogsSummary & WithPending(PendingLogs &&value)
Definition: LogsSummary.h:212
Aws::MQ::Model::LogsSummary::WithAuditLogGroup
LogsSummary & WithAuditLogGroup(const char *value)
Definition: LogsSummary.h:105
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MQ::Model::LogsSummary::WithAuditLogGroup
LogsSummary & WithAuditLogGroup(Aws::String &&value)
Definition: LogsSummary.h:100
Aws::MQ::Model::PendingLogs
Definition: PendingLogs.h:31
Aws::MQ::Model::LogsSummary::GeneralHasBeenSet
bool GeneralHasBeenSet() const
Definition: LogsSummary.h:116
Aws::MQ::Model::LogsSummary::SetAuditLogGroup
void SetAuditLogGroup(const Aws::String &value)
Definition: LogsSummary.h:80
Aws::MQ::Model::LogsSummary::SetGeneral
void SetGeneral(bool value)
Definition: LogsSummary.h:121
Aws::MQ::Model::LogsSummary::WithGeneralLogGroup
LogsSummary & WithGeneralLogGroup(const Aws::String &value)
Definition: LogsSummary.h:163
PendingLogs.h
Aws::MQ::Model::LogsSummary::GetPending
const PendingLogs & GetPending() const
Definition: LogsSummary.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::MQ::Model::LogsSummary::SetPending
void SetPending(PendingLogs &&value)
Definition: LogsSummary.h:200
Aws::MQ::Model::LogsSummary::GetGeneral
bool GetGeneral() const
Definition: LogsSummary.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MQ::Model::LogsSummary
Definition: LogsSummary.h:34
Aws::MQ::Model::LogsSummary::AuditLogGroupHasBeenSet
bool AuditLogGroupHasBeenSet() const
Definition: LogsSummary.h:75
Aws::MQ::Model::LogsSummary::SetAuditLogGroup
void SetAuditLogGroup(Aws::String &&value)
Definition: LogsSummary.h:85
Aws::MQ::Model::LogsSummary::AuditHasBeenSet
bool AuditHasBeenSet() const
Definition: LogsSummary.h:52
Aws::MQ::Model::LogsSummary::WithAudit
LogsSummary & WithAudit(bool value)
Definition: LogsSummary.h:64
Aws::MQ::Model::LogsSummary::SetGeneralLogGroup
void SetGeneralLogGroup(Aws::String &&value)
Definition: LogsSummary.h:151
Aws::MQ::Model::LogsSummary::LogsSummary
LogsSummary()
Aws::MQ::Model::LogsSummary::SetAuditLogGroup
void SetAuditLogGroup(const char *value)
Definition: LogsSummary.h:90