7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/QueryStatus.h>
10#include <aws/cloudtrail/model/QueryStatisticsForDescribeQuery.h>
11#include <aws/cloudtrail/model/DeliveryStatus.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 inline void SetQueryId(
const char* value) { m_queryId.assign(value); }
58 inline void SetQueryString(
const char* value) { m_queryString.assign(value); }
133 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
DescribeQueryResult & WithDeliveryS3Uri(const Aws::String &value)
void SetQueryStatus(const QueryStatus &value)
void SetErrorMessage(Aws::String &&value)
const QueryStatisticsForDescribeQuery & GetQueryStatistics() const
DescribeQueryResult & WithDeliveryStatus(DeliveryStatus &&value)
DescribeQueryResult & WithQueryString(Aws::String &&value)
void SetQueryString(const char *value)
void SetQueryId(const char *value)
void SetQueryStatistics(QueryStatisticsForDescribeQuery &&value)
void SetDeliveryS3Uri(const Aws::String &value)
DescribeQueryResult & WithErrorMessage(Aws::String &&value)
DescribeQueryResult & WithQueryString(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetQueryStatus(QueryStatus &&value)
const Aws::String & GetQueryId() const
const DeliveryStatus & GetDeliveryStatus() const
void SetQueryStatistics(const QueryStatisticsForDescribeQuery &value)
void SetErrorMessage(const char *value)
DescribeQueryResult & WithErrorMessage(const Aws::String &value)
const Aws::String & GetQueryString() const
DescribeQueryResult & WithQueryStatus(QueryStatus &&value)
DescribeQueryResult & WithDeliveryS3Uri(const char *value)
void SetDeliveryStatus(const DeliveryStatus &value)
void SetRequestId(const Aws::String &value)
AWS_CLOUDTRAIL_API DescribeQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeQueryResult & WithQueryString(const char *value)
AWS_CLOUDTRAIL_API DescribeQueryResult()
DescribeQueryResult & WithRequestId(const char *value)
DescribeQueryResult & WithErrorMessage(const char *value)
DescribeQueryResult & WithDeliveryS3Uri(Aws::String &&value)
void SetQueryId(Aws::String &&value)
void SetDeliveryS3Uri(const char *value)
AWS_CLOUDTRAIL_API DescribeQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueryString(Aws::String &&value)
DescribeQueryResult & WithQueryId(Aws::String &&value)
DescribeQueryResult & WithQueryStatistics(const QueryStatisticsForDescribeQuery &value)
void SetDeliveryStatus(DeliveryStatus &&value)
const Aws::String & GetRequestId() const
DescribeQueryResult & WithRequestId(const Aws::String &value)
const QueryStatus & GetQueryStatus() const
DescribeQueryResult & WithRequestId(Aws::String &&value)
void SetRequestId(const char *value)
void SetDeliveryS3Uri(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
DescribeQueryResult & WithQueryId(const char *value)
DescribeQueryResult & WithQueryId(const Aws::String &value)
const Aws::String & GetErrorMessage() const
void SetQueryId(const Aws::String &value)
DescribeQueryResult & WithDeliveryStatus(const DeliveryStatus &value)
DescribeQueryResult & WithQueryStatistics(QueryStatisticsForDescribeQuery &&value)
void SetQueryString(const Aws::String &value)
const Aws::String & GetDeliveryS3Uri() const
DescribeQueryResult & WithQueryStatus(const QueryStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue