7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
10#include <aws/timestream-query/model/ColumnInfo.h>
11#include <aws/timestream-query/model/QueryInsightsResponse.h>
12#include <aws/timestream-query/model/QueryStatus.h>
13#include <aws/timestream-query/model/Row.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace TimestreamQuery {
39 template <
typename QueryIdT = Aws::String>
41 m_queryIdHasBeenSet =
true;
42 m_queryId = std::forward<QueryIdT>(value);
44 template <
typename QueryIdT = Aws::String>
57 template <
typename NextTokenT = Aws::String>
59 m_nextTokenHasBeenSet =
true;
60 m_nextToken = std::forward<NextTokenT>(value);
62 template <
typename NextTokenT = Aws::String>
74 template <
typename RowsT = Aws::Vector<Row>>
76 m_rowsHasBeenSet =
true;
77 m_rows = std::forward<RowsT>(value);
79 template <
typename RowsT = Aws::Vector<Row>>
81 SetRows(std::forward<RowsT>(value));
84 template <
typename RowsT = Row>
86 m_rowsHasBeenSet =
true;
87 m_rows.emplace_back(std::forward<RowsT>(value));
97 template <
typename ColumnInfoT = Aws::Vector<ColumnInfo>>
99 m_columnInfoHasBeenSet =
true;
100 m_columnInfo = std::forward<ColumnInfoT>(value);
102 template <
typename ColumnInfoT = Aws::Vector<ColumnInfo>>
107 template <
typename ColumnInfoT = ColumnInfo>
109 m_columnInfoHasBeenSet =
true;
110 m_columnInfo.emplace_back(std::forward<ColumnInfoT>(value));
121 template <
typename QueryStatusT = QueryStatus>
123 m_queryStatusHasBeenSet =
true;
124 m_queryStatus = std::forward<QueryStatusT>(value);
126 template <
typename QueryStatusT = QueryStatus>
139 template <
typename QueryInsightsResponseT = QueryInsightsResponse>
141 m_queryInsightsResponseHasBeenSet =
true;
142 m_queryInsightsResponse = std::forward<QueryInsightsResponseT>(value);
144 template <
typename QueryInsightsResponseT = QueryInsightsResponse>
154 template <
typename RequestIdT = Aws::String>
156 m_requestIdHasBeenSet =
true;
157 m_requestId = std::forward<RequestIdT>(value);
159 template <
typename RequestIdT = Aws::String>
179 bool m_queryIdHasBeenSet =
false;
180 bool m_nextTokenHasBeenSet =
false;
181 bool m_rowsHasBeenSet =
false;
182 bool m_columnInfoHasBeenSet =
false;
183 bool m_queryStatusHasBeenSet =
false;
184 bool m_queryInsightsResponseHasBeenSet =
false;
185 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
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