AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_SECURITYHUB_API AwsElasticsearchDomainLogPublishingOptions() = default;
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 template<typename IndexSlowLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
48 void SetIndexSlowLogs(IndexSlowLogsT&& value) { m_indexSlowLogsHasBeenSet = true; m_indexSlowLogs = std::forward<IndexSlowLogsT>(value); }
49 template<typename IndexSlowLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
50 AwsElasticsearchDomainLogPublishingOptions& WithIndexSlowLogs(IndexSlowLogsT&& value) { SetIndexSlowLogs(std::forward<IndexSlowLogsT>(value)); return *this;}
52
54
57 inline const AwsElasticsearchDomainLogPublishingOptionsLogConfig& GetSearchSlowLogs() const { return m_searchSlowLogs; }
58 inline bool SearchSlowLogsHasBeenSet() const { return m_searchSlowLogsHasBeenSet; }
59 template<typename SearchSlowLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
60 void SetSearchSlowLogs(SearchSlowLogsT&& value) { m_searchSlowLogsHasBeenSet = true; m_searchSlowLogs = std::forward<SearchSlowLogsT>(value); }
61 template<typename SearchSlowLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
62 AwsElasticsearchDomainLogPublishingOptions& WithSearchSlowLogs(SearchSlowLogsT&& value) { SetSearchSlowLogs(std::forward<SearchSlowLogsT>(value)); return *this;}
64
66
67 inline const AwsElasticsearchDomainLogPublishingOptionsLogConfig& GetAuditLogs() const { return m_auditLogs; }
68 inline bool AuditLogsHasBeenSet() const { return m_auditLogsHasBeenSet; }
69 template<typename AuditLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
70 void SetAuditLogs(AuditLogsT&& value) { m_auditLogsHasBeenSet = true; m_auditLogs = std::forward<AuditLogsT>(value); }
71 template<typename AuditLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
72 AwsElasticsearchDomainLogPublishingOptions& WithAuditLogs(AuditLogsT&& value) { SetAuditLogs(std::forward<AuditLogsT>(value)); return *this;}
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
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetAuditLogs() const
AwsElasticsearchDomainLogPublishingOptions & WithAuditLogs(AuditLogsT &&value)
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetSearchSlowLogs() const
AwsElasticsearchDomainLogPublishingOptions & WithSearchSlowLogs(SearchSlowLogsT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElasticsearchDomainLogPublishingOptions & WithIndexSlowLogs(IndexSlowLogsT &&value)
AWS_SECURITYHUB_API AwsElasticsearchDomainLogPublishingOptions(Aws::Utils::Json::JsonView jsonValue)
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetIndexSlowLogs() const
AWS_SECURITYHUB_API AwsElasticsearchDomainLogPublishingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue