/** * 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 PlanningStatistics { public: AWS_LAKEFORMATION_API PlanningStatistics(); AWS_LAKEFORMATION_API PlanningStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_LAKEFORMATION_API PlanningStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An estimate of the data that was scanned in bytes.

*/ inline long long GetEstimatedDataToScanBytes() const{ return m_estimatedDataToScanBytes; } /** *

An estimate of the data that was scanned in bytes.

*/ inline bool EstimatedDataToScanBytesHasBeenSet() const { return m_estimatedDataToScanBytesHasBeenSet; } /** *

An estimate of the data that was scanned in bytes.

*/ inline void SetEstimatedDataToScanBytes(long long value) { m_estimatedDataToScanBytesHasBeenSet = true; m_estimatedDataToScanBytes = value; } /** *

An estimate of the data that was scanned in bytes.

*/ inline PlanningStatistics& WithEstimatedDataToScanBytes(long long value) { SetEstimatedDataToScanBytes(value); return *this;} /** *

The time that it took to process the request.

*/ inline long long GetPlanningTimeMillis() const{ return m_planningTimeMillis; } /** *

The time that it took to process the request.

*/ inline bool PlanningTimeMillisHasBeenSet() const { return m_planningTimeMillisHasBeenSet; } /** *

The time that it took to process the request.

*/ inline void SetPlanningTimeMillis(long long value) { m_planningTimeMillisHasBeenSet = true; m_planningTimeMillis = value; } /** *

The time that it took to process the request.

*/ inline PlanningStatistics& WithPlanningTimeMillis(long long value) { SetPlanningTimeMillis(value); return *this;} /** *

The time the request was in queue to be processed.

*/ inline long long GetQueueTimeMillis() const{ return m_queueTimeMillis; } /** *

The time the request was in queue to be processed.

*/ inline bool QueueTimeMillisHasBeenSet() const { return m_queueTimeMillisHasBeenSet; } /** *

The time the request was in queue to be processed.

*/ inline void SetQueueTimeMillis(long long value) { m_queueTimeMillisHasBeenSet = true; m_queueTimeMillis = value; } /** *

The time the request was in queue to be processed.

*/ inline PlanningStatistics& WithQueueTimeMillis(long long value) { SetQueueTimeMillis(value); return *this;} /** *

The number of work units generated.

*/ inline long long GetWorkUnitsGeneratedCount() const{ return m_workUnitsGeneratedCount; } /** *

The number of work units generated.

*/ inline bool WorkUnitsGeneratedCountHasBeenSet() const { return m_workUnitsGeneratedCountHasBeenSet; } /** *

The number of work units generated.

*/ inline void SetWorkUnitsGeneratedCount(long long value) { m_workUnitsGeneratedCountHasBeenSet = true; m_workUnitsGeneratedCount = value; } /** *

The number of work units generated.

*/ inline PlanningStatistics& WithWorkUnitsGeneratedCount(long long value) { SetWorkUnitsGeneratedCount(value); return *this;} private: long long m_estimatedDataToScanBytes; bool m_estimatedDataToScanBytesHasBeenSet = false; long long m_planningTimeMillis; bool m_planningTimeMillisHasBeenSet = false; long long m_queueTimeMillis; bool m_queueTimeMillisHasBeenSet = false; long long m_workUnitsGeneratedCount; bool m_workUnitsGeneratedCountHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws