AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename QuerySpatialCoverageT = QuerySpatialCoverage>
52 void SetQuerySpatialCoverage(QuerySpatialCoverageT&& value) { m_querySpatialCoverageHasBeenSet = true; m_querySpatialCoverage = std::forward<QuerySpatialCoverageT>(value); }
53 template<typename QuerySpatialCoverageT = QuerySpatialCoverage>
54 QueryInsightsResponse& WithQuerySpatialCoverage(QuerySpatialCoverageT&& value) { SetQuerySpatialCoverage(std::forward<QuerySpatialCoverageT>(value)); return *this;}
56
58
66 inline const QueryTemporalRange& GetQueryTemporalRange() const { return m_queryTemporalRange; }
67 inline bool QueryTemporalRangeHasBeenSet() const { return m_queryTemporalRangeHasBeenSet; }
68 template<typename QueryTemporalRangeT = QueryTemporalRange>
69 void SetQueryTemporalRange(QueryTemporalRangeT&& value) { m_queryTemporalRangeHasBeenSet = true; m_queryTemporalRange = std::forward<QueryTemporalRangeT>(value); }
70 template<typename QueryTemporalRangeT = QueryTemporalRange>
71 QueryInsightsResponse& WithQueryTemporalRange(QueryTemporalRangeT&& value) { SetQueryTemporalRange(std::forward<QueryTemporalRangeT>(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{0};
146 bool m_queryTableCountHasBeenSet = false;
147
148 long long m_outputRows{0};
149 bool m_outputRowsHasBeenSet = false;
150
151 long long m_outputBytes{0};
152 bool m_outputBytesHasBeenSet = false;
153
154 long long m_unloadPartitionCount{0};
155 bool m_unloadPartitionCountHasBeenSet = false;
156
157 long long m_unloadWrittenRows{0};
158 bool m_unloadWrittenRowsHasBeenSet = false;
159
160 long long m_unloadWrittenBytes{0};
161 bool m_unloadWrittenBytesHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace TimestreamQuery
166} // 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