AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QueryRuntimeStatistics.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/QueryRuntimeStatisticsTimeline.h>
9#include <aws/athena/model/QueryRuntimeStatisticsRows.h>
10#include <aws/athena/model/QueryStage.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Athena
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_ATHENA_API QueryRuntimeStatistics() = default;
41 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const QueryRuntimeStatisticsTimeline& GetTimeline() const { return m_timeline; }
47 inline bool TimelineHasBeenSet() const { return m_timelineHasBeenSet; }
48 template<typename TimelineT = QueryRuntimeStatisticsTimeline>
49 void SetTimeline(TimelineT&& value) { m_timelineHasBeenSet = true; m_timeline = std::forward<TimelineT>(value); }
50 template<typename TimelineT = QueryRuntimeStatisticsTimeline>
51 QueryRuntimeStatistics& WithTimeline(TimelineT&& value) { SetTimeline(std::forward<TimelineT>(value)); return *this;}
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) { m_rowsHasBeenSet = true; m_rows = std::forward<RowsT>(value); }
60 template<typename RowsT = QueryRuntimeStatisticsRows>
61 QueryRuntimeStatistics& WithRows(RowsT&& value) { SetRows(std::forward<RowsT>(value)); return *this;}
63
65
70 inline const QueryStage& GetOutputStage() const { return m_outputStage; }
71 inline bool OutputStageHasBeenSet() const { return m_outputStageHasBeenSet; }
72 template<typename OutputStageT = QueryStage>
73 void SetOutputStage(OutputStageT&& value) { m_outputStageHasBeenSet = true; m_outputStage = std::forward<OutputStageT>(value); }
74 template<typename OutputStageT = QueryStage>
75 QueryRuntimeStatistics& WithOutputStage(OutputStageT&& value) { SetOutputStage(std::forward<OutputStageT>(value)); return *this;}
77 private:
78
80 bool m_timelineHasBeenSet = false;
81
83 bool m_rowsHasBeenSet = false;
84
85 QueryStage m_outputStage;
86 bool m_outputStageHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Athena
91} // 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