/*
* 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 logs-2014-03-28.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.CloudWatchLogs.Model
{
///
/// Container for the parameters to the GetQueryResults operation.
/// Returns the results from the specified query.
///
///
///
/// Only the fields requested in the query are returned, along with a @ptr
/// field, which is the identifier for the log record. You can use the value of @ptr
/// in a GetLogRecord
/// operation to get the full log record.
///
///
///
/// GetQueryResults
does not start running a query. To run a query, use
/// StartQuery.
///
///
///
/// If the value of the Status
field in the output is Running
,
/// this operation returns only partial results. If you see a value of Scheduled
/// or Running
for the status, you can retry the operation later to see the
/// final results.
///
///
///
/// If you are using CloudWatch cross-account observability, you can use this operation
/// in a monitoring account to start queries in linked source accounts. For more information,
/// see CloudWatch
/// cross-account observability.
///
///
public partial class GetQueryResultsRequest : AmazonCloudWatchLogsRequest
{
private string _queryId;
///
/// Gets and sets the property QueryId.
///
/// The ID number of the query.
///
///
[AWSProperty(Required=true, Min=0, Max=256)]
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;
}
}
}