AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsAmazonMqBrokerLogsDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsAmazonMqBrokerLogsPendingDetails.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsAmazonMqBrokerLogsDetails();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
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 AwsAmazonMqBrokerLogsDetails& WithAudit(bool value) { SetAudit(value); return *this;}
52
54
57 inline bool GetGeneral() const{ return m_general; }
58 inline bool GeneralHasBeenSet() const { return m_generalHasBeenSet; }
59 inline void SetGeneral(bool value) { m_generalHasBeenSet = true; m_general = value; }
60 inline AwsAmazonMqBrokerLogsDetails& WithGeneral(bool value) { SetGeneral(value); return *this;}
62
64
68 inline const Aws::String& GetAuditLogGroup() const{ return m_auditLogGroup; }
69 inline bool AuditLogGroupHasBeenSet() const { return m_auditLogGroupHasBeenSet; }
70 inline void SetAuditLogGroup(const Aws::String& value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup = value; }
71 inline void SetAuditLogGroup(Aws::String&& value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup = std::move(value); }
72 inline void SetAuditLogGroup(const char* value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup.assign(value); }
73 inline AwsAmazonMqBrokerLogsDetails& WithAuditLogGroup(const Aws::String& value) { SetAuditLogGroup(value); return *this;}
74 inline AwsAmazonMqBrokerLogsDetails& WithAuditLogGroup(Aws::String&& value) { SetAuditLogGroup(std::move(value)); return *this;}
75 inline AwsAmazonMqBrokerLogsDetails& WithAuditLogGroup(const char* value) { SetAuditLogGroup(value); return *this;}
77
79
83 inline const Aws::String& GetGeneralLogGroup() const{ return m_generalLogGroup; }
84 inline bool GeneralLogGroupHasBeenSet() const { return m_generalLogGroupHasBeenSet; }
85 inline void SetGeneralLogGroup(const Aws::String& value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup = value; }
86 inline void SetGeneralLogGroup(Aws::String&& value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup = std::move(value); }
87 inline void SetGeneralLogGroup(const char* value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup.assign(value); }
89 inline AwsAmazonMqBrokerLogsDetails& WithGeneralLogGroup(Aws::String&& value) { SetGeneralLogGroup(std::move(value)); return *this;}
90 inline AwsAmazonMqBrokerLogsDetails& WithGeneralLogGroup(const char* value) { SetGeneralLogGroup(value); return *this;}
92
94
98 inline const AwsAmazonMqBrokerLogsPendingDetails& GetPending() const{ return m_pending; }
99 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
100 inline void SetPending(const AwsAmazonMqBrokerLogsPendingDetails& value) { m_pendingHasBeenSet = true; m_pending = value; }
101 inline void SetPending(AwsAmazonMqBrokerLogsPendingDetails&& value) { m_pendingHasBeenSet = true; m_pending = std::move(value); }
105 private:
106
107 bool m_audit;
108 bool m_auditHasBeenSet = false;
109
110 bool m_general;
111 bool m_generalHasBeenSet = false;
112
113 Aws::String m_auditLogGroup;
114 bool m_auditLogGroupHasBeenSet = false;
115
116 Aws::String m_generalLogGroup;
117 bool m_generalLogGroupHasBeenSet = false;
118
120 bool m_pendingHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace SecurityHub
125} // namespace Aws
AwsAmazonMqBrokerLogsDetails & WithAuditLogGroup(const char *value)
AwsAmazonMqBrokerLogsDetails & WithGeneralLogGroup(const char *value)
AwsAmazonMqBrokerLogsDetails & WithGeneralLogGroup(Aws::String &&value)
void SetPending(AwsAmazonMqBrokerLogsPendingDetails &&value)
AwsAmazonMqBrokerLogsDetails & WithPending(AwsAmazonMqBrokerLogsPendingDetails &&value)
AwsAmazonMqBrokerLogsDetails & WithGeneralLogGroup(const Aws::String &value)
AWS_SECURITYHUB_API AwsAmazonMqBrokerLogsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPending(const AwsAmazonMqBrokerLogsPendingDetails &value)
AWS_SECURITYHUB_API AwsAmazonMqBrokerLogsDetails(Aws::Utils::Json::JsonView jsonValue)
AwsAmazonMqBrokerLogsDetails & WithAuditLogGroup(const Aws::String &value)
const AwsAmazonMqBrokerLogsPendingDetails & GetPending() const
AwsAmazonMqBrokerLogsDetails & WithAuditLogGroup(Aws::String &&value)
AwsAmazonMqBrokerLogsDetails & WithPending(const AwsAmazonMqBrokerLogsPendingDetails &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue