7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
11#include <aws/timestream-query/model/ColumnInfo.h>
12#include <aws/timestream-query/model/QueryInsightsResponse.h>
13#include <aws/timestream-query/model/QueryStatus.h>
14#include <aws/timestream-query/model/Row.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace TimestreamQuery {
40 template <
typename QueryIdT = Aws::String>
42 m_queryIdHasBeenSet =
true;
43 m_queryId = std::forward<QueryIdT>(value);
45 template <
typename QueryIdT = Aws::String>
58 template <
typename NextTokenT = Aws::String>
60 m_nextTokenHasBeenSet =
true;
61 m_nextToken = std::forward<NextTokenT>(value);
63 template <
typename NextTokenT = Aws::String>
75 template <
typename RowsT = Aws::Vector<Row>>
77 m_rowsHasBeenSet =
true;
78 m_rows = std::forward<RowsT>(value);
80 template <
typename RowsT = Aws::Vector<Row>>
82 SetRows(std::forward<RowsT>(value));
85 template <
typename RowsT = Row>
87 m_rowsHasBeenSet =
true;
88 m_rows.emplace_back(std::forward<RowsT>(value));
98 template <
typename ColumnInfoT = Aws::Vector<ColumnInfo>>
100 m_columnInfoHasBeenSet =
true;
101 m_columnInfo = std::forward<ColumnInfoT>(value);
103 template <
typename ColumnInfoT = Aws::Vector<ColumnInfo>>
108 template <
typename ColumnInfoT = ColumnInfo>
110 m_columnInfoHasBeenSet =
true;
111 m_columnInfo.emplace_back(std::forward<ColumnInfoT>(value));
122 template <
typename QueryStatusT = QueryStatus>
124 m_queryStatusHasBeenSet =
true;
125 m_queryStatus = std::forward<QueryStatusT>(value);
127 template <
typename QueryStatusT = QueryStatus>
140 template <
typename QueryInsightsResponseT = QueryInsightsResponse>
142 m_queryInsightsResponseHasBeenSet =
true;
143 m_queryInsightsResponse = std::forward<QueryInsightsResponseT>(value);
145 template <
typename QueryInsightsResponseT = QueryInsightsResponse>
155 template <
typename RequestIdT = Aws::String>
157 m_requestIdHasBeenSet =
true;
158 m_requestId = std::forward<RequestIdT>(value);
160 template <
typename RequestIdT = Aws::String>
183 bool m_queryIdHasBeenSet =
false;
184 bool m_nextTokenHasBeenSet =
false;
185 bool m_rowsHasBeenSet =
false;
186 bool m_columnInfoHasBeenSet =
false;
187 bool m_queryStatusHasBeenSet =
false;
188 bool m_queryInsightsResponseHasBeenSet =
false;
189 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
const QueryStatus & GetQueryStatus() const
void SetRows(RowsT &&value)
QueryResult & AddRows(RowsT &&value)
QueryResult & WithQueryId(QueryIdT &&value)
AWS_TIMESTREAMQUERY_API QueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
QueryResult & WithQueryInsightsResponse(QueryInsightsResponseT &&value)
AWS_TIMESTREAMQUERY_API QueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueryInsightsResponse(QueryInsightsResponseT &&value)
QueryResult & WithColumnInfo(ColumnInfoT &&value)
const Aws::String & GetNextToken() const
void SetColumnInfo(ColumnInfoT &&value)
QueryResult & WithQueryStatus(QueryStatusT &&value)
QueryResult & WithNextToken(NextTokenT &&value)
void SetQueryId(QueryIdT &&value)
const Aws::String & GetQueryId() const
void SetQueryStatus(QueryStatusT &&value)
const QueryInsightsResponse & GetQueryInsightsResponse() const
QueryResult & AddColumnInfo(ColumnInfoT &&value)
AWS_TIMESTREAMQUERY_API QueryResult()=default
void SetRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
QueryResult & WithRows(RowsT &&value)
QueryResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Row > & GetRows() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< ColumnInfo > & GetColumnInfo() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue