7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/QueryStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename QueryIdT = Aws::String>
37 m_queryIdHasBeenSet =
true;
38 m_queryId = std::forward<QueryIdT>(value);
40 template <
typename QueryIdT = Aws::String>
55 m_queryStatusHasBeenSet =
true;
56 m_queryStatus = value;
69 template <
typename EventDataStoreOwnerAccountIdT = Aws::String>
71 m_eventDataStoreOwnerAccountIdHasBeenSet =
true;
72 m_eventDataStoreOwnerAccountId = std::forward<EventDataStoreOwnerAccountIdT>(value);
74 template <
typename EventDataStoreOwnerAccountIdT = Aws::String>
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
103 bool m_queryIdHasBeenSet =
false;
104 bool m_queryStatusHasBeenSet =
false;
105 bool m_eventDataStoreOwnerAccountIdHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
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