AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AuditLogGroupT = Aws::String>
71 void SetAuditLogGroup(AuditLogGroupT&& value) { m_auditLogGroupHasBeenSet = true; m_auditLogGroup = std::forward<AuditLogGroupT>(value); }
72 template<typename AuditLogGroupT = Aws::String>
73 AwsAmazonMqBrokerLogsDetails& WithAuditLogGroup(AuditLogGroupT&& value) { SetAuditLogGroup(std::forward<AuditLogGroupT>(value)); return *this;}
75
77
81 inline const Aws::String& GetGeneralLogGroup() const { return m_generalLogGroup; }
82 inline bool GeneralLogGroupHasBeenSet() const { return m_generalLogGroupHasBeenSet; }
83 template<typename GeneralLogGroupT = Aws::String>
84 void SetGeneralLogGroup(GeneralLogGroupT&& value) { m_generalLogGroupHasBeenSet = true; m_generalLogGroup = std::forward<GeneralLogGroupT>(value); }
85 template<typename GeneralLogGroupT = Aws::String>
86 AwsAmazonMqBrokerLogsDetails& WithGeneralLogGroup(GeneralLogGroupT&& value) { SetGeneralLogGroup(std::forward<GeneralLogGroupT>(value)); return *this;}
88
90
94 inline const AwsAmazonMqBrokerLogsPendingDetails& GetPending() const { return m_pending; }
95 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
96 template<typename PendingT = AwsAmazonMqBrokerLogsPendingDetails>
97 void SetPending(PendingT&& value) { m_pendingHasBeenSet = true; m_pending = std::forward<PendingT>(value); }
98 template<typename PendingT = AwsAmazonMqBrokerLogsPendingDetails>
99 AwsAmazonMqBrokerLogsDetails& WithPending(PendingT&& value) { SetPending(std::forward<PendingT>(value)); return *this;}
101 private:
102
103 bool m_audit{false};
104 bool m_auditHasBeenSet = false;
105
106 bool m_general{false};
107 bool m_generalHasBeenSet = false;
108
109 Aws::String m_auditLogGroup;
110 bool m_auditLogGroupHasBeenSet = false;
111
112 Aws::String m_generalLogGroup;
113 bool m_generalLogGroupHasBeenSet = false;
114
115 AwsAmazonMqBrokerLogsPendingDetails m_pending;
116 bool m_pendingHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SecurityHub
121} // namespace Aws
AwsAmazonMqBrokerLogsDetails & WithGeneralLogGroup(GeneralLogGroupT &&value)
AwsAmazonMqBrokerLogsDetails & WithPending(PendingT &&value)
AWS_SECURITYHUB_API AwsAmazonMqBrokerLogsDetails()=default
AWS_SECURITYHUB_API AwsAmazonMqBrokerLogsDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsAmazonMqBrokerLogsDetails(Aws::Utils::Json::JsonView jsonValue)
const AwsAmazonMqBrokerLogsPendingDetails & GetPending() const
AwsAmazonMqBrokerLogsDetails & WithAuditLogGroup(AuditLogGroupT &&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