/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Identifies the log types to enable and disable.

See Also:

AWS * API Reference

*/ class AwsRdsPendingCloudWatchLogsExports { public: AWS_SECURITYHUB_API AwsRdsPendingCloudWatchLogsExports(); AWS_SECURITYHUB_API AwsRdsPendingCloudWatchLogsExports(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsRdsPendingCloudWatchLogsExports& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of log types that are being enabled.

*/ inline const Aws::Vector& GetLogTypesToEnable() const{ return m_logTypesToEnable; } /** *

A list of log types that are being enabled.

*/ inline bool LogTypesToEnableHasBeenSet() const { return m_logTypesToEnableHasBeenSet; } /** *

A list of log types that are being enabled.

*/ inline void SetLogTypesToEnable(const Aws::Vector& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = value; } /** *

A list of log types that are being enabled.

*/ inline void SetLogTypesToEnable(Aws::Vector&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = std::move(value); } /** *

A list of log types that are being enabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& WithLogTypesToEnable(const Aws::Vector& value) { SetLogTypesToEnable(value); return *this;} /** *

A list of log types that are being enabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& WithLogTypesToEnable(Aws::Vector&& value) { SetLogTypesToEnable(std::move(value)); return *this;} /** *

A list of log types that are being enabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& AddLogTypesToEnable(const Aws::String& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(value); return *this; } /** *

A list of log types that are being enabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& AddLogTypesToEnable(Aws::String&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(std::move(value)); return *this; } /** *

A list of log types that are being enabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& AddLogTypesToEnable(const char* value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(value); return *this; } /** *

A list of log types that are being disabled.

*/ inline const Aws::Vector& GetLogTypesToDisable() const{ return m_logTypesToDisable; } /** *

A list of log types that are being disabled.

*/ inline bool LogTypesToDisableHasBeenSet() const { return m_logTypesToDisableHasBeenSet; } /** *

A list of log types that are being disabled.

*/ inline void SetLogTypesToDisable(const Aws::Vector& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = value; } /** *

A list of log types that are being disabled.

*/ inline void SetLogTypesToDisable(Aws::Vector&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = std::move(value); } /** *

A list of log types that are being disabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& WithLogTypesToDisable(const Aws::Vector& value) { SetLogTypesToDisable(value); return *this;} /** *

A list of log types that are being disabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& WithLogTypesToDisable(Aws::Vector&& value) { SetLogTypesToDisable(std::move(value)); return *this;} /** *

A list of log types that are being disabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& AddLogTypesToDisable(const Aws::String& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(value); return *this; } /** *

A list of log types that are being disabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& AddLogTypesToDisable(Aws::String&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(std::move(value)); return *this; } /** *

A list of log types that are being disabled.

*/ inline AwsRdsPendingCloudWatchLogsExports& AddLogTypesToDisable(const char* value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(value); return *this; } private: Aws::Vector m_logTypesToEnable; bool m_logTypesToEnableHasBeenSet = false; Aws::Vector m_logTypesToDisable; bool m_logTypesToDisableHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws