/*
* 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 cloudtrail-2013-11-01.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.CloudTrail.Model
{
///
/// Provides statistics for the specified ImportID
. CloudTrail does not
/// update import statistics in real-time. Returned values for parameters such as EventsCompleted
/// may be lower than the actual value, because CloudTrail updates statistics incrementally
/// over the course of the import.
///
public partial class ImportStatistics
{
private long? _eventsCompleted;
private long? _failedEntries;
private long? _filesCompleted;
private long? _prefixesCompleted;
private long? _prefixesFound;
///
/// Gets and sets the property EventsCompleted.
///
/// The number of trail events imported into the event data store.
///
///
public long EventsCompleted
{
get { return this._eventsCompleted.GetValueOrDefault(); }
set { this._eventsCompleted = value; }
}
// Check to see if EventsCompleted property is set
internal bool IsSetEventsCompleted()
{
return this._eventsCompleted.HasValue;
}
///
/// Gets and sets the property FailedEntries.
///
/// The number of failed entries.
///
///
public long FailedEntries
{
get { return this._failedEntries.GetValueOrDefault(); }
set { this._failedEntries = value; }
}
// Check to see if FailedEntries property is set
internal bool IsSetFailedEntries()
{
return this._failedEntries.HasValue;
}
///
/// Gets and sets the property FilesCompleted.
///
/// The number of log files that completed import.
///
///
public long FilesCompleted
{
get { return this._filesCompleted.GetValueOrDefault(); }
set { this._filesCompleted = value; }
}
// Check to see if FilesCompleted property is set
internal bool IsSetFilesCompleted()
{
return this._filesCompleted.HasValue;
}
///
/// Gets and sets the property PrefixesCompleted.
///
/// The number of S3 prefixes that completed import.
///
///
public long PrefixesCompleted
{
get { return this._prefixesCompleted.GetValueOrDefault(); }
set { this._prefixesCompleted = value; }
}
// Check to see if PrefixesCompleted property is set
internal bool IsSetPrefixesCompleted()
{
return this._prefixesCompleted.HasValue;
}
///
/// Gets and sets the property PrefixesFound.
///
/// The number of S3 prefixes found for the import.
///
///
public long PrefixesFound
{
get { return this._prefixesFound.GetValueOrDefault(); }
set { this._prefixesFound = value; }
}
// Check to see if PrefixesFound property is set
internal bool IsSetPrefixesFound()
{
return this._prefixesFound.HasValue;
}
}
}