/*
* 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
{
///
/// Container for the parameters to the DescribeQuery operation.
/// Returns metadata about a query, including query run time in milliseconds, number of
/// events scanned and matched, and query status. If the query results were delivered
/// to an S3 bucket, the response also provides the S3 URI and the delivery status.
///
///
///
/// You must specify either a QueryID
or a QueryAlias
. Specifying
/// the QueryAlias
parameter returns information about the last query run
/// for the alias.
///
///
public partial class DescribeQueryRequest : AmazonCloudTrailRequest
{
private string _eventDataStore;
private string _queryAlias;
private string _queryId;
///
/// Gets and sets the property EventDataStore.
///
/// The ARN (or the ID suffix of the ARN) of an event data store on which the specified
/// query was run.
///
///
[Obsolete("EventDataStore is no longer required by DescribeQueryRequest")]
[AWSProperty(Min=3, Max=256)]
public string EventDataStore
{
get { return this._eventDataStore; }
set { this._eventDataStore = value; }
}
// Check to see if EventDataStore property is set
internal bool IsSetEventDataStore()
{
return this._eventDataStore != null;
}
///
/// Gets and sets the property QueryAlias.
///
/// The alias that identifies a query template.
///
///
[AWSProperty(Min=1, Max=256)]
public string QueryAlias
{
get { return this._queryAlias; }
set { this._queryAlias = value; }
}
// Check to see if QueryAlias property is set
internal bool IsSetQueryAlias()
{
return this._queryAlias != null;
}
///
/// Gets and sets the property QueryId.
///
/// The query ID.
///
///
[AWSProperty(Min=36, Max=36)]
public string QueryId
{
get { return this._queryId; }
set { this._queryId = value; }
}
// Check to see if QueryId property is set
internal bool IsSetQueryId()
{
return this._queryId != null;
}
}
}