AWS SDK for C++  1.9.104
AWS SDK for C++
QueryExecutionStatistics.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Athena
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline long long GetEngineExecutionTimeInMillis() const{ return m_engineExecutionTimeInMillis; }
46 
50  inline bool EngineExecutionTimeInMillisHasBeenSet() const { return m_engineExecutionTimeInMillisHasBeenSet; }
51 
55  inline void SetEngineExecutionTimeInMillis(long long value) { m_engineExecutionTimeInMillisHasBeenSet = true; m_engineExecutionTimeInMillis = value; }
56 
60  inline QueryExecutionStatistics& WithEngineExecutionTimeInMillis(long long value) { SetEngineExecutionTimeInMillis(value); return *this;}
61 
62 
66  inline long long GetDataScannedInBytes() const{ return m_dataScannedInBytes; }
67 
71  inline bool DataScannedInBytesHasBeenSet() const { return m_dataScannedInBytesHasBeenSet; }
72 
76  inline void SetDataScannedInBytes(long long value) { m_dataScannedInBytesHasBeenSet = true; m_dataScannedInBytes = value; }
77 
81  inline QueryExecutionStatistics& WithDataScannedInBytes(long long value) { SetDataScannedInBytes(value); return *this;}
82 
83 
95  inline const Aws::String& GetDataManifestLocation() const{ return m_dataManifestLocation; }
96 
108  inline bool DataManifestLocationHasBeenSet() const { return m_dataManifestLocationHasBeenSet; }
109 
121  inline void SetDataManifestLocation(const Aws::String& value) { m_dataManifestLocationHasBeenSet = true; m_dataManifestLocation = value; }
122 
134  inline void SetDataManifestLocation(Aws::String&& value) { m_dataManifestLocationHasBeenSet = true; m_dataManifestLocation = std::move(value); }
135 
147  inline void SetDataManifestLocation(const char* value) { m_dataManifestLocationHasBeenSet = true; m_dataManifestLocation.assign(value); }
148 
160  inline QueryExecutionStatistics& WithDataManifestLocation(const Aws::String& value) { SetDataManifestLocation(value); return *this;}
161 
173  inline QueryExecutionStatistics& WithDataManifestLocation(Aws::String&& value) { SetDataManifestLocation(std::move(value)); return *this;}
174 
186  inline QueryExecutionStatistics& WithDataManifestLocation(const char* value) { SetDataManifestLocation(value); return *this;}
187 
188 
192  inline long long GetTotalExecutionTimeInMillis() const{ return m_totalExecutionTimeInMillis; }
193 
197  inline bool TotalExecutionTimeInMillisHasBeenSet() const { return m_totalExecutionTimeInMillisHasBeenSet; }
198 
202  inline void SetTotalExecutionTimeInMillis(long long value) { m_totalExecutionTimeInMillisHasBeenSet = true; m_totalExecutionTimeInMillis = value; }
203 
207  inline QueryExecutionStatistics& WithTotalExecutionTimeInMillis(long long value) { SetTotalExecutionTimeInMillis(value); return *this;}
208 
209 
215  inline long long GetQueryQueueTimeInMillis() const{ return m_queryQueueTimeInMillis; }
216 
222  inline bool QueryQueueTimeInMillisHasBeenSet() const { return m_queryQueueTimeInMillisHasBeenSet; }
223 
229  inline void SetQueryQueueTimeInMillis(long long value) { m_queryQueueTimeInMillisHasBeenSet = true; m_queryQueueTimeInMillis = value; }
230 
236  inline QueryExecutionStatistics& WithQueryQueueTimeInMillis(long long value) { SetQueryQueueTimeInMillis(value); return *this;}
237 
238 
245  inline long long GetQueryPlanningTimeInMillis() const{ return m_queryPlanningTimeInMillis; }
246 
253  inline bool QueryPlanningTimeInMillisHasBeenSet() const { return m_queryPlanningTimeInMillisHasBeenSet; }
254 
261  inline void SetQueryPlanningTimeInMillis(long long value) { m_queryPlanningTimeInMillisHasBeenSet = true; m_queryPlanningTimeInMillis = value; }
262 
269  inline QueryExecutionStatistics& WithQueryPlanningTimeInMillis(long long value) { SetQueryPlanningTimeInMillis(value); return *this;}
270 
271 
276  inline long long GetServiceProcessingTimeInMillis() const{ return m_serviceProcessingTimeInMillis; }
277 
282  inline bool ServiceProcessingTimeInMillisHasBeenSet() const { return m_serviceProcessingTimeInMillisHasBeenSet; }
283 
288  inline void SetServiceProcessingTimeInMillis(long long value) { m_serviceProcessingTimeInMillisHasBeenSet = true; m_serviceProcessingTimeInMillis = value; }
289 
294  inline QueryExecutionStatistics& WithServiceProcessingTimeInMillis(long long value) { SetServiceProcessingTimeInMillis(value); return *this;}
295 
296  private:
297 
298  long long m_engineExecutionTimeInMillis;
299  bool m_engineExecutionTimeInMillisHasBeenSet;
300 
301  long long m_dataScannedInBytes;
302  bool m_dataScannedInBytesHasBeenSet;
303 
304  Aws::String m_dataManifestLocation;
305  bool m_dataManifestLocationHasBeenSet;
306 
307  long long m_totalExecutionTimeInMillis;
308  bool m_totalExecutionTimeInMillisHasBeenSet;
309 
310  long long m_queryQueueTimeInMillis;
311  bool m_queryQueueTimeInMillisHasBeenSet;
312 
313  long long m_queryPlanningTimeInMillis;
314  bool m_queryPlanningTimeInMillisHasBeenSet;
315 
316  long long m_serviceProcessingTimeInMillis;
317  bool m_serviceProcessingTimeInMillisHasBeenSet;
318  };
319 
320 } // namespace Model
321 } // namespace Athena
322 } // namespace Aws
Aws::Athena::Model::QueryExecutionStatistics::EngineExecutionTimeInMillisHasBeenSet
bool EngineExecutionTimeInMillisHasBeenSet() const
Definition: QueryExecutionStatistics.h:50
Aws::Athena::Model::QueryExecutionStatistics::WithServiceProcessingTimeInMillis
QueryExecutionStatistics & WithServiceProcessingTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:294
Aws::Athena::Model::QueryExecutionStatistics::SetDataScannedInBytes
void SetDataScannedInBytes(long long value)
Definition: QueryExecutionStatistics.h:76
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::QueryExecutionStatistics::QueryExecutionStatistics
QueryExecutionStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::QueryExecutionStatistics::operator=
QueryExecutionStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::QueryExecutionStatistics::DataScannedInBytesHasBeenSet
bool DataScannedInBytesHasBeenSet() const
Definition: QueryExecutionStatistics.h:71
Aws::Athena::Model::QueryExecutionStatistics::SetEngineExecutionTimeInMillis
void SetEngineExecutionTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:55
Aws::Athena::Model::QueryExecutionStatistics::SetDataManifestLocation
void SetDataManifestLocation(const char *value)
Definition: QueryExecutionStatistics.h:147
Aws::Athena::Model::QueryExecutionStatistics::GetTotalExecutionTimeInMillis
long long GetTotalExecutionTimeInMillis() const
Definition: QueryExecutionStatistics.h:192
Aws::Athena::Model::QueryExecutionStatistics::WithEngineExecutionTimeInMillis
QueryExecutionStatistics & WithEngineExecutionTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:60
Aws::Athena::Model::QueryExecutionStatistics::DataManifestLocationHasBeenSet
bool DataManifestLocationHasBeenSet() const
Definition: QueryExecutionStatistics.h:108
Aws::Athena::Model::QueryExecutionStatistics::GetQueryPlanningTimeInMillis
long long GetQueryPlanningTimeInMillis() const
Definition: QueryExecutionStatistics.h:245
Aws::Athena::Model::QueryExecutionStatistics::SetQueryPlanningTimeInMillis
void SetQueryPlanningTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:261
Aws::Athena::Model::QueryExecutionStatistics::QueryQueueTimeInMillisHasBeenSet
bool QueryQueueTimeInMillisHasBeenSet() const
Definition: QueryExecutionStatistics.h:222
Aws::Athena::Model::QueryExecutionStatistics::SetQueryQueueTimeInMillis
void SetQueryQueueTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:229
Aws::Athena::Model::QueryExecutionStatistics::GetQueryQueueTimeInMillis
long long GetQueryQueueTimeInMillis() const
Definition: QueryExecutionStatistics.h:215
Aws::Athena::Model::QueryExecutionStatistics
Definition: QueryExecutionStatistics.h:34
Aws::Athena::Model::QueryExecutionStatistics::WithQueryPlanningTimeInMillis
QueryExecutionStatistics & WithQueryPlanningTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:269
Aws::Athena::Model::QueryExecutionStatistics::WithDataScannedInBytes
QueryExecutionStatistics & WithDataScannedInBytes(long long value)
Definition: QueryExecutionStatistics.h:81
Aws::Athena::Model::QueryExecutionStatistics::WithTotalExecutionTimeInMillis
QueryExecutionStatistics & WithTotalExecutionTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:207
Aws::Athena::Model::QueryExecutionStatistics::SetDataManifestLocation
void SetDataManifestLocation(const Aws::String &value)
Definition: QueryExecutionStatistics.h:121
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::QueryExecutionStatistics::QueryPlanningTimeInMillisHasBeenSet
bool QueryPlanningTimeInMillisHasBeenSet() const
Definition: QueryExecutionStatistics.h:253
Aws::Athena::Model::QueryExecutionStatistics::SetTotalExecutionTimeInMillis
void SetTotalExecutionTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:202
Aws::Athena::Model::QueryExecutionStatistics::GetEngineExecutionTimeInMillis
long long GetEngineExecutionTimeInMillis() const
Definition: QueryExecutionStatistics.h:45
Aws::Athena::Model::QueryExecutionStatistics::QueryExecutionStatistics
QueryExecutionStatistics()
Aws::Athena::Model::QueryExecutionStatistics::GetDataManifestLocation
const Aws::String & GetDataManifestLocation() const
Definition: QueryExecutionStatistics.h:95
Aws::Athena::Model::QueryExecutionStatistics::GetDataScannedInBytes
long long GetDataScannedInBytes() const
Definition: QueryExecutionStatistics.h:66
Aws::Athena::Model::QueryExecutionStatistics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::QueryExecutionStatistics::TotalExecutionTimeInMillisHasBeenSet
bool TotalExecutionTimeInMillisHasBeenSet() const
Definition: QueryExecutionStatistics.h:197
Aws::Athena::Model::QueryExecutionStatistics::WithDataManifestLocation
QueryExecutionStatistics & WithDataManifestLocation(Aws::String &&value)
Definition: QueryExecutionStatistics.h:173
Aws::Athena::Model::QueryExecutionStatistics::WithDataManifestLocation
QueryExecutionStatistics & WithDataManifestLocation(const Aws::String &value)
Definition: QueryExecutionStatistics.h:160
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::QueryExecutionStatistics::WithDataManifestLocation
QueryExecutionStatistics & WithDataManifestLocation(const char *value)
Definition: QueryExecutionStatistics.h:186
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::QueryExecutionStatistics::WithQueryQueueTimeInMillis
QueryExecutionStatistics & WithQueryQueueTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:236
Aws::Athena::Model::QueryExecutionStatistics::SetServiceProcessingTimeInMillis
void SetServiceProcessingTimeInMillis(long long value)
Definition: QueryExecutionStatistics.h:288
Aws::Athena::Model::QueryExecutionStatistics::GetServiceProcessingTimeInMillis
long long GetServiceProcessingTimeInMillis() const
Definition: QueryExecutionStatistics.h:276
Aws::Athena::Model::QueryExecutionStatistics::ServiceProcessingTimeInMillisHasBeenSet
bool ServiceProcessingTimeInMillisHasBeenSet() const
Definition: QueryExecutionStatistics.h:282
Aws::Athena::Model::QueryExecutionStatistics::SetDataManifestLocation
void SetDataManifestLocation(Aws::String &&value)
Definition: QueryExecutionStatistics.h:134