/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the qldb-2019-01-02.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.QLDB.Model { /// /// 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. /// public partial class JournalS3ExportDescription { private DateTime? _exclusiveEndTime; private DateTime? _exportCreationTime; private string _exportId; private DateTime? _inclusiveStartTime; private string _ledgerName; private OutputFormat _outputFormat; private string _roleArn; private S3ExportConfiguration _s3ExportConfiguration; private ExportStatus _status; /// /// Gets and sets the property ExclusiveEndTime. /// /// The exclusive end date and time for the range of journal contents that was specified /// in the original export request. /// /// [AWSProperty(Required=true)] public DateTime ExclusiveEndTime { get { return this._exclusiveEndTime.GetValueOrDefault(); } set { this._exclusiveEndTime = value; } } // Check to see if ExclusiveEndTime property is set internal bool IsSetExclusiveEndTime() { return this._exclusiveEndTime.HasValue; } /// /// Gets and sets the property 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.) /// /// [AWSProperty(Required=true)] public DateTime ExportCreationTime { get { return this._exportCreationTime.GetValueOrDefault(); } set { this._exportCreationTime = value; } } // Check to see if ExportCreationTime property is set internal bool IsSetExportCreationTime() { return this._exportCreationTime.HasValue; } /// /// Gets and sets the property ExportId. /// /// The UUID (represented in Base62-encoded text) of the journal export job. /// /// [AWSProperty(Required=true, Min=22, Max=22)] public string ExportId { get { return this._exportId; } set { this._exportId = value; } } // Check to see if ExportId property is set internal bool IsSetExportId() { return this._exportId != null; } /// /// Gets and sets the property InclusiveStartTime. /// /// The inclusive start date and time for the range of journal contents that was specified /// in the original export request. /// /// [AWSProperty(Required=true)] public DateTime InclusiveStartTime { get { return this._inclusiveStartTime.GetValueOrDefault(); } set { this._inclusiveStartTime = value; } } // Check to see if InclusiveStartTime property is set internal bool IsSetInclusiveStartTime() { return this._inclusiveStartTime.HasValue; } /// /// Gets and sets the property LedgerName. /// /// The name of the ledger. /// /// [AWSProperty(Required=true, Min=1, Max=32)] public string LedgerName { get { return this._ledgerName; } set { this._ledgerName = value; } } // Check to see if LedgerName property is set internal bool IsSetLedgerName() { return this._ledgerName != null; } /// /// Gets and sets the property OutputFormat. /// /// The output format of the exported journal data. /// /// public OutputFormat OutputFormat { get { return this._outputFormat; } set { this._outputFormat = value; } } // Check to see if OutputFormat property is set internal bool IsSetOutputFormat() { return this._outputFormat != null; } /// /// Gets and sets the property RoleArn. /// /// The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a /// journal export job to do the following: /// /// /// [AWSProperty(Required=true, Min=20, Max=1600)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property S3ExportConfiguration. /// [AWSProperty(Required=true)] public S3ExportConfiguration S3ExportConfiguration { get { return this._s3ExportConfiguration; } set { this._s3ExportConfiguration = value; } } // Check to see if S3ExportConfiguration property is set internal bool IsSetS3ExportConfiguration() { return this._s3ExportConfiguration != null; } /// /// Gets and sets the property Status. /// /// The current state of the journal export job. /// /// [AWSProperty(Required=true)] public ExportStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }