7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/TimestreamQueryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-query/model/QueryInsights.h>
12#include <aws/core/utils/UUID.h>
16namespace TimestreamQuery
45 template<
typename QueryStringT = Aws::String>
47 template<
typename QueryStringT = Aws::String>
72 template<
typename ClientTokenT = Aws::String>
74 template<
typename ClientTokenT = Aws::String>
106 template<
typename NextTokenT = Aws::String>
108 template<
typename NextTokenT = Aws::String>
130 inline void SetMaxRows(
int value) { m_maxRowsHasBeenSet =
true; m_maxRows = value; }
143 template<
typename QueryInsightsT = QueryInsights>
145 template<
typename QueryInsightsT = QueryInsights>
151 bool m_queryStringHasBeenSet =
false;
154 bool m_clientTokenHasBeenSet =
true;
157 bool m_nextTokenHasBeenSet =
false;
160 bool m_maxRowsHasBeenSet =
false;
162 QueryInsights m_queryInsights;
163 bool m_queryInsightsHasBeenSet =
false;
void SetQueryInsights(QueryInsightsT &&value)
QueryRequest & WithClientToken(ClientTokenT &&value)
void SetNextToken(NextTokenT &&value)
QueryRequest & WithQueryString(QueryStringT &&value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
QueryRequest & WithNextToken(NextTokenT &&value)
bool QueryStringHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
void SetQueryString(QueryStringT &&value)
void SetMaxRows(int value)
AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
bool MaxRowsHasBeenSet() const
bool QueryInsightsHasBeenSet() const
AWS_TIMESTREAMQUERY_API QueryRequest()=default
const Aws::String & GetNextToken() const
QueryRequest & WithMaxRows(int value)
const QueryInsights & GetQueryInsights() const
QueryRequest & WithQueryInsights(QueryInsightsT &&value)
AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetQueryString() const
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String