7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsElasticsearchDomainLogPublishingOptionsLogConfig.h>
47 template<
typename IndexSlowLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
48 void SetIndexSlowLogs(IndexSlowLogsT&& value) { m_indexSlowLogsHasBeenSet =
true; m_indexSlowLogs = std::forward<IndexSlowLogsT>(value); }
49 template<
typename IndexSlowLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
59 template<
typename SearchSlowLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
60 void SetSearchSlowLogs(SearchSlowLogsT&& value) { m_searchSlowLogsHasBeenSet =
true; m_searchSlowLogs = std::forward<SearchSlowLogsT>(value); }
61 template<
typename SearchSlowLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
69 template<
typename AuditLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
70 void SetAuditLogs(AuditLogsT&& value) { m_auditLogsHasBeenSet =
true; m_auditLogs = std::forward<AuditLogsT>(value); }
71 template<
typename AuditLogsT = AwsElasticsearchDomainLogPublishingOptionsLogConfig>
77 bool m_indexSlowLogsHasBeenSet =
false;
80 bool m_searchSlowLogsHasBeenSet =
false;
83 bool m_auditLogsHasBeenSet =
false;
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetAuditLogs() const
AwsElasticsearchDomainLogPublishingOptions & WithAuditLogs(AuditLogsT &&value)
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetSearchSlowLogs() const
AwsElasticsearchDomainLogPublishingOptions & WithSearchSlowLogs(SearchSlowLogsT &&value)
bool AuditLogsHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuditLogs(AuditLogsT &&value)
bool IndexSlowLogsHasBeenSet() const
AWS_SECURITYHUB_API AwsElasticsearchDomainLogPublishingOptions()=default
void SetIndexSlowLogs(IndexSlowLogsT &&value)
AwsElasticsearchDomainLogPublishingOptions & WithIndexSlowLogs(IndexSlowLogsT &&value)
AWS_SECURITYHUB_API AwsElasticsearchDomainLogPublishingOptions(Aws::Utils::Json::JsonView jsonValue)
const AwsElasticsearchDomainLogPublishingOptionsLogConfig & GetIndexSlowLogs() const
bool SearchSlowLogsHasBeenSet() const
AWS_SECURITYHUB_API AwsElasticsearchDomainLogPublishingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSearchSlowLogs(SearchSlowLogsT &&value)
Aws::Utils::Json::JsonValue JsonValue