AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
30 public:
31 AWS_TIMESTREAMQUERY_API QueryInsightsResponse() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const QuerySpatialCoverage& GetQuerySpatialCoverage() const { return m_querySpatialCoverage; }
44 inline bool QuerySpatialCoverageHasBeenSet() const { return m_querySpatialCoverageHasBeenSet; }
45 template <typename QuerySpatialCoverageT = QuerySpatialCoverage>
47 m_querySpatialCoverageHasBeenSet = true;
48 m_querySpatialCoverage = std::forward<QuerySpatialCoverageT>(value);
49 }
50 template <typename QuerySpatialCoverageT = QuerySpatialCoverage>
52 SetQuerySpatialCoverage(std::forward<QuerySpatialCoverageT>(value));
53 return *this;
54 }
56
58
66 inline const QueryTemporalRange& GetQueryTemporalRange() const { return m_queryTemporalRange; }
67 inline bool QueryTemporalRangeHasBeenSet() const { return m_queryTemporalRangeHasBeenSet; }
68 template <typename QueryTemporalRangeT = QueryTemporalRange>
70 m_queryTemporalRangeHasBeenSet = true;
71 m_queryTemporalRange = std::forward<QueryTemporalRangeT>(value);
72 }
73 template <typename QueryTemporalRangeT = QueryTemporalRange>
75 SetQueryTemporalRange(std::forward<QueryTemporalRangeT>(value));
76 return *this;
77 }
79
81
84 inline long long GetQueryTableCount() const { return m_queryTableCount; }
85 inline bool QueryTableCountHasBeenSet() const { return m_queryTableCountHasBeenSet; }
86 inline void SetQueryTableCount(long long value) {
87 m_queryTableCountHasBeenSet = true;
88 m_queryTableCount = value;
89 }
90 inline QueryInsightsResponse& WithQueryTableCount(long long value) {
91 SetQueryTableCount(value);
92 return *this;
93 }
95
97
102 inline long long GetOutputRows() const { return m_outputRows; }
103 inline bool OutputRowsHasBeenSet() const { return m_outputRowsHasBeenSet; }
104 inline void SetOutputRows(long long value) {
105 m_outputRowsHasBeenSet = true;
106 m_outputRows = value;
107 }
108 inline QueryInsightsResponse& WithOutputRows(long long value) {
109 SetOutputRows(value);
110 return *this;
111 }
113
115
119 inline long long GetOutputBytes() const { return m_outputBytes; }
120 inline bool OutputBytesHasBeenSet() const { return m_outputBytesHasBeenSet; }
121 inline void SetOutputBytes(long long value) {
122 m_outputBytesHasBeenSet = true;
123 m_outputBytes = value;
124 }
125 inline QueryInsightsResponse& WithOutputBytes(long long value) {
126 SetOutputBytes(value);
127 return *this;
128 }
130
132
135 inline long long GetUnloadPartitionCount() const { return m_unloadPartitionCount; }
136 inline bool UnloadPartitionCountHasBeenSet() const { return m_unloadPartitionCountHasBeenSet; }
137 inline void SetUnloadPartitionCount(long long value) {
138 m_unloadPartitionCountHasBeenSet = true;
139 m_unloadPartitionCount = value;
140 }
143 return *this;
144 }
146
148
151 inline long long GetUnloadWrittenRows() const { return m_unloadWrittenRows; }
152 inline bool UnloadWrittenRowsHasBeenSet() const { return m_unloadWrittenRowsHasBeenSet; }
153 inline void SetUnloadWrittenRows(long long value) {
154 m_unloadWrittenRowsHasBeenSet = true;
155 m_unloadWrittenRows = value;
156 }
159 return *this;
160 }
162
164
168 inline long long GetUnloadWrittenBytes() const { return m_unloadWrittenBytes; }
169 inline bool UnloadWrittenBytesHasBeenSet() const { return m_unloadWrittenBytesHasBeenSet; }
170 inline void SetUnloadWrittenBytes(long long value) {
171 m_unloadWrittenBytesHasBeenSet = true;
172 m_unloadWrittenBytes = value;
173 }
176 return *this;
177 }
179 private:
180 QuerySpatialCoverage m_querySpatialCoverage;
181
182 QueryTemporalRange m_queryTemporalRange;
183
184 long long m_queryTableCount{0};
185
186 long long m_outputRows{0};
187
188 long long m_outputBytes{0};
189
190 long long m_unloadPartitionCount{0};
191
192 long long m_unloadWrittenRows{0};
193
194 long long m_unloadWrittenBytes{0};
195 bool m_querySpatialCoverageHasBeenSet = false;
196 bool m_queryTemporalRangeHasBeenSet = false;
197 bool m_queryTableCountHasBeenSet = false;
198 bool m_outputRowsHasBeenSet = false;
199 bool m_outputBytesHasBeenSet = false;
200 bool m_unloadPartitionCountHasBeenSet = false;
201 bool m_unloadWrittenRowsHasBeenSet = false;
202 bool m_unloadWrittenBytesHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace TimestreamQuery
207} // namespace Aws
void SetQuerySpatialCoverage(QuerySpatialCoverageT &&value)
QueryInsightsResponse & WithOutputRows(long long value)
QueryInsightsResponse & WithUnloadPartitionCount(long long value)
QueryInsightsResponse & WithOutputBytes(long long value)
void SetQueryTemporalRange(QueryTemporalRangeT &&value)
const QueryTemporalRange & GetQueryTemporalRange() const
AWS_TIMESTREAMQUERY_API QueryInsightsResponse(Aws::Utils::Json::JsonView jsonValue)
QueryInsightsResponse & WithUnloadWrittenRows(long long value)
AWS_TIMESTREAMQUERY_API QueryInsightsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const QuerySpatialCoverage & GetQuerySpatialCoverage() const
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
QueryInsightsResponse & WithQueryTemporalRange(QueryTemporalRangeT &&value)
QueryInsightsResponse & WithQueryTableCount(long long value)
QueryInsightsResponse & WithUnloadWrittenBytes(long long value)
AWS_TIMESTREAMQUERY_API QueryInsightsResponse()=default
QueryInsightsResponse & WithQuerySpatialCoverage(QuerySpatialCoverageT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue