7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/timestream-query/model/QueryStatus.h>
11#include <aws/timestream-query/model/QueryInsightsResponse.h>
12#include <aws/timestream-query/model/Row.h>
13#include <aws/timestream-query/model/ColumnInfo.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
28namespace TimestreamQuery
47 inline void SetQueryId(
const char* value) { m_queryId.assign(value); }
61 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
122 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
QueryResult & WithRequestId(const Aws::String &value)
QueryResult & AddColumnInfo(const ColumnInfo &value)
void SetNextToken(const char *value)
void SetQueryStatus(QueryStatus &&value)
QueryResult & AddRows(Row &&value)
QueryResult & WithQueryInsightsResponse(const QueryInsightsResponse &value)
const Aws::String & GetRequestId() const
const QueryStatus & GetQueryStatus() const
void SetQueryId(const char *value)
QueryResult & WithRequestId(Aws::String &&value)
QueryResult & WithQueryId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetRows(const Aws::Vector< Row > &value)
void SetQueryId(Aws::String &&value)
AWS_TIMESTREAMQUERY_API QueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TIMESTREAMQUERY_API QueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
QueryResult & WithQueryId(Aws::String &&value)
AWS_TIMESTREAMQUERY_API QueryResult()
const Aws::String & GetNextToken() const
QueryResult & WithNextToken(const char *value)
QueryResult & AddColumnInfo(ColumnInfo &&value)
void SetRows(Aws::Vector< Row > &&value)
QueryResult & AddRows(const Row &value)
void SetRequestId(const Aws::String &value)
QueryResult & WithQueryStatus(QueryStatus &&value)
void SetNextToken(Aws::String &&value)
const Aws::String & GetQueryId() const
void SetQueryStatus(const QueryStatus &value)
const QueryInsightsResponse & GetQueryInsightsResponse() const
void SetColumnInfo(const Aws::Vector< ColumnInfo > &value)
QueryResult & WithQueryStatus(const QueryStatus &value)
void SetRequestId(const char *value)
QueryResult & WithColumnInfo(Aws::Vector< ColumnInfo > &&value)
void SetNextToken(const Aws::String &value)
void SetQueryId(const Aws::String &value)
QueryResult & WithRequestId(const char *value)
QueryResult & WithRows(Aws::Vector< Row > &&value)
QueryResult & WithRows(const Aws::Vector< Row > &value)
void SetQueryInsightsResponse(const QueryInsightsResponse &value)
QueryResult & WithQueryInsightsResponse(QueryInsightsResponse &&value)
void SetQueryInsightsResponse(QueryInsightsResponse &&value)
const Aws::Vector< Row > & GetRows() const
QueryResult & WithQueryId(const char *value)
QueryResult & WithNextToken(Aws::String &&value)
QueryResult & WithNextToken(const Aws::String &value)
void SetColumnInfo(Aws::Vector< ColumnInfo > &&value)
QueryResult & WithColumnInfo(const Aws::Vector< ColumnInfo > &value)
const Aws::Vector< ColumnInfo > & GetColumnInfo() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue