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

This data type is used as a response element to * DownloadDBLogFilePortion.

See Also:

AWS * API Reference

*/ class DownloadDBLogFilePortionResult { public: AWS_RDS_API DownloadDBLogFilePortionResult(); AWS_RDS_API DownloadDBLogFilePortionResult(const Aws::AmazonWebServiceResult& result); AWS_RDS_API DownloadDBLogFilePortionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Entries from the specified log file.

*/ inline const Aws::String& GetLogFileData() const{ return m_logFileData; } /** *

Entries from the specified log file.

*/ inline void SetLogFileData(const Aws::String& value) { m_logFileData = value; } /** *

Entries from the specified log file.

*/ inline void SetLogFileData(Aws::String&& value) { m_logFileData = std::move(value); } /** *

Entries from the specified log file.

*/ inline void SetLogFileData(const char* value) { m_logFileData.assign(value); } /** *

Entries from the specified log file.

*/ inline DownloadDBLogFilePortionResult& WithLogFileData(const Aws::String& value) { SetLogFileData(value); return *this;} /** *

Entries from the specified log file.

*/ inline DownloadDBLogFilePortionResult& WithLogFileData(Aws::String&& value) { SetLogFileData(std::move(value)); return *this;} /** *

Entries from the specified log file.

*/ inline DownloadDBLogFilePortionResult& WithLogFileData(const char* value) { SetLogFileData(value); return *this;} /** *

A pagination token that can be used in a later * DownloadDBLogFilePortion request.

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

A pagination token that can be used in a later * DownloadDBLogFilePortion request.

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

A pagination token that can be used in a later * DownloadDBLogFilePortion request.

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

A pagination token that can be used in a later * DownloadDBLogFilePortion request.

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

A pagination token that can be used in a later * DownloadDBLogFilePortion request.

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

A pagination token that can be used in a later * DownloadDBLogFilePortion request.

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

A pagination token that can be used in a later * DownloadDBLogFilePortion request.

*/ inline DownloadDBLogFilePortionResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Boolean value that if true, indicates there is more data to be * downloaded.

*/ inline bool GetAdditionalDataPending() const{ return m_additionalDataPending; } /** *

Boolean value that if true, indicates there is more data to be * downloaded.

*/ inline void SetAdditionalDataPending(bool value) { m_additionalDataPending = value; } /** *

Boolean value that if true, indicates there is more data to be * downloaded.

*/ inline DownloadDBLogFilePortionResult& WithAdditionalDataPending(bool value) { SetAdditionalDataPending(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DownloadDBLogFilePortionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DownloadDBLogFilePortionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_logFileData; Aws::String m_marker; bool m_additionalDataPending; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws