/* * 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 timestream-query-2018-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.TimestreamQuery.Model { /// /// Statistics for a single scheduled query run. /// public partial class ExecutionStats { private long? _bytesMetered; private long? _dataWrites; private long? _executionTimeInMillis; private long? _queryResultRows; private long? _recordsIngested; /// /// Gets and sets the property BytesMetered. /// /// Bytes metered for a single scheduled query run. /// /// public long BytesMetered { get { return this._bytesMetered.GetValueOrDefault(); } set { this._bytesMetered = value; } } // Check to see if BytesMetered property is set internal bool IsSetBytesMetered() { return this._bytesMetered.HasValue; } /// /// Gets and sets the property DataWrites. /// /// Data writes metered for records ingested in a single scheduled query run. /// /// public long DataWrites { get { return this._dataWrites.GetValueOrDefault(); } set { this._dataWrites = value; } } // Check to see if DataWrites property is set internal bool IsSetDataWrites() { return this._dataWrites.HasValue; } /// /// Gets and sets the property ExecutionTimeInMillis. /// /// Total time, measured in milliseconds, that was needed for the scheduled query run /// to complete. /// /// public long 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; } /// /// Gets and sets the property QueryResultRows. /// /// Number of rows present in the output from running a query before ingestion to destination /// data source. /// /// public long QueryResultRows { get { return this._queryResultRows.GetValueOrDefault(); } set { this._queryResultRows = value; } } // Check to see if QueryResultRows property is set internal bool IsSetQueryResultRows() { return this._queryResultRows.HasValue; } /// /// Gets and sets the property RecordsIngested. /// /// The number of records ingested for a single scheduled query run. /// /// public long RecordsIngested { get { return this._recordsIngested.GetValueOrDefault(); } set { this._recordsIngested = value; } } // Check to see if RecordsIngested property is set internal bool IsSetRecordsIngested() { return this._recordsIngested.HasValue; } } }