7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/QueryStatus.h>
9#include <aws/cloudtrail/model/QueryStatistics.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
83 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
107 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetQueryResultsResult & WithQueryStatus(QueryStatus &&value)
void SetNextToken(const Aws::String &value)
GetQueryResultsResult & WithErrorMessage(const char *value)
void SetQueryStatus(const QueryStatus &value)
GetQueryResultsResult & WithQueryStatistics(const QueryStatistics &value)
void SetErrorMessage(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_CLOUDTRAIL_API GetQueryResultsResult()
GetQueryResultsResult & WithNextToken(Aws::String &&value)
void SetRequestId(Aws::String &&value)
GetQueryResultsResult & AddQueryResultRows(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
GetQueryResultsResult & WithErrorMessage(Aws::String &&value)
const Aws::String & GetErrorMessage() const
GetQueryResultsResult & WithRequestId(const char *value)
GetQueryResultsResult & WithQueryStatistics(QueryStatistics &&value)
GetQueryResultsResult & WithQueryResultRows(const Aws::Vector< Aws::Vector< Aws::Map< Aws::String, Aws::String > > > &value)
GetQueryResultsResult & WithQueryResultRows(Aws::Vector< Aws::Vector< Aws::Map< Aws::String, Aws::String > > > &&value)
void SetRequestId(const char *value)
void SetQueryResultRows(const Aws::Vector< Aws::Vector< Aws::Map< Aws::String, Aws::String > > > &value)
const Aws::String & GetNextToken() const
GetQueryResultsResult & WithNextToken(const Aws::String &value)
const QueryStatus & GetQueryStatus() const
GetQueryResultsResult & WithNextToken(const char *value)
GetQueryResultsResult & WithQueryStatus(const QueryStatus &value)
const Aws::String & GetRequestId() const
void SetQueryStatistics(QueryStatistics &&value)
GetQueryResultsResult & WithErrorMessage(const Aws::String &value)
GetQueryResultsResult & WithRequestId(const Aws::String &value)
const Aws::Vector< Aws::Vector< Aws::Map< Aws::String, Aws::String > > > & GetQueryResultRows() const
AWS_CLOUDTRAIL_API GetQueryResultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetErrorMessage(const char *value)
AWS_CLOUDTRAIL_API GetQueryResultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueryStatus(QueryStatus &&value)
const QueryStatistics & GetQueryStatistics() const
void SetQueryStatistics(const QueryStatistics &value)
void SetNextToken(const char *value)
GetQueryResultsResult & WithRequestId(Aws::String &&value)
void SetNextToken(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
GetQueryResultsResult & AddQueryResultRows(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
void SetQueryResultRows(Aws::Vector< Aws::Vector< Aws::Map< Aws::String, Aws::String > > > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue