AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
QueryRuntimeStatistics.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/QueryRuntimeStatisticsRows.h>
9#include <aws/athena/model/QueryRuntimeStatisticsTimeline.h>
10#include <aws/athena/model/QueryStage.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Athena {
22namespace Model {
23
32 public:
33 AWS_ATHENA_API QueryRuntimeStatistics() = default;
36 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const QueryRuntimeStatisticsTimeline& GetTimeline() const { return m_timeline; }
41 inline bool TimelineHasBeenSet() const { return m_timelineHasBeenSet; }
42 template <typename TimelineT = QueryRuntimeStatisticsTimeline>
43 void SetTimeline(TimelineT&& value) {
44 m_timelineHasBeenSet = true;
45 m_timeline = std::forward<TimelineT>(value);
46 }
47 template <typename TimelineT = QueryRuntimeStatisticsTimeline>
49 SetTimeline(std::forward<TimelineT>(value));
50 return *this;
51 }
53
55
56 inline const QueryRuntimeStatisticsRows& GetRows() const { return m_rows; }
57 inline bool RowsHasBeenSet() const { return m_rowsHasBeenSet; }
58 template <typename RowsT = QueryRuntimeStatisticsRows>
59 void SetRows(RowsT&& value) {
60 m_rowsHasBeenSet = true;
61 m_rows = std::forward<RowsT>(value);
62 }
63 template <typename RowsT = QueryRuntimeStatisticsRows>
65 SetRows(std::forward<RowsT>(value));
66 return *this;
67 }
69
71
76 inline const QueryStage& GetOutputStage() const { return m_outputStage; }
77 inline bool OutputStageHasBeenSet() const { return m_outputStageHasBeenSet; }
78 template <typename OutputStageT = QueryStage>
79 void SetOutputStage(OutputStageT&& value) {
80 m_outputStageHasBeenSet = true;
81 m_outputStage = std::forward<OutputStageT>(value);
82 }
83 template <typename OutputStageT = QueryStage>
84 QueryRuntimeStatistics& WithOutputStage(OutputStageT&& value) {
85 SetOutputStage(std::forward<OutputStageT>(value));
86 return *this;
87 }
89 private:
91
93
94 QueryStage m_outputStage;
95 bool m_timelineHasBeenSet = false;
96 bool m_rowsHasBeenSet = false;
97 bool m_outputStageHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Athena
102} // namespace Aws
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
const QueryRuntimeStatisticsTimeline & GetTimeline() const
AWS_ATHENA_API QueryRuntimeStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API QueryRuntimeStatistics()=default
QueryRuntimeStatistics & WithRows(RowsT &&value)
QueryRuntimeStatistics & WithOutputStage(OutputStageT &&value)
const QueryRuntimeStatisticsRows & GetRows() const
AWS_ATHENA_API QueryRuntimeStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryRuntimeStatistics & WithTimeline(TimelineT &&value)
Aws::Utils::Json::JsonValue JsonValue