/* * Copyright 2010-2014 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 dynamodb-2012-08-10.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DynamoDBv2.Model { /// /// Contains details for the backup. /// public partial class BackupSummary { private string _backupArn; private DateTime? _backupCreationDateTime; private DateTime? _backupExpiryDateTime; private string _backupName; private long? _backupSizeBytes; private BackupStatus _backupStatus; private BackupType _backupType; private string _tableArn; private string _tableId; private string _tableName; /// /// Gets and sets the property BackupArn. /// /// ARN associated with the backup. /// /// [AWSProperty(Min=37, Max=1024)] public string BackupArn { get { return this._backupArn; } set { this._backupArn = value; } } // Check to see if BackupArn property is set internal bool IsSetBackupArn() { return this._backupArn != null; } /// /// Gets and sets the property BackupCreationDateTime. /// /// Time at which the backup was created. /// /// public DateTime BackupCreationDateTime { get { return this._backupCreationDateTime.GetValueOrDefault(); } set { this._backupCreationDateTime = value; } } // Check to see if BackupCreationDateTime property is set internal bool IsSetBackupCreationDateTime() { return this._backupCreationDateTime.HasValue; } /// /// Gets and sets the property BackupExpiryDateTime. /// /// Time at which the automatic on-demand backup created by DynamoDB will expire. This /// SYSTEM on-demand backup expires automatically 35 days after its creation. /// /// public DateTime BackupExpiryDateTime { get { return this._backupExpiryDateTime.GetValueOrDefault(); } set { this._backupExpiryDateTime = value; } } // Check to see if BackupExpiryDateTime property is set internal bool IsSetBackupExpiryDateTime() { return this._backupExpiryDateTime.HasValue; } /// /// Gets and sets the property BackupName. /// /// Name of the specified backup. /// /// [AWSProperty(Min=3, Max=255)] public string BackupName { get { return this._backupName; } set { this._backupName = value; } } // Check to see if BackupName property is set internal bool IsSetBackupName() { return this._backupName != null; } /// /// Gets and sets the property BackupSizeBytes. /// /// Size of the backup in bytes. /// /// [AWSProperty(Min=0)] public long BackupSizeBytes { get { return this._backupSizeBytes.GetValueOrDefault(); } set { this._backupSizeBytes = value; } } // Check to see if BackupSizeBytes property is set internal bool IsSetBackupSizeBytes() { return this._backupSizeBytes.HasValue; } /// /// Gets and sets the property BackupStatus. /// /// Backup can be in one of the following states: CREATING, ACTIVE, DELETED. /// /// public BackupStatus BackupStatus { get { return this._backupStatus; } set { this._backupStatus = value; } } // Check to see if BackupStatus property is set internal bool IsSetBackupStatus() { return this._backupStatus != null; } /// /// Gets and sets the property BackupType. /// /// BackupType: /// /// /// public BackupType BackupType { get { return this._backupType; } set { this._backupType = value; } } // Check to see if BackupType property is set internal bool IsSetBackupType() { return this._backupType != null; } /// /// Gets and sets the property TableArn. /// /// ARN associated with the table. /// /// public string TableArn { get { return this._tableArn; } set { this._tableArn = value; } } // Check to see if TableArn property is set internal bool IsSetTableArn() { return this._tableArn != null; } /// /// Gets and sets the property TableId. /// /// Unique identifier for the table. /// /// public string TableId { get { return this._tableId; } set { this._tableId = value; } } // Check to see if TableId property is set internal bool IsSetTableId() { return this._tableId != null; } /// /// Gets and sets the property TableName. /// /// Name of the table. /// /// [AWSProperty(Min=3, Max=255)] public string TableName { get { return this._tableName; } set { this._tableName = value; } } // Check to see if TableName property is set internal bool IsSetTableName() { return this._tableName != null; } } }