/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the destination, format and type of the logs. See
* Also:
AWS
* API Reference
Refers to slow-log or * engine-log..
*/ inline const LogType& GetLogType() const{ return m_logType; } /** *Refers to slow-log or * engine-log..
*/ inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; } /** *Refers to slow-log or * engine-log..
*/ inline void SetLogType(const LogType& value) { m_logTypeHasBeenSet = true; m_logType = value; } /** *Refers to slow-log or * engine-log..
*/ inline void SetLogType(LogType&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); } /** *Refers to slow-log or * engine-log..
*/ inline LogDeliveryConfigurationRequest& WithLogType(const LogType& value) { SetLogType(value); return *this;} /** *Refers to slow-log or * engine-log..
*/ inline LogDeliveryConfigurationRequest& WithLogType(LogType&& value) { SetLogType(std::move(value)); return *this;} /** *Specify either cloudwatch-logs or kinesis-firehose
* as the destination type.
Specify either cloudwatch-logs or kinesis-firehose
* as the destination type.
Specify either cloudwatch-logs or kinesis-firehose
* as the destination type.
Specify either cloudwatch-logs or kinesis-firehose
* as the destination type.
Specify either cloudwatch-logs or kinesis-firehose
* as the destination type.
Specify either cloudwatch-logs or kinesis-firehose
* as the destination type.
Configuration details of either a CloudWatch Logs destination or Kinesis Data * Firehose destination.
*/ inline const DestinationDetails& GetDestinationDetails() const{ return m_destinationDetails; } /** *Configuration details of either a CloudWatch Logs destination or Kinesis Data * Firehose destination.
*/ inline bool DestinationDetailsHasBeenSet() const { return m_destinationDetailsHasBeenSet; } /** *Configuration details of either a CloudWatch Logs destination or Kinesis Data * Firehose destination.
*/ inline void SetDestinationDetails(const DestinationDetails& value) { m_destinationDetailsHasBeenSet = true; m_destinationDetails = value; } /** *Configuration details of either a CloudWatch Logs destination or Kinesis Data * Firehose destination.
*/ inline void SetDestinationDetails(DestinationDetails&& value) { m_destinationDetailsHasBeenSet = true; m_destinationDetails = std::move(value); } /** *Configuration details of either a CloudWatch Logs destination or Kinesis Data * Firehose destination.
*/ inline LogDeliveryConfigurationRequest& WithDestinationDetails(const DestinationDetails& value) { SetDestinationDetails(value); return *this;} /** *Configuration details of either a CloudWatch Logs destination or Kinesis Data * Firehose destination.
*/ inline LogDeliveryConfigurationRequest& WithDestinationDetails(DestinationDetails&& value) { SetDestinationDetails(std::move(value)); return *this;} /** *Specifies either JSON or TEXT
*/ inline const LogFormat& GetLogFormat() const{ return m_logFormat; } /** *Specifies either JSON or TEXT
*/ inline bool LogFormatHasBeenSet() const { return m_logFormatHasBeenSet; } /** *Specifies either JSON or TEXT
*/ inline void SetLogFormat(const LogFormat& value) { m_logFormatHasBeenSet = true; m_logFormat = value; } /** *Specifies either JSON or TEXT
*/ inline void SetLogFormat(LogFormat&& value) { m_logFormatHasBeenSet = true; m_logFormat = std::move(value); } /** *Specifies either JSON or TEXT
*/ inline LogDeliveryConfigurationRequest& WithLogFormat(const LogFormat& value) { SetLogFormat(value); return *this;} /** *Specifies either JSON or TEXT
*/ inline LogDeliveryConfigurationRequest& WithLogFormat(LogFormat&& value) { SetLogFormat(std::move(value)); return *this;} /** *Specify if log delivery is enabled. Default true.
Specify if log delivery is enabled. Default true.
Specify if log delivery is enabled. Default true.
Specify if log delivery is enabled. Default true.