/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QLDB { namespace Model { class ListJournalS3ExportsResult { public: AWS_QLDB_API ListJournalS3ExportsResult(); AWS_QLDB_API ListJournalS3ExportsResult(const Aws::AmazonWebServiceResult& result); AWS_QLDB_API ListJournalS3ExportsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The journal export jobs for all ledgers that are associated with the current * Amazon Web Services account and Region.

*/ inline const Aws::Vector& GetJournalS3Exports() const{ return m_journalS3Exports; } /** *

The journal export jobs for all ledgers that are associated with the current * Amazon Web Services account and Region.

*/ inline void SetJournalS3Exports(const Aws::Vector& value) { m_journalS3Exports = value; } /** *

The journal export jobs for all ledgers that are associated with the current * Amazon Web Services account and Region.

*/ inline void SetJournalS3Exports(Aws::Vector&& value) { m_journalS3Exports = std::move(value); } /** *

The journal export jobs for all ledgers that are associated with the current * Amazon Web Services account and Region.

*/ inline ListJournalS3ExportsResult& WithJournalS3Exports(const Aws::Vector& value) { SetJournalS3Exports(value); return *this;} /** *

The journal export jobs for all ledgers that are associated with the current * Amazon Web Services account and Region.

*/ inline ListJournalS3ExportsResult& WithJournalS3Exports(Aws::Vector&& value) { SetJournalS3Exports(std::move(value)); return *this;} /** *

The journal export jobs for all ledgers that are associated with the current * Amazon Web Services account and Region.

*/ inline ListJournalS3ExportsResult& AddJournalS3Exports(const JournalS3ExportDescription& value) { m_journalS3Exports.push_back(value); return *this; } /** *

The journal export jobs for all ledgers that are associated with the current * Amazon Web Services account and Region.

*/ inline ListJournalS3ExportsResult& AddJournalS3Exports(JournalS3ExportDescription&& value) { m_journalS3Exports.push_back(std::move(value)); return *this; } /** *
  • If NextToken is empty, then the last page of results * has been processed and there are no more results to be retrieved.

  • *

    If NextToken is not empty, then there are more results * available. To retrieve the next page of results, use the value of * NextToken in a subsequent ListJournalS3Exports * call.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *
  • If NextToken is empty, then the last page of results * has been processed and there are no more results to be retrieved.

  • *

    If NextToken is not empty, then there are more results * available. To retrieve the next page of results, use the value of * NextToken in a subsequent ListJournalS3Exports * call.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *
  • If NextToken is empty, then the last page of results * has been processed and there are no more results to be retrieved.

  • *

    If NextToken is not empty, then there are more results * available. To retrieve the next page of results, use the value of * NextToken in a subsequent ListJournalS3Exports * call.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *
  • If NextToken is empty, then the last page of results * has been processed and there are no more results to be retrieved.

  • *

    If NextToken is not empty, then there are more results * available. To retrieve the next page of results, use the value of * NextToken in a subsequent ListJournalS3Exports * call.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *
  • If NextToken is empty, then the last page of results * has been processed and there are no more results to be retrieved.

  • *

    If NextToken is not empty, then there are more results * available. To retrieve the next page of results, use the value of * NextToken in a subsequent ListJournalS3Exports * call.

*/ inline ListJournalS3ExportsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *
  • If NextToken is empty, then the last page of results * has been processed and there are no more results to be retrieved.

  • *

    If NextToken is not empty, then there are more results * available. To retrieve the next page of results, use the value of * NextToken in a subsequent ListJournalS3Exports * call.

*/ inline ListJournalS3ExportsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *
  • If NextToken is empty, then the last page of results * has been processed and there are no more results to be retrieved.

  • *

    If NextToken is not empty, then there are more results * available. To retrieve the next page of results, use the value of * NextToken in a subsequent ListJournalS3Exports * call.

*/ inline ListJournalS3ExportsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListJournalS3ExportsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListJournalS3ExportsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListJournalS3ExportsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_journalS3Exports; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace QLDB } // namespace Aws