AWS SDK for C++

AWS SDK for C++ Version 1.11.617

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::RDS::Model::CloudwatchLogsExportConfiguration Class Reference

#include <CloudwatchLogsExportConfiguration.h>

Public Member Functions

AWS_RDS_API CloudwatchLogsExportConfiguration ()=default
 
 
 
AWS_RDS_API void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
AWS_RDS_API void OutputToStream (Aws::OStream &oStream, const char *location) const
 
 
 
template<typename EnableLogTypesT = Aws::Vector<Aws::String>>
void SetEnableLogTypes (EnableLogTypesT &&value)
 
template<typename EnableLogTypesT = Aws::Vector<Aws::String>>
 
template<typename EnableLogTypesT = Aws::String>
 
 
 
template<typename DisableLogTypesT = Aws::Vector<Aws::String>>
void SetDisableLogTypes (DisableLogTypesT &&value)
 
template<typename DisableLogTypesT = Aws::Vector<Aws::String>>
 
template<typename DisableLogTypesT = Aws::String>
 

Detailed Description

The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB instance or DB cluster.

The EnableLogTypes and DisableLogTypes arrays determine which logs will be exported (or not exported) to CloudWatch Logs. The values within these arrays depend on the DB engine being used.

For more information about exporting CloudWatch Logs for Amazon RDS DB instances, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

For more information about exporting CloudWatch Logs for Amazon Aurora DB clusters, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

See Also:

AWS API Reference

Definition at line 44 of file CloudwatchLogsExportConfiguration.h.

Constructor & Destructor Documentation

◆ CloudwatchLogsExportConfiguration() [1/2]

AWS_RDS_API Aws::RDS::Model::CloudwatchLogsExportConfiguration::CloudwatchLogsExportConfiguration ( )
default

◆ CloudwatchLogsExportConfiguration() [2/2]

AWS_RDS_API Aws::RDS::Model::CloudwatchLogsExportConfiguration::CloudwatchLogsExportConfiguration ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddDisableLogTypes()

template<typename DisableLogTypesT = Aws::String>
CloudwatchLogsExportConfiguration & Aws::RDS::Model::CloudwatchLogsExportConfiguration::AddDisableLogTypes ( DisableLogTypesT &&  value)
inline

The list of log types to disable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 90 of file CloudwatchLogsExportConfiguration.h.

◆ AddEnableLogTypes()

template<typename EnableLogTypesT = Aws::String>
CloudwatchLogsExportConfiguration & Aws::RDS::Model::CloudwatchLogsExportConfiguration::AddEnableLogTypes ( EnableLogTypesT &&  value)
inline

The list of log types to enable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 71 of file CloudwatchLogsExportConfiguration.h.

◆ DisableLogTypesHasBeenSet()

bool Aws::RDS::Model::CloudwatchLogsExportConfiguration::DisableLogTypesHasBeenSet ( ) const
inline

The list of log types to disable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 84 of file CloudwatchLogsExportConfiguration.h.

◆ EnableLogTypesHasBeenSet()

bool Aws::RDS::Model::CloudwatchLogsExportConfiguration::EnableLogTypesHasBeenSet ( ) const
inline

The list of log types to enable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 65 of file CloudwatchLogsExportConfiguration.h.

◆ GetDisableLogTypes()

const Aws::Vector< Aws::String > & Aws::RDS::Model::CloudwatchLogsExportConfiguration::GetDisableLogTypes ( ) const
inline

The list of log types to disable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 83 of file CloudwatchLogsExportConfiguration.h.

◆ GetEnableLogTypes()

const Aws::Vector< Aws::String > & Aws::RDS::Model::CloudwatchLogsExportConfiguration::GetEnableLogTypes ( ) const
inline

The list of log types to enable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 64 of file CloudwatchLogsExportConfiguration.h.

◆ operator=()

AWS_RDS_API CloudwatchLogsExportConfiguration & Aws::RDS::Model::CloudwatchLogsExportConfiguration::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

AWS_RDS_API void Aws::RDS::Model::CloudwatchLogsExportConfiguration::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

AWS_RDS_API void Aws::RDS::Model::CloudwatchLogsExportConfiguration::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetDisableLogTypes()

template<typename DisableLogTypesT = Aws::Vector<Aws::String>>
void Aws::RDS::Model::CloudwatchLogsExportConfiguration::SetDisableLogTypes ( DisableLogTypesT &&  value)
inline

The list of log types to disable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 86 of file CloudwatchLogsExportConfiguration.h.

◆ SetEnableLogTypes()

template<typename EnableLogTypesT = Aws::Vector<Aws::String>>
void Aws::RDS::Model::CloudwatchLogsExportConfiguration::SetEnableLogTypes ( EnableLogTypesT &&  value)
inline

The list of log types to enable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 67 of file CloudwatchLogsExportConfiguration.h.

◆ WithDisableLogTypes()

template<typename DisableLogTypesT = Aws::Vector<Aws::String>>
CloudwatchLogsExportConfiguration & Aws::RDS::Model::CloudwatchLogsExportConfiguration::WithDisableLogTypes ( DisableLogTypesT &&  value)
inline

The list of log types to disable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 88 of file CloudwatchLogsExportConfiguration.h.

◆ WithEnableLogTypes()

template<typename EnableLogTypesT = Aws::Vector<Aws::String>>
CloudwatchLogsExportConfiguration & Aws::RDS::Model::CloudwatchLogsExportConfiguration::WithEnableLogTypes ( EnableLogTypesT &&  value)
inline

The list of log types to enable.

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | slowquery

  • Aurora PostgreSQL - postgresql

  • RDS for MySQL - error | general | slowquery

  • RDS for PostgreSQL - postgresql | upgrade

Definition at line 69 of file CloudwatchLogsExportConfiguration.h.


The documentation for this class was generated from the following file: