AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsElasticsearchDomainLogPublishingOptions.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsElasticsearchDomainLogPublishingOptionsLogConfig.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AwsElasticsearchDomainLogPublishingOptionsLogConfig& GetIndexSlowLogs() const{ return m_indexSlowLogs; }
46 inline bool IndexSlowLogsHasBeenSet() const { return m_indexSlowLogsHasBeenSet; }
47 inline void SetIndexSlowLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig& value) { m_indexSlowLogsHasBeenSet = true; m_indexSlowLogs = value; }
48 inline void SetIndexSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig&& value) { m_indexSlowLogsHasBeenSet = true; m_indexSlowLogs = std::move(value); }
52
54
57 inline const AwsElasticsearchDomainLogPublishingOptionsLogConfig& GetSearchSlowLogs() const{ return m_searchSlowLogs; }
58 inline bool SearchSlowLogsHasBeenSet() const { return m_searchSlowLogsHasBeenSet; }
59 inline void SetSearchSlowLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig& value) { m_searchSlowLogsHasBeenSet = true; m_searchSlowLogs = value; }
60 inline void SetSearchSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig&& value) { m_searchSlowLogsHasBeenSet = true; m_searchSlowLogs = std::move(value); }
64
66
67 inline const AwsElasticsearchDomainLogPublishingOptionsLogConfig& GetAuditLogs() const{ return m_auditLogs; }
68 inline bool AuditLogsHasBeenSet() const { return m_auditLogsHasBeenSet; }
69 inline void SetAuditLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig& value) { m_auditLogsHasBeenSet = true; m_auditLogs = value; }
70 inline void SetAuditLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig&& value) { m_auditLogsHasBeenSet = true; m_auditLogs = std::move(value); }
74 private:
75
77 bool m_indexSlowLogsHasBeenSet = false;
78
80 bool m_searchSlowLogsHasBeenSet = false;
81
83 bool m_auditLogsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SecurityHub
88} // namespace Aws
AwsElasticsearchDomainLogPublishingOptions & WithAuditLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig &&value)
void SetAuditLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig &&value)
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetAuditLogs() const
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetSearchSlowLogs() const
void SetSearchSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig &&value)
void SetIndexSlowLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIndexSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig &&value)
AwsElasticsearchDomainLogPublishingOptions & WithSearchSlowLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig &value)
AwsElasticsearchDomainLogPublishingOptions & WithSearchSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig &&value)
AWS_SECURITYHUB_API AwsElasticsearchDomainLogPublishingOptions(Aws::Utils::Json::JsonView jsonValue)
AwsElasticsearchDomainLogPublishingOptions & WithAuditLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig &value)
void SetAuditLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig &value)
AwsElasticsearchDomainLogPublishingOptions & WithIndexSlowLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig &value)
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetIndexSlowLogs() const
AwsElasticsearchDomainLogPublishingOptions & WithIndexSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig &&value)
void SetSearchSlowLogs(const AwsElasticsearchDomainLogPublishingOptionsLogConfig &value)
AWS_SECURITYHUB_API AwsElasticsearchDomainLogPublishingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue