AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTimeline(const QueryRuntimeStatisticsTimeline& value) { m_timelineHasBeenSet = true; m_timeline = value; }
49 inline void SetTimeline(QueryRuntimeStatisticsTimeline&& value) { m_timelineHasBeenSet = true; m_timeline = std::move(value); }
51 inline QueryRuntimeStatistics& WithTimeline(QueryRuntimeStatisticsTimeline&& value) { SetTimeline(std::move(value)); return *this;}
53
55
56 inline const QueryRuntimeStatisticsRows& GetRows() const{ return m_rows; }
57 inline bool RowsHasBeenSet() const { return m_rowsHasBeenSet; }
58 inline void SetRows(const QueryRuntimeStatisticsRows& value) { m_rowsHasBeenSet = true; m_rows = value; }
59 inline void SetRows(QueryRuntimeStatisticsRows&& value) { m_rowsHasBeenSet = true; m_rows = std::move(value); }
60 inline QueryRuntimeStatistics& WithRows(const QueryRuntimeStatisticsRows& value) { SetRows(value); return *this;}
61 inline QueryRuntimeStatistics& WithRows(QueryRuntimeStatisticsRows&& value) { SetRows(std::move(value)); return *this;}
63
65
70 inline const QueryStage& GetOutputStage() const{ return m_outputStage; }
71 inline bool OutputStageHasBeenSet() const { return m_outputStageHasBeenSet; }
72 inline void SetOutputStage(const QueryStage& value) { m_outputStageHasBeenSet = true; m_outputStage = value; }
73 inline void SetOutputStage(QueryStage&& value) { m_outputStageHasBeenSet = true; m_outputStage = std::move(value); }
74 inline QueryRuntimeStatistics& WithOutputStage(const QueryStage& value) { SetOutputStage(value); return *this;}
75 inline QueryRuntimeStatistics& WithOutputStage(QueryStage&& value) { SetOutputStage(std::move(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
QueryRuntimeStatistics & WithRows(const QueryRuntimeStatisticsRows &value)
void SetTimeline(const QueryRuntimeStatisticsTimeline &value)
QueryRuntimeStatistics & WithTimeline(QueryRuntimeStatisticsTimeline &&value)
void SetRows(const QueryRuntimeStatisticsRows &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRows(QueryRuntimeStatisticsRows &&value)
QueryRuntimeStatistics & WithTimeline(const QueryRuntimeStatisticsTimeline &value)
QueryRuntimeStatistics & WithOutputStage(const QueryStage &value)
void SetTimeline(QueryRuntimeStatisticsTimeline &&value)
const QueryRuntimeStatisticsTimeline & GetTimeline() const
QueryRuntimeStatistics & WithRows(QueryRuntimeStatisticsRows &&value)
QueryRuntimeStatistics & WithOutputStage(QueryStage &&value)
AWS_ATHENA_API QueryRuntimeStatistics(Aws::Utils::Json::JsonView jsonValue)
const QueryRuntimeStatisticsRows & GetRows() const
AWS_ATHENA_API QueryRuntimeStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue