/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LakeFormation { namespace Model { /** *

Statistics related to the processing of a query statement.

See * Also:

AWS * API Reference

*/ class ExecutionStatistics { public: AWS_LAKEFORMATION_API ExecutionStatistics(); AWS_LAKEFORMATION_API ExecutionStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_LAKEFORMATION_API ExecutionStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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