7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/QueryStatus.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename QueryIdT = Aws::String>
42 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet =
true; m_queryId = std::forward<QueryIdT>(value); }
43 template<
typename QueryIdT = Aws::String>
63 template<
typename EventDataStoreOwnerAccountIdT = Aws::String>
64 void SetEventDataStoreOwnerAccountId(EventDataStoreOwnerAccountIdT&& value) { m_eventDataStoreOwnerAccountIdHasBeenSet =
true; m_eventDataStoreOwnerAccountId = std::forward<EventDataStoreOwnerAccountIdT>(value); }
65 template<
typename EventDataStoreOwnerAccountIdT = Aws::String>
72 template<
typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
74 template<
typename RequestIdT = Aws::String>
80 bool m_queryIdHasBeenSet =
false;
83 bool m_queryStatusHasBeenSet =
false;
86 bool m_eventDataStoreOwnerAccountIdHasBeenSet =
false;
89 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