/*
* 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
{
///
/// Gets metadata about a query, including the number of events that were matched, the
/// total number of events scanned, the query run time in milliseconds, and the query's
/// creation time.
///
public partial class QueryStatisticsForDescribeQuery
{
private long? _bytesScanned;
private DateTime? _creationTime;
private long? _eventsMatched;
private long? _eventsScanned;
private int? _executionTimeInMillis;
///
/// Gets and sets the property BytesScanned.
///
/// The total bytes that the query scanned in the event data store. This value matches
/// the number of bytes for which your account is billed for the query, unless the query
/// is still running.
///
///
public long BytesScanned
{
get { return this._bytesScanned.GetValueOrDefault(); }
set { this._bytesScanned = value; }
}
// Check to see if BytesScanned property is set
internal bool IsSetBytesScanned()
{
return this._bytesScanned.HasValue;
}
///
/// Gets and sets the property CreationTime.
///
/// The creation time of the query.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property EventsMatched.
///
/// The number of events that matched a query.
///
///
public long EventsMatched
{
get { return this._eventsMatched.GetValueOrDefault(); }
set { this._eventsMatched = value; }
}
// Check to see if EventsMatched property is set
internal bool IsSetEventsMatched()
{
return this._eventsMatched.HasValue;
}
///
/// Gets and sets the property EventsScanned.
///
/// The number of events that the query scanned in the event data store.
///
///
public long EventsScanned
{
get { return this._eventsScanned.GetValueOrDefault(); }
set { this._eventsScanned = value; }
}
// Check to see if EventsScanned property is set
internal bool IsSetEventsScanned()
{
return this._eventsScanned.HasValue;
}
///
/// Gets and sets the property ExecutionTimeInMillis.
///
/// The query's run time, in milliseconds.
///
///
public int ExecutionTimeInMillis
{
get { return this._executionTimeInMillis.GetValueOrDefault(); }
set { this._executionTimeInMillis = value; }
}
// Check to see if ExecutionTimeInMillis property is set
internal bool IsSetExecutionTimeInMillis()
{
return this._executionTimeInMillis.HasValue;
}
}
}