/*
 * 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 lakeformation-2017-03-31.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.LakeFormation.Model
{
    /// 
    /// This is the response object from the GetQueryStatistics operation.
    /// 
    public partial class GetQueryStatisticsResponse : AmazonWebServiceResponse
    {
        private ExecutionStatistics _executionStatistics;
        private PlanningStatistics _planningStatistics;
        private DateTime? _querySubmissionTime;
        /// 
        /// Gets and sets the property ExecutionStatistics. 
        /// 
        /// An ExecutionStatistics structure containing execution statistics.
        /// 
        /// 
        public ExecutionStatistics ExecutionStatistics
        {
            get { return this._executionStatistics; }
            set { this._executionStatistics = value; }
        }
        // Check to see if ExecutionStatistics property is set
        internal bool IsSetExecutionStatistics()
        {
            return this._executionStatistics != null;
        }
        /// 
        /// Gets and sets the property PlanningStatistics. 
        /// 
        /// A PlanningStatistics structure containing query planning statistics.
        /// 
        /// 
        public PlanningStatistics PlanningStatistics
        {
            get { return this._planningStatistics; }
            set { this._planningStatistics = value; }
        }
        // Check to see if PlanningStatistics property is set
        internal bool IsSetPlanningStatistics()
        {
            return this._planningStatistics != null;
        }
        /// 
        /// Gets and sets the property QuerySubmissionTime. 
        /// 
        /// The time that the query was submitted.
        /// 
        /// 
        public DateTime QuerySubmissionTime
        {
            get { return this._querySubmissionTime.GetValueOrDefault(); }
            set { this._querySubmissionTime = value; }
        }
        // Check to see if QuerySubmissionTime property is set
        internal bool IsSetQuerySubmissionTime()
        {
            return this._querySubmissionTime.HasValue; 
        }
    }
}