AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryExecutionStatistics.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/ResultReuseInformation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Athena
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_ATHENA_API QueryExecutionStatistics();
40 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline long long GetEngineExecutionTimeInMillis() const{ return m_engineExecutionTimeInMillis; }
48 inline bool EngineExecutionTimeInMillisHasBeenSet() const { return m_engineExecutionTimeInMillisHasBeenSet; }
49 inline void SetEngineExecutionTimeInMillis(long long value) { m_engineExecutionTimeInMillisHasBeenSet = true; m_engineExecutionTimeInMillis = value; }
52
54
57 inline long long GetDataScannedInBytes() const{ return m_dataScannedInBytes; }
58 inline bool DataScannedInBytesHasBeenSet() const { return m_dataScannedInBytesHasBeenSet; }
59 inline void SetDataScannedInBytes(long long value) { m_dataScannedInBytesHasBeenSet = true; m_dataScannedInBytes = value; }
60 inline QueryExecutionStatistics& WithDataScannedInBytes(long long value) { SetDataScannedInBytes(value); return *this;}
62
64
75 inline const Aws::String& GetDataManifestLocation() const{ return m_dataManifestLocation; }
76 inline bool DataManifestLocationHasBeenSet() const { return m_dataManifestLocationHasBeenSet; }
77 inline void SetDataManifestLocation(const Aws::String& value) { m_dataManifestLocationHasBeenSet = true; m_dataManifestLocation = value; }
78 inline void SetDataManifestLocation(Aws::String&& value) { m_dataManifestLocationHasBeenSet = true; m_dataManifestLocation = std::move(value); }
79 inline void SetDataManifestLocation(const char* value) { m_dataManifestLocationHasBeenSet = true; m_dataManifestLocation.assign(value); }
81 inline QueryExecutionStatistics& WithDataManifestLocation(Aws::String&& value) { SetDataManifestLocation(std::move(value)); return *this;}
82 inline QueryExecutionStatistics& WithDataManifestLocation(const char* value) { SetDataManifestLocation(value); return *this;}
84
86
89 inline long long GetTotalExecutionTimeInMillis() const{ return m_totalExecutionTimeInMillis; }
90 inline bool TotalExecutionTimeInMillisHasBeenSet() const { return m_totalExecutionTimeInMillisHasBeenSet; }
91 inline void SetTotalExecutionTimeInMillis(long long value) { m_totalExecutionTimeInMillisHasBeenSet = true; m_totalExecutionTimeInMillis = value; }
94
96
101 inline long long GetQueryQueueTimeInMillis() const{ return m_queryQueueTimeInMillis; }
102 inline bool QueryQueueTimeInMillisHasBeenSet() const { return m_queryQueueTimeInMillisHasBeenSet; }
103 inline void SetQueryQueueTimeInMillis(long long value) { m_queryQueueTimeInMillisHasBeenSet = true; m_queryQueueTimeInMillis = value; }
104 inline QueryExecutionStatistics& WithQueryQueueTimeInMillis(long long value) { SetQueryQueueTimeInMillis(value); return *this;}
106
108
112 inline long long GetServicePreProcessingTimeInMillis() const{ return m_servicePreProcessingTimeInMillis; }
113 inline bool ServicePreProcessingTimeInMillisHasBeenSet() const { return m_servicePreProcessingTimeInMillisHasBeenSet; }
114 inline void SetServicePreProcessingTimeInMillis(long long value) { m_servicePreProcessingTimeInMillisHasBeenSet = true; m_servicePreProcessingTimeInMillis = value; }
117
119
125 inline long long GetQueryPlanningTimeInMillis() const{ return m_queryPlanningTimeInMillis; }
126 inline bool QueryPlanningTimeInMillisHasBeenSet() const { return m_queryPlanningTimeInMillisHasBeenSet; }
127 inline void SetQueryPlanningTimeInMillis(long long value) { m_queryPlanningTimeInMillisHasBeenSet = true; m_queryPlanningTimeInMillis = value; }
130
132
136 inline long long GetServiceProcessingTimeInMillis() const{ return m_serviceProcessingTimeInMillis; }
137 inline bool ServiceProcessingTimeInMillisHasBeenSet() const { return m_serviceProcessingTimeInMillisHasBeenSet; }
138 inline void SetServiceProcessingTimeInMillis(long long value) { m_serviceProcessingTimeInMillisHasBeenSet = true; m_serviceProcessingTimeInMillis = value; }
141
143
147 inline const ResultReuseInformation& GetResultReuseInformation() const{ return m_resultReuseInformation; }
148 inline bool ResultReuseInformationHasBeenSet() const { return m_resultReuseInformationHasBeenSet; }
149 inline void SetResultReuseInformation(const ResultReuseInformation& value) { m_resultReuseInformationHasBeenSet = true; m_resultReuseInformation = value; }
150 inline void SetResultReuseInformation(ResultReuseInformation&& value) { m_resultReuseInformationHasBeenSet = true; m_resultReuseInformation = std::move(value); }
154 private:
155
156 long long m_engineExecutionTimeInMillis;
157 bool m_engineExecutionTimeInMillisHasBeenSet = false;
158
159 long long m_dataScannedInBytes;
160 bool m_dataScannedInBytesHasBeenSet = false;
161
162 Aws::String m_dataManifestLocation;
163 bool m_dataManifestLocationHasBeenSet = false;
164
165 long long m_totalExecutionTimeInMillis;
166 bool m_totalExecutionTimeInMillisHasBeenSet = false;
167
168 long long m_queryQueueTimeInMillis;
169 bool m_queryQueueTimeInMillisHasBeenSet = false;
170
171 long long m_servicePreProcessingTimeInMillis;
172 bool m_servicePreProcessingTimeInMillisHasBeenSet = false;
173
174 long long m_queryPlanningTimeInMillis;
175 bool m_queryPlanningTimeInMillisHasBeenSet = false;
176
177 long long m_serviceProcessingTimeInMillis;
178 bool m_serviceProcessingTimeInMillisHasBeenSet = false;
179
180 ResultReuseInformation m_resultReuseInformation;
181 bool m_resultReuseInformationHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace Athena
186} // namespace Aws
QueryExecutionStatistics & WithResultReuseInformation(const ResultReuseInformation &value)
QueryExecutionStatistics & WithQueryQueueTimeInMillis(long long value)
void SetResultReuseInformation(ResultReuseInformation &&value)
QueryExecutionStatistics & WithDataManifestLocation(Aws::String &&value)
const ResultReuseInformation & GetResultReuseInformation() const
QueryExecutionStatistics & WithTotalExecutionTimeInMillis(long long value)
QueryExecutionStatistics & WithServicePreProcessingTimeInMillis(long long value)
QueryExecutionStatistics & WithResultReuseInformation(ResultReuseInformation &&value)
QueryExecutionStatistics & WithDataManifestLocation(const Aws::String &value)
QueryExecutionStatistics & WithEngineExecutionTimeInMillis(long long value)
QueryExecutionStatistics & WithDataScannedInBytes(long long value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API QueryExecutionStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetResultReuseInformation(const ResultReuseInformation &value)
QueryExecutionStatistics & WithQueryPlanningTimeInMillis(long long value)
QueryExecutionStatistics & WithDataManifestLocation(const char *value)
QueryExecutionStatistics & WithServiceProcessingTimeInMillis(long long value)
AWS_ATHENA_API QueryExecutionStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue