/*
* 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 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 System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.DynamoDBv2.Model
{
///
/// Summary information about the source file for the import.
///
public partial class ImportSummary
{
private string _cloudWatchLogGroupArn;
private DateTime? _endTime;
private string _importArn;
private ImportStatus _importStatus;
private InputFormat _inputFormat;
private S3BucketSource _s3BucketSource;
private DateTime? _startTime;
private string _tableArn;
///
/// Gets and sets the property CloudWatchLogGroupArn.
///
/// The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with this
/// import task.
///
///
[AWSProperty(Min=1, Max=1024)]
public string CloudWatchLogGroupArn
{
get { return this._cloudWatchLogGroupArn; }
set { this._cloudWatchLogGroupArn = value; }
}
// Check to see if CloudWatchLogGroupArn property is set
internal bool IsSetCloudWatchLogGroupArn()
{
return this._cloudWatchLogGroupArn != null;
}
///
/// Gets and sets the property EndTime.
///
/// The time at which this import task ended. (Does this include the successful complete
/// creation of the table it was imported to?)
///
///
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
///
/// Gets and sets the property ImportArn.
///
/// The Amazon Resource Number (ARN) corresponding to the import request.
///
///
[AWSProperty(Min=37, Max=1024)]
public string ImportArn
{
get { return this._importArn; }
set { this._importArn = value; }
}
// Check to see if ImportArn property is set
internal bool IsSetImportArn()
{
return this._importArn != null;
}
///
/// Gets and sets the property ImportStatus.
///
/// The status of the import operation.
///
///
public ImportStatus ImportStatus
{
get { return this._importStatus; }
set { this._importStatus = value; }
}
// Check to see if ImportStatus property is set
internal bool IsSetImportStatus()
{
return this._importStatus != null;
}
///
/// Gets and sets the property InputFormat.
///
/// The format of the source data. Valid values are CSV
, DYNAMODB_JSON
/// or ION
.
///
///
public InputFormat InputFormat
{
get { return this._inputFormat; }
set { this._inputFormat = value; }
}
// Check to see if InputFormat property is set
internal bool IsSetInputFormat()
{
return this._inputFormat != null;
}
///
/// Gets and sets the property S3BucketSource.
///
/// The path and S3 bucket of the source file that is being imported. This includes the
/// S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner (optional if the bucket
/// is owned by the requester).
///
///
public S3BucketSource S3BucketSource
{
get { return this._s3BucketSource; }
set { this._s3BucketSource = value; }
}
// Check to see if S3BucketSource property is set
internal bool IsSetS3BucketSource()
{
return this._s3BucketSource != null;
}
///
/// Gets and sets the property StartTime.
///
/// The time at which this import task began.
///
///
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
///
/// Gets and sets the property TableArn.
///
/// The Amazon Resource Number (ARN) of the table being imported into.
///
///
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;
}
}
}