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

A list of the log types whose configuration is still pending. In other words, * these log types are in the process of being activated or * deactivated.

See Also:

AWS * API Reference

*/ class PendingCloudwatchLogsExports { public: AWS_NEPTUNE_API PendingCloudwatchLogsExports(); AWS_NEPTUNE_API PendingCloudwatchLogsExports(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API PendingCloudwatchLogsExports& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being deactivated. After they are * deactivated, these log types aren't exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

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

Log types that are in the process of being enabled. After they are enabled, * these log types are exported to CloudWatch Logs.

*/ inline PendingCloudwatchLogsExports& 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 Neptune } // namespace Aws