/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Statistics related to the processing of a query statement.See
* Also:
AWS
* API Reference
The average time the request took to be executed.
*/ inline long long GetAverageExecutionTimeMillis() const{ return m_averageExecutionTimeMillis; } /** *The average time the request took to be executed.
*/ inline bool AverageExecutionTimeMillisHasBeenSet() const { return m_averageExecutionTimeMillisHasBeenSet; } /** *The average time the request took to be executed.
*/ inline void SetAverageExecutionTimeMillis(long long value) { m_averageExecutionTimeMillisHasBeenSet = true; m_averageExecutionTimeMillis = value; } /** *The average time the request took to be executed.
*/ inline ExecutionStatistics& WithAverageExecutionTimeMillis(long long value) { SetAverageExecutionTimeMillis(value); return *this;} /** *The amount of data that was scanned in bytes.
*/ inline long long GetDataScannedBytes() const{ return m_dataScannedBytes; } /** *The amount of data that was scanned in bytes.
*/ inline bool DataScannedBytesHasBeenSet() const { return m_dataScannedBytesHasBeenSet; } /** *The amount of data that was scanned in bytes.
*/ inline void SetDataScannedBytes(long long value) { m_dataScannedBytesHasBeenSet = true; m_dataScannedBytes = value; } /** *The amount of data that was scanned in bytes.
*/ inline ExecutionStatistics& WithDataScannedBytes(long long value) { SetDataScannedBytes(value); return *this;} /** *The number of work units executed.
*/ inline long long GetWorkUnitsExecutedCount() const{ return m_workUnitsExecutedCount; } /** *The number of work units executed.
*/ inline bool WorkUnitsExecutedCountHasBeenSet() const { return m_workUnitsExecutedCountHasBeenSet; } /** *The number of work units executed.
*/ inline void SetWorkUnitsExecutedCount(long long value) { m_workUnitsExecutedCountHasBeenSet = true; m_workUnitsExecutedCount = value; } /** *The number of work units executed.
*/ inline ExecutionStatistics& WithWorkUnitsExecutedCount(long long value) { SetWorkUnitsExecutedCount(value); return *this;} private: long long m_averageExecutionTimeMillis; bool m_averageExecutionTimeMillisHasBeenSet = false; long long m_dataScannedBytes; bool m_dataScannedBytesHasBeenSet = false; long long m_workUnitsExecutedCount; bool m_workUnitsExecutedCountHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws