/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace RDS { namespace Model { /** *

See Also:

AWS * API Reference

*/ class DescribeDBLogFilesRequest : public RDSRequest { public: AWS_RDS_API DescribeDBLogFilesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeDBLogFiles"; } AWS_RDS_API Aws::String SerializePayload() const override; protected: AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The customer-assigned name of the DB instance that contains the log files you * want to list.

Constraints:

  • Must match the identifier of * an existing DBInstance.

*/ inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; } /** *

The customer-assigned name of the DB instance that contains the log files you * want to list.

Constraints:

  • Must match the identifier of * an existing DBInstance.

*/ inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; } /** *

The customer-assigned name of the DB instance that contains the log files you * want to list.

Constraints:

  • Must match the identifier of * an existing DBInstance.

*/ inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; } /** *

The customer-assigned name of the DB instance that contains the log files you * want to list.

Constraints:

  • Must match the identifier of * an existing DBInstance.

*/ inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); } /** *

The customer-assigned name of the DB instance that contains the log files you * want to list.

Constraints:

  • Must match the identifier of * an existing DBInstance.

*/ inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); } /** *

The customer-assigned name of the DB instance that contains the log files you * want to list.

Constraints:

  • Must match the identifier of * an existing DBInstance.

*/ inline DescribeDBLogFilesRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;} /** *

The customer-assigned name of the DB instance that contains the log files you * want to list.

Constraints:

  • Must match the identifier of * an existing DBInstance.

*/ inline DescribeDBLogFilesRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;} /** *

The customer-assigned name of the DB instance that contains the log files you * want to list.

Constraints:

  • Must match the identifier of * an existing DBInstance.

*/ inline DescribeDBLogFilesRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;} /** *

Filters the available log files for log file names that contain the specified * string.

*/ inline const Aws::String& GetFilenameContains() const{ return m_filenameContains; } /** *

Filters the available log files for log file names that contain the specified * string.

*/ inline bool FilenameContainsHasBeenSet() const { return m_filenameContainsHasBeenSet; } /** *

Filters the available log files for log file names that contain the specified * string.

*/ inline void SetFilenameContains(const Aws::String& value) { m_filenameContainsHasBeenSet = true; m_filenameContains = value; } /** *

Filters the available log files for log file names that contain the specified * string.

*/ inline void SetFilenameContains(Aws::String&& value) { m_filenameContainsHasBeenSet = true; m_filenameContains = std::move(value); } /** *

Filters the available log files for log file names that contain the specified * string.

*/ inline void SetFilenameContains(const char* value) { m_filenameContainsHasBeenSet = true; m_filenameContains.assign(value); } /** *

Filters the available log files for log file names that contain the specified * string.

*/ inline DescribeDBLogFilesRequest& WithFilenameContains(const Aws::String& value) { SetFilenameContains(value); return *this;} /** *

Filters the available log files for log file names that contain the specified * string.

*/ inline DescribeDBLogFilesRequest& WithFilenameContains(Aws::String&& value) { SetFilenameContains(std::move(value)); return *this;} /** *

Filters the available log files for log file names that contain the specified * string.

*/ inline DescribeDBLogFilesRequest& WithFilenameContains(const char* value) { SetFilenameContains(value); return *this;} /** *

Filters the available log files for files written since the specified date, * in POSIX timestamp format with milliseconds.

*/ inline long long GetFileLastWritten() const{ return m_fileLastWritten; } /** *

Filters the available log files for files written since the specified date, * in POSIX timestamp format with milliseconds.

*/ inline bool FileLastWrittenHasBeenSet() const { return m_fileLastWrittenHasBeenSet; } /** *

Filters the available log files for files written since the specified date, * in POSIX timestamp format with milliseconds.

*/ inline void SetFileLastWritten(long long value) { m_fileLastWrittenHasBeenSet = true; m_fileLastWritten = value; } /** *

Filters the available log files for files written since the specified date, * in POSIX timestamp format with milliseconds.

*/ inline DescribeDBLogFilesRequest& WithFileLastWritten(long long value) { SetFileLastWritten(value); return *this;} /** *

Filters the available log files for files larger than the specified size.

*/ inline long long GetFileSize() const{ return m_fileSize; } /** *

Filters the available log files for files larger than the specified size.

*/ inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; } /** *

Filters the available log files for files larger than the specified size.

*/ inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; } /** *

Filters the available log files for files larger than the specified size.

*/ inline DescribeDBLogFilesRequest& WithFileSize(long long value) { SetFileSize(value); return *this;} /** *

This parameter isn't currently supported.

*/ inline const Aws::Vector& GetFilters() const{ return m_filters; } /** *

This parameter isn't currently supported.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

This parameter isn't currently supported.

*/ inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

This parameter isn't currently supported.

*/ inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

This parameter isn't currently supported.

*/ inline DescribeDBLogFilesRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} /** *

This parameter isn't currently supported.

*/ inline DescribeDBLogFilesRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} /** *

This parameter isn't currently supported.

*/ inline DescribeDBLogFilesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } /** *

This parameter isn't currently supported.

*/ inline DescribeDBLogFilesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token called a marker is * included in the response so you can retrieve the remaining results.

*/ inline int GetMaxRecords() const{ return m_maxRecords; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token called a marker is * included in the response so you can retrieve the remaining results.

*/ inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token called a marker is * included in the response so you can retrieve the remaining results.

*/ inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; } /** *

The maximum number of records to include in the response. If more records * exist than the specified MaxRecords value, a pagination token called a marker is * included in the response so you can retrieve the remaining results.

*/ inline DescribeDBLogFilesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;} /** *

The pagination token provided in the previous request. If this parameter is * specified the response includes only records beyond the marker, up to * MaxRecords.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The pagination token provided in the previous request. If this parameter is * specified the response includes only records beyond the marker, up to * MaxRecords.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

The pagination token provided in the previous request. If this parameter is * specified the response includes only records beyond the marker, up to * MaxRecords.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

The pagination token provided in the previous request. If this parameter is * specified the response includes only records beyond the marker, up to * MaxRecords.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

The pagination token provided in the previous request. If this parameter is * specified the response includes only records beyond the marker, up to * MaxRecords.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

The pagination token provided in the previous request. If this parameter is * specified the response includes only records beyond the marker, up to * MaxRecords.

*/ inline DescribeDBLogFilesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The pagination token provided in the previous request. If this parameter is * specified the response includes only records beyond the marker, up to * MaxRecords.

*/ inline DescribeDBLogFilesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The pagination token provided in the previous request. If this parameter is * specified the response includes only records beyond the marker, up to * MaxRecords.

*/ inline DescribeDBLogFilesRequest& WithMarker(const char* value) { SetMarker(value); return *this;} private: Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet = false; Aws::String m_filenameContains; bool m_filenameContainsHasBeenSet = false; long long m_fileLastWritten; bool m_fileLastWrittenHasBeenSet = false; long long m_fileSize; bool m_fileSizeHasBeenSet = false; Aws::Vector m_filters; bool m_filtersHasBeenSet = false; int m_maxRecords; bool m_maxRecordsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws