/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the status of the query, including progress and bytes
* scanned.See Also:
AWS
* API Reference
The progress of the query, expressed as a percentage.
*/ inline double GetProgressPercentage() const{ return m_progressPercentage; } /** *The progress of the query, expressed as a percentage.
*/ inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; } /** *The progress of the query, expressed as a percentage.
*/ inline void SetProgressPercentage(double value) { m_progressPercentageHasBeenSet = true; m_progressPercentage = value; } /** *The progress of the query, expressed as a percentage.
*/ inline QueryStatus& WithProgressPercentage(double value) { SetProgressPercentage(value); return *this;} /** *The amount of data scanned by the query in bytes. This is a cumulative sum * and represents the total amount of bytes scanned since the query was started. *
*/ inline long long GetCumulativeBytesScanned() const{ return m_cumulativeBytesScanned; } /** *The amount of data scanned by the query in bytes. This is a cumulative sum * and represents the total amount of bytes scanned since the query was started. *
*/ inline bool CumulativeBytesScannedHasBeenSet() const { return m_cumulativeBytesScannedHasBeenSet; } /** *The amount of data scanned by the query in bytes. This is a cumulative sum * and represents the total amount of bytes scanned since the query was started. *
*/ inline void SetCumulativeBytesScanned(long long value) { m_cumulativeBytesScannedHasBeenSet = true; m_cumulativeBytesScanned = value; } /** *The amount of data scanned by the query in bytes. This is a cumulative sum * and represents the total amount of bytes scanned since the query was started. *
*/ inline QueryStatus& WithCumulativeBytesScanned(long long value) { SetCumulativeBytesScanned(value); return *this;} /** *The amount of data scanned by the query in bytes that you will be charged * for. This is a cumulative sum and represents the total amount of data that you * will be charged for since the query was started. The charge is applied only once * and is either applied when the query completes running or when the query is * cancelled.
*/ inline long long GetCumulativeBytesMetered() const{ return m_cumulativeBytesMetered; } /** *The amount of data scanned by the query in bytes that you will be charged * for. This is a cumulative sum and represents the total amount of data that you * will be charged for since the query was started. The charge is applied only once * and is either applied when the query completes running or when the query is * cancelled.
*/ inline bool CumulativeBytesMeteredHasBeenSet() const { return m_cumulativeBytesMeteredHasBeenSet; } /** *The amount of data scanned by the query in bytes that you will be charged * for. This is a cumulative sum and represents the total amount of data that you * will be charged for since the query was started. The charge is applied only once * and is either applied when the query completes running or when the query is * cancelled.
*/ inline void SetCumulativeBytesMetered(long long value) { m_cumulativeBytesMeteredHasBeenSet = true; m_cumulativeBytesMetered = value; } /** *The amount of data scanned by the query in bytes that you will be charged * for. This is a cumulative sum and represents the total amount of data that you * will be charged for since the query was started. The charge is applied only once * and is either applied when the query completes running or when the query is * cancelled.
*/ inline QueryStatus& WithCumulativeBytesMetered(long long value) { SetCumulativeBytesMetered(value); return *this;} private: double m_progressPercentage; bool m_progressPercentageHasBeenSet = false; long long m_cumulativeBytesScanned; bool m_cumulativeBytesScannedHasBeenSet = false; long long m_cumulativeBytesMetered; bool m_cumulativeBytesMeteredHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws