/** * 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 Athena { namespace Model { /** *

Statistics such as input rows and bytes read by the query, rows and bytes * output by the query, and the number of rows written by the query.

See * Also:

AWS * API Reference

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

The number of rows read to execute the query.

*/ inline long long GetInputRows() const{ return m_inputRows; } /** *

The number of rows read to execute the query.

*/ inline bool InputRowsHasBeenSet() const { return m_inputRowsHasBeenSet; } /** *

The number of rows read to execute the query.

*/ inline void SetInputRows(long long value) { m_inputRowsHasBeenSet = true; m_inputRows = value; } /** *

The number of rows read to execute the query.

*/ inline QueryRuntimeStatisticsRows& WithInputRows(long long value) { SetInputRows(value); return *this;} /** *

The number of bytes read to execute the query.

*/ inline long long GetInputBytes() const{ return m_inputBytes; } /** *

The number of bytes read to execute the query.

*/ inline bool InputBytesHasBeenSet() const { return m_inputBytesHasBeenSet; } /** *

The number of bytes read to execute the query.

*/ inline void SetInputBytes(long long value) { m_inputBytesHasBeenSet = true; m_inputBytes = value; } /** *

The number of bytes read to execute the query.

*/ inline QueryRuntimeStatisticsRows& WithInputBytes(long long value) { SetInputBytes(value); return *this;} /** *

The number of bytes returned by the query.

*/ inline long long GetOutputBytes() const{ return m_outputBytes; } /** *

The number of bytes returned by the query.

*/ inline bool OutputBytesHasBeenSet() const { return m_outputBytesHasBeenSet; } /** *

The number of bytes returned by the query.

*/ inline void SetOutputBytes(long long value) { m_outputBytesHasBeenSet = true; m_outputBytes = value; } /** *

The number of bytes returned by the query.

*/ inline QueryRuntimeStatisticsRows& WithOutputBytes(long long value) { SetOutputBytes(value); return *this;} /** *

The number of rows returned by the query.

*/ inline long long GetOutputRows() const{ return m_outputRows; } /** *

The number of rows returned by the query.

*/ inline bool OutputRowsHasBeenSet() const { return m_outputRowsHasBeenSet; } /** *

The number of rows returned by the query.

*/ inline void SetOutputRows(long long value) { m_outputRowsHasBeenSet = true; m_outputRows = value; } /** *

The number of rows returned by the query.

*/ inline QueryRuntimeStatisticsRows& WithOutputRows(long long value) { SetOutputRows(value); return *this;} private: long long m_inputRows; bool m_inputRowsHasBeenSet = false; long long m_inputBytes; bool m_inputBytesHasBeenSet = false; long long m_outputBytes; bool m_outputBytesHasBeenSet = false; long long m_outputRows; bool m_outputRowsHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws