/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the status of logging for a cluster.See Also:
AWS
* API Reference
true
if logging is on, false
if logging is
* off.
true
if logging is on, false
if logging is
* off.
true
if logging is on, false
if logging is
* off.
The name of the S3 bucket where the log files are stored.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *The name of the S3 bucket where the log files are stored.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketName = value; } /** *The name of the S3 bucket where the log files are stored.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketName = std::move(value); } /** *The name of the S3 bucket where the log files are stored.
*/ inline void SetBucketName(const char* value) { m_bucketName.assign(value); } /** *The name of the S3 bucket where the log files are stored.
*/ inline DescribeLoggingStatusResult& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *The name of the S3 bucket where the log files are stored.
*/ inline DescribeLoggingStatusResult& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *The name of the S3 bucket where the log files are stored.
*/ inline DescribeLoggingStatusResult& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *The prefix applied to the log file names.
*/ inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; } /** *The prefix applied to the log file names.
*/ inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefix = value; } /** *The prefix applied to the log file names.
*/ inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefix = std::move(value); } /** *The prefix applied to the log file names.
*/ inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefix.assign(value); } /** *The prefix applied to the log file names.
*/ inline DescribeLoggingStatusResult& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;} /** *The prefix applied to the log file names.
*/ inline DescribeLoggingStatusResult& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;} /** *The prefix applied to the log file names.
*/ inline DescribeLoggingStatusResult& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;} /** *The last time that logs were delivered.
*/ inline const Aws::Utils::DateTime& GetLastSuccessfulDeliveryTime() const{ return m_lastSuccessfulDeliveryTime; } /** *The last time that logs were delivered.
*/ inline void SetLastSuccessfulDeliveryTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulDeliveryTime = value; } /** *The last time that logs were delivered.
*/ inline void SetLastSuccessfulDeliveryTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulDeliveryTime = std::move(value); } /** *The last time that logs were delivered.
*/ inline DescribeLoggingStatusResult& WithLastSuccessfulDeliveryTime(const Aws::Utils::DateTime& value) { SetLastSuccessfulDeliveryTime(value); return *this;} /** *The last time that logs were delivered.
*/ inline DescribeLoggingStatusResult& WithLastSuccessfulDeliveryTime(Aws::Utils::DateTime&& value) { SetLastSuccessfulDeliveryTime(std::move(value)); return *this;} /** *The last time when logs failed to be delivered.
*/ inline const Aws::Utils::DateTime& GetLastFailureTime() const{ return m_lastFailureTime; } /** *The last time when logs failed to be delivered.
*/ inline void SetLastFailureTime(const Aws::Utils::DateTime& value) { m_lastFailureTime = value; } /** *The last time when logs failed to be delivered.
*/ inline void SetLastFailureTime(Aws::Utils::DateTime&& value) { m_lastFailureTime = std::move(value); } /** *The last time when logs failed to be delivered.
*/ inline DescribeLoggingStatusResult& WithLastFailureTime(const Aws::Utils::DateTime& value) { SetLastFailureTime(value); return *this;} /** *The last time when logs failed to be delivered.
*/ inline DescribeLoggingStatusResult& WithLastFailureTime(Aws::Utils::DateTime&& value) { SetLastFailureTime(std::move(value)); return *this;} /** *The message indicating that logs failed to be delivered.
*/ inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; } /** *The message indicating that logs failed to be delivered.
*/ inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessage = value; } /** *The message indicating that logs failed to be delivered.
*/ inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessage = std::move(value); } /** *The message indicating that logs failed to be delivered.
*/ inline void SetLastFailureMessage(const char* value) { m_lastFailureMessage.assign(value); } /** *The message indicating that logs failed to be delivered.
*/ inline DescribeLoggingStatusResult& WithLastFailureMessage(const Aws::String& value) { SetLastFailureMessage(value); return *this;} /** *The message indicating that logs failed to be delivered.
*/ inline DescribeLoggingStatusResult& WithLastFailureMessage(Aws::String&& value) { SetLastFailureMessage(std::move(value)); return *this;} /** *The message indicating that logs failed to be delivered.
*/ inline DescribeLoggingStatusResult& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;} /** *The log destination type. An enum with possible values of s3
and
* cloudwatch
.
The log destination type. An enum with possible values of s3
and
* cloudwatch
.
The log destination type. An enum with possible values of s3
and
* cloudwatch
.
The log destination type. An enum with possible values of s3
and
* cloudwatch
.
The log destination type. An enum with possible values of s3
and
* cloudwatch
.
The collection of exported log types. Possible values are
* connectionlog
, useractivitylog
, and
* userlog
.
The collection of exported log types. Possible values are
* connectionlog
, useractivitylog
, and
* userlog
.
The collection of exported log types. Possible values are
* connectionlog
, useractivitylog
, and
* userlog
.
The collection of exported log types. Possible values are
* connectionlog
, useractivitylog
, and
* userlog
.
The collection of exported log types. Possible values are
* connectionlog
, useractivitylog
, and
* userlog
.
The collection of exported log types. Possible values are
* connectionlog
, useractivitylog
, and
* userlog
.
The collection of exported log types. Possible values are
* connectionlog
, useractivitylog
, and
* userlog
.
The collection of exported log types. Possible values are
* connectionlog
, useractivitylog
, and
* userlog
.