7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/QueryStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename QueryIdT = Aws::String>
38 m_queryIdHasBeenSet =
true;
39 m_queryId = std::forward<QueryIdT>(value);
41 template <
typename QueryIdT = Aws::String>
56 m_queryStatusHasBeenSet =
true;
57 m_queryStatus = value;
70 template <
typename EventDataStoreOwnerAccountIdT = Aws::String>
72 m_eventDataStoreOwnerAccountIdHasBeenSet =
true;
73 m_eventDataStoreOwnerAccountId = std::forward<EventDataStoreOwnerAccountIdT>(value);
75 template <
typename EventDataStoreOwnerAccountIdT = Aws::String>
85 template <
typename RequestIdT = Aws::String>
87 m_requestIdHasBeenSet =
true;
88 m_requestId = std::forward<RequestIdT>(value);
90 template <
typename RequestIdT = Aws::String>
107 bool m_queryIdHasBeenSet =
false;
108 bool m_queryStatusHasBeenSet =
false;
109 bool m_eventDataStoreOwnerAccountIdHasBeenSet =
false;
110 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
QueryStatus GetQueryStatus() const
const Aws::String & GetEventDataStoreOwnerAccountId() const
const Aws::String & GetQueryId() const
AWS_CLOUDTRAIL_API CancelQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQueryId(QueryIdT &&value)
CancelQueryResult & WithRequestId(RequestIdT &&value)
void SetEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT &&value)
AWS_CLOUDTRAIL_API CancelQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API CancelQueryResult()=default
void SetQueryStatus(QueryStatus value)
CancelQueryResult & WithQueryStatus(QueryStatus value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
CancelQueryResult & WithEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT &&value)
CancelQueryResult & WithQueryId(QueryIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue