/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a journal export job, including the ledger name, export ID,
* creation time, current status, and the parameters of the original export
* creation request.See Also:
AWS
* API Reference
The name of the ledger.
*/ inline const Aws::String& GetLedgerName() const{ return m_ledgerName; } /** *The name of the ledger.
*/ inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } /** *The name of the ledger.
*/ inline void SetLedgerName(const Aws::String& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = value; } /** *The name of the ledger.
*/ inline void SetLedgerName(Aws::String&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::move(value); } /** *The name of the ledger.
*/ inline void SetLedgerName(const char* value) { m_ledgerNameHasBeenSet = true; m_ledgerName.assign(value); } /** *The name of the ledger.
*/ inline JournalS3ExportDescription& WithLedgerName(const Aws::String& value) { SetLedgerName(value); return *this;} /** *The name of the ledger.
*/ inline JournalS3ExportDescription& WithLedgerName(Aws::String&& value) { SetLedgerName(std::move(value)); return *this;} /** *The name of the ledger.
*/ inline JournalS3ExportDescription& WithLedgerName(const char* value) { SetLedgerName(value); return *this;} /** *The UUID (represented in Base62-encoded text) of the journal export job.
*/ inline const Aws::String& GetExportId() const{ return m_exportId; } /** *The UUID (represented in Base62-encoded text) of the journal export job.
*/ inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; } /** *The UUID (represented in Base62-encoded text) of the journal export job.
*/ inline void SetExportId(const Aws::String& value) { m_exportIdHasBeenSet = true; m_exportId = value; } /** *The UUID (represented in Base62-encoded text) of the journal export job.
*/ inline void SetExportId(Aws::String&& value) { m_exportIdHasBeenSet = true; m_exportId = std::move(value); } /** *The UUID (represented in Base62-encoded text) of the journal export job.
*/ inline void SetExportId(const char* value) { m_exportIdHasBeenSet = true; m_exportId.assign(value); } /** *The UUID (represented in Base62-encoded text) of the journal export job.
*/ inline JournalS3ExportDescription& WithExportId(const Aws::String& value) { SetExportId(value); return *this;} /** *The UUID (represented in Base62-encoded text) of the journal export job.
*/ inline JournalS3ExportDescription& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;} /** *The UUID (represented in Base62-encoded text) of the journal export job.
*/ inline JournalS3ExportDescription& WithExportId(const char* value) { SetExportId(value); return *this;} /** *The date and time, in epoch time format, when the export job was created. * (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, * 1970 UTC.)
*/ inline const Aws::Utils::DateTime& GetExportCreationTime() const{ return m_exportCreationTime; } /** *The date and time, in epoch time format, when the export job was created. * (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, * 1970 UTC.)
*/ inline bool ExportCreationTimeHasBeenSet() const { return m_exportCreationTimeHasBeenSet; } /** *The date and time, in epoch time format, when the export job was created. * (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, * 1970 UTC.)
*/ inline void SetExportCreationTime(const Aws::Utils::DateTime& value) { m_exportCreationTimeHasBeenSet = true; m_exportCreationTime = value; } /** *The date and time, in epoch time format, when the export job was created. * (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, * 1970 UTC.)
*/ inline void SetExportCreationTime(Aws::Utils::DateTime&& value) { m_exportCreationTimeHasBeenSet = true; m_exportCreationTime = std::move(value); } /** *The date and time, in epoch time format, when the export job was created. * (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, * 1970 UTC.)
*/ inline JournalS3ExportDescription& WithExportCreationTime(const Aws::Utils::DateTime& value) { SetExportCreationTime(value); return *this;} /** *The date and time, in epoch time format, when the export job was created. * (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, * 1970 UTC.)
*/ inline JournalS3ExportDescription& WithExportCreationTime(Aws::Utils::DateTime&& value) { SetExportCreationTime(std::move(value)); return *this;} /** *The current state of the journal export job.
*/ inline const ExportStatus& GetStatus() const{ return m_status; } /** *The current state of the journal export job.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current state of the journal export job.
*/ inline void SetStatus(const ExportStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current state of the journal export job.
*/ inline void SetStatus(ExportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current state of the journal export job.
*/ inline JournalS3ExportDescription& WithStatus(const ExportStatus& value) { SetStatus(value); return *this;} /** *The current state of the journal export job.
*/ inline JournalS3ExportDescription& WithStatus(ExportStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The inclusive start date and time for the range of journal contents that was * specified in the original export request.
*/ inline const Aws::Utils::DateTime& GetInclusiveStartTime() const{ return m_inclusiveStartTime; } /** *The inclusive start date and time for the range of journal contents that was * specified in the original export request.
*/ inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; } /** *The inclusive start date and time for the range of journal contents that was * specified in the original export request.
*/ inline void SetInclusiveStartTime(const Aws::Utils::DateTime& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = value; } /** *The inclusive start date and time for the range of journal contents that was * specified in the original export request.
*/ inline void SetInclusiveStartTime(Aws::Utils::DateTime&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::move(value); } /** *The inclusive start date and time for the range of journal contents that was * specified in the original export request.
*/ inline JournalS3ExportDescription& WithInclusiveStartTime(const Aws::Utils::DateTime& value) { SetInclusiveStartTime(value); return *this;} /** *The inclusive start date and time for the range of journal contents that was * specified in the original export request.
*/ inline JournalS3ExportDescription& WithInclusiveStartTime(Aws::Utils::DateTime&& value) { SetInclusiveStartTime(std::move(value)); return *this;} /** *The exclusive end date and time for the range of journal contents that was * specified in the original export request.
*/ inline const Aws::Utils::DateTime& GetExclusiveEndTime() const{ return m_exclusiveEndTime; } /** *The exclusive end date and time for the range of journal contents that was * specified in the original export request.
*/ inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; } /** *The exclusive end date and time for the range of journal contents that was * specified in the original export request.
*/ inline void SetExclusiveEndTime(const Aws::Utils::DateTime& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = value; } /** *The exclusive end date and time for the range of journal contents that was * specified in the original export request.
*/ inline void SetExclusiveEndTime(Aws::Utils::DateTime&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::move(value); } /** *The exclusive end date and time for the range of journal contents that was * specified in the original export request.
*/ inline JournalS3ExportDescription& WithExclusiveEndTime(const Aws::Utils::DateTime& value) { SetExclusiveEndTime(value); return *this;} /** *The exclusive end date and time for the range of journal contents that was * specified in the original export request.
*/ inline JournalS3ExportDescription& WithExclusiveEndTime(Aws::Utils::DateTime&& value) { SetExclusiveEndTime(std::move(value)); return *this;} inline const S3ExportConfiguration& GetS3ExportConfiguration() const{ return m_s3ExportConfiguration; } inline bool S3ExportConfigurationHasBeenSet() const { return m_s3ExportConfigurationHasBeenSet; } inline void SetS3ExportConfiguration(const S3ExportConfiguration& value) { m_s3ExportConfigurationHasBeenSet = true; m_s3ExportConfiguration = value; } inline void SetS3ExportConfiguration(S3ExportConfiguration&& value) { m_s3ExportConfigurationHasBeenSet = true; m_s3ExportConfiguration = std::move(value); } inline JournalS3ExportDescription& WithS3ExportConfiguration(const S3ExportConfiguration& value) { SetS3ExportConfiguration(value); return *this;} inline JournalS3ExportDescription& WithS3ExportConfiguration(S3ExportConfiguration&& value) { SetS3ExportConfiguration(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions * for a journal export job to do the following:
Write objects * into your Amazon Simple Storage Service (Amazon S3) bucket.
(Optional) Use your customer managed key in Key Management Service (KMS) for * server-side encryption of your exported data.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions * for a journal export job to do the following:
Write objects * into your Amazon Simple Storage Service (Amazon S3) bucket.
(Optional) Use your customer managed key in Key Management Service (KMS) for * server-side encryption of your exported data.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions * for a journal export job to do the following:
Write objects * into your Amazon Simple Storage Service (Amazon S3) bucket.
(Optional) Use your customer managed key in Key Management Service (KMS) for * server-side encryption of your exported data.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions * for a journal export job to do the following:
Write objects * into your Amazon Simple Storage Service (Amazon S3) bucket.
(Optional) Use your customer managed key in Key Management Service (KMS) for * server-side encryption of your exported data.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions * for a journal export job to do the following:
Write objects * into your Amazon Simple Storage Service (Amazon S3) bucket.
(Optional) Use your customer managed key in Key Management Service (KMS) for * server-side encryption of your exported data.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions * for a journal export job to do the following:
Write objects * into your Amazon Simple Storage Service (Amazon S3) bucket.
(Optional) Use your customer managed key in Key Management Service (KMS) for * server-side encryption of your exported data.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions * for a journal export job to do the following:
Write objects * into your Amazon Simple Storage Service (Amazon S3) bucket.
(Optional) Use your customer managed key in Key Management Service (KMS) for * server-side encryption of your exported data.
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions * for a journal export job to do the following:
Write objects * into your Amazon Simple Storage Service (Amazon S3) bucket.
(Optional) Use your customer managed key in Key Management Service (KMS) for * server-side encryption of your exported data.
The output format of the exported journal data.
*/ inline const OutputFormat& GetOutputFormat() const{ return m_outputFormat; } /** *The output format of the exported journal data.
*/ inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; } /** *The output format of the exported journal data.
*/ inline void SetOutputFormat(const OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; } /** *The output format of the exported journal data.
*/ inline void SetOutputFormat(OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); } /** *The output format of the exported journal data.
*/ inline JournalS3ExportDescription& WithOutputFormat(const OutputFormat& value) { SetOutputFormat(value); return *this;} /** *The output format of the exported journal data.
*/ inline JournalS3ExportDescription& WithOutputFormat(OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;} private: Aws::String m_ledgerName; bool m_ledgerNameHasBeenSet = false; Aws::String m_exportId; bool m_exportIdHasBeenSet = false; Aws::Utils::DateTime m_exportCreationTime; bool m_exportCreationTimeHasBeenSet = false; ExportStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_inclusiveStartTime; bool m_inclusiveStartTimeHasBeenSet = false; Aws::Utils::DateTime m_exclusiveEndTime; bool m_exclusiveEndTimeHasBeenSet = false; S3ExportConfiguration m_s3ExportConfiguration; bool m_s3ExportConfigurationHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; OutputFormat m_outputFormat; bool m_outputFormatHasBeenSet = false; }; } // namespace Model } // namespace QLDB } // namespace Aws