AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryInsightsResponse.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/QuerySpatialCoverage.h>
9#include <aws/timestream-query/model/QueryTemporalRange.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 TimestreamQuery
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TIMESTREAMQUERY_API QueryInsightsResponse();
37 AWS_TIMESTREAMQUERY_API QueryInsightsResponse(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMQUERY_API QueryInsightsResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const QuerySpatialCoverage& GetQuerySpatialCoverage() const{ return m_querySpatialCoverage; }
50 inline bool QuerySpatialCoverageHasBeenSet() const { return m_querySpatialCoverageHasBeenSet; }
51 inline void SetQuerySpatialCoverage(const QuerySpatialCoverage& value) { m_querySpatialCoverageHasBeenSet = true; m_querySpatialCoverage = value; }
52 inline void SetQuerySpatialCoverage(QuerySpatialCoverage&& value) { m_querySpatialCoverageHasBeenSet = true; m_querySpatialCoverage = std::move(value); }
56
58
66 inline const QueryTemporalRange& GetQueryTemporalRange() const{ return m_queryTemporalRange; }
67 inline bool QueryTemporalRangeHasBeenSet() const { return m_queryTemporalRangeHasBeenSet; }
68 inline void SetQueryTemporalRange(const QueryTemporalRange& value) { m_queryTemporalRangeHasBeenSet = true; m_queryTemporalRange = value; }
69 inline void SetQueryTemporalRange(QueryTemporalRange&& value) { m_queryTemporalRangeHasBeenSet = true; m_queryTemporalRange = std::move(value); }
71 inline QueryInsightsResponse& WithQueryTemporalRange(QueryTemporalRange&& value) { SetQueryTemporalRange(std::move(value)); return *this;}
73
75
78 inline long long GetQueryTableCount() const{ return m_queryTableCount; }
79 inline bool QueryTableCountHasBeenSet() const { return m_queryTableCountHasBeenSet; }
80 inline void SetQueryTableCount(long long value) { m_queryTableCountHasBeenSet = true; m_queryTableCount = value; }
81 inline QueryInsightsResponse& WithQueryTableCount(long long value) { SetQueryTableCount(value); return *this;}
83
85
90 inline long long GetOutputRows() const{ return m_outputRows; }
91 inline bool OutputRowsHasBeenSet() const { return m_outputRowsHasBeenSet; }
92 inline void SetOutputRows(long long value) { m_outputRowsHasBeenSet = true; m_outputRows = value; }
93 inline QueryInsightsResponse& WithOutputRows(long long value) { SetOutputRows(value); return *this;}
95
97
101 inline long long GetOutputBytes() const{ return m_outputBytes; }
102 inline bool OutputBytesHasBeenSet() const { return m_outputBytesHasBeenSet; }
103 inline void SetOutputBytes(long long value) { m_outputBytesHasBeenSet = true; m_outputBytes = value; }
104 inline QueryInsightsResponse& WithOutputBytes(long long value) { SetOutputBytes(value); return *this;}
106
108
111 inline long long GetUnloadPartitionCount() const{ return m_unloadPartitionCount; }
112 inline bool UnloadPartitionCountHasBeenSet() const { return m_unloadPartitionCountHasBeenSet; }
113 inline void SetUnloadPartitionCount(long long value) { m_unloadPartitionCountHasBeenSet = true; m_unloadPartitionCount = value; }
114 inline QueryInsightsResponse& WithUnloadPartitionCount(long long value) { SetUnloadPartitionCount(value); return *this;}
116
118
121 inline long long GetUnloadWrittenRows() const{ return m_unloadWrittenRows; }
122 inline bool UnloadWrittenRowsHasBeenSet() const { return m_unloadWrittenRowsHasBeenSet; }
123 inline void SetUnloadWrittenRows(long long value) { m_unloadWrittenRowsHasBeenSet = true; m_unloadWrittenRows = value; }
124 inline QueryInsightsResponse& WithUnloadWrittenRows(long long value) { SetUnloadWrittenRows(value); return *this;}
126
128
132 inline long long GetUnloadWrittenBytes() const{ return m_unloadWrittenBytes; }
133 inline bool UnloadWrittenBytesHasBeenSet() const { return m_unloadWrittenBytesHasBeenSet; }
134 inline void SetUnloadWrittenBytes(long long value) { m_unloadWrittenBytesHasBeenSet = true; m_unloadWrittenBytes = value; }
135 inline QueryInsightsResponse& WithUnloadWrittenBytes(long long value) { SetUnloadWrittenBytes(value); return *this;}
137 private:
138
139 QuerySpatialCoverage m_querySpatialCoverage;
140 bool m_querySpatialCoverageHasBeenSet = false;
141
142 QueryTemporalRange m_queryTemporalRange;
143 bool m_queryTemporalRangeHasBeenSet = false;
144
145 long long m_queryTableCount;
146 bool m_queryTableCountHasBeenSet = false;
147
148 long long m_outputRows;
149 bool m_outputRowsHasBeenSet = false;
150
151 long long m_outputBytes;
152 bool m_outputBytesHasBeenSet = false;
153
154 long long m_unloadPartitionCount;
155 bool m_unloadPartitionCountHasBeenSet = false;
156
157 long long m_unloadWrittenRows;
158 bool m_unloadWrittenRowsHasBeenSet = false;
159
160 long long m_unloadWrittenBytes;
161 bool m_unloadWrittenBytesHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace TimestreamQuery
166} // namespace Aws
QueryInsightsResponse & WithOutputRows(long long value)
void SetQuerySpatialCoverage(QuerySpatialCoverage &&value)
QueryInsightsResponse & WithUnloadPartitionCount(long long value)
QueryInsightsResponse & WithQuerySpatialCoverage(const QuerySpatialCoverage &value)
QueryInsightsResponse & WithOutputBytes(long long value)
const QueryTemporalRange & GetQueryTemporalRange() const
QueryInsightsResponse & WithQueryTemporalRange(QueryTemporalRange &&value)
AWS_TIMESTREAMQUERY_API QueryInsightsResponse(Aws::Utils::Json::JsonView jsonValue)
QueryInsightsResponse & WithUnloadWrittenRows(long long value)
void SetQueryTemporalRange(const QueryTemporalRange &value)
void SetQuerySpatialCoverage(const QuerySpatialCoverage &value)
AWS_TIMESTREAMQUERY_API QueryInsightsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const QuerySpatialCoverage & GetQuerySpatialCoverage() const
QueryInsightsResponse & WithQuerySpatialCoverage(QuerySpatialCoverage &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
QueryInsightsResponse & WithQueryTableCount(long long value)
QueryInsightsResponse & WithUnloadWrittenBytes(long long value)
QueryInsightsResponse & WithQueryTemporalRange(const QueryTemporalRange &value)
Aws::Utils::Json::JsonValue JsonValue