AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionStats.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TimestreamQuery
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_TIMESTREAMQUERY_API ExecutionStats();
33 AWS_TIMESTREAMQUERY_API ExecutionStats(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TIMESTREAMQUERY_API ExecutionStats& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline long long GetExecutionTimeInMillis() const{ return m_executionTimeInMillis; }
44 inline bool ExecutionTimeInMillisHasBeenSet() const { return m_executionTimeInMillisHasBeenSet; }
45 inline void SetExecutionTimeInMillis(long long value) { m_executionTimeInMillisHasBeenSet = true; m_executionTimeInMillis = value; }
46 inline ExecutionStats& WithExecutionTimeInMillis(long long value) { SetExecutionTimeInMillis(value); return *this;}
48
50
53 inline long long GetDataWrites() const{ return m_dataWrites; }
54 inline bool DataWritesHasBeenSet() const { return m_dataWritesHasBeenSet; }
55 inline void SetDataWrites(long long value) { m_dataWritesHasBeenSet = true; m_dataWrites = value; }
56 inline ExecutionStats& WithDataWrites(long long value) { SetDataWrites(value); return *this;}
58
60
63 inline long long GetBytesMetered() const{ return m_bytesMetered; }
64 inline bool BytesMeteredHasBeenSet() const { return m_bytesMeteredHasBeenSet; }
65 inline void SetBytesMetered(long long value) { m_bytesMeteredHasBeenSet = true; m_bytesMetered = value; }
66 inline ExecutionStats& WithBytesMetered(long long value) { SetBytesMetered(value); return *this;}
68
70
73 inline long long GetCumulativeBytesScanned() const{ return m_cumulativeBytesScanned; }
74 inline bool CumulativeBytesScannedHasBeenSet() const { return m_cumulativeBytesScannedHasBeenSet; }
75 inline void SetCumulativeBytesScanned(long long value) { m_cumulativeBytesScannedHasBeenSet = true; m_cumulativeBytesScanned = value; }
76 inline ExecutionStats& WithCumulativeBytesScanned(long long value) { SetCumulativeBytesScanned(value); return *this;}
78
80
83 inline long long GetRecordsIngested() const{ return m_recordsIngested; }
84 inline bool RecordsIngestedHasBeenSet() const { return m_recordsIngestedHasBeenSet; }
85 inline void SetRecordsIngested(long long value) { m_recordsIngestedHasBeenSet = true; m_recordsIngested = value; }
86 inline ExecutionStats& WithRecordsIngested(long long value) { SetRecordsIngested(value); return *this;}
88
90
94 inline long long GetQueryResultRows() const{ return m_queryResultRows; }
95 inline bool QueryResultRowsHasBeenSet() const { return m_queryResultRowsHasBeenSet; }
96 inline void SetQueryResultRows(long long value) { m_queryResultRowsHasBeenSet = true; m_queryResultRows = value; }
97 inline ExecutionStats& WithQueryResultRows(long long value) { SetQueryResultRows(value); return *this;}
99 private:
100
101 long long m_executionTimeInMillis;
102 bool m_executionTimeInMillisHasBeenSet = false;
103
104 long long m_dataWrites;
105 bool m_dataWritesHasBeenSet = false;
106
107 long long m_bytesMetered;
108 bool m_bytesMeteredHasBeenSet = false;
109
110 long long m_cumulativeBytesScanned;
111 bool m_cumulativeBytesScannedHasBeenSet = false;
112
113 long long m_recordsIngested;
114 bool m_recordsIngestedHasBeenSet = false;
115
116 long long m_queryResultRows;
117 bool m_queryResultRowsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace TimestreamQuery
122} // namespace Aws
AWS_TIMESTREAMQUERY_API ExecutionStats()
ExecutionStats & WithRecordsIngested(long long value)
ExecutionStats & WithExecutionTimeInMillis(long long value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
ExecutionStats & WithCumulativeBytesScanned(long long value)
ExecutionStats & WithQueryResultRows(long long value)
AWS_TIMESTREAMQUERY_API ExecutionStats & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionStats & WithDataWrites(long long value)
AWS_TIMESTREAMQUERY_API ExecutionStats(Aws::Utils::Json::JsonView jsonValue)
ExecutionStats & WithBytesMetered(long long value)
Aws::Utils::Json::JsonValue JsonValue