7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
13template <
typename RESULT_TYPE>
14class AmazonWebServiceResult;
21namespace TimestreamQuery {
36 template <
typename CancellationMessageT = Aws::String>
38 m_cancellationMessageHasBeenSet =
true;
39 m_cancellationMessage = std::forward<CancellationMessageT>(value);
41 template <
typename CancellationMessageT = Aws::String>
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
66 bool m_cancellationMessageHasBeenSet =
false;
67 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
CancelQueryResult & WithCancellationMessage(CancellationMessageT &&value)
void SetRequestId(RequestIdT &&value)
AWS_TIMESTREAMQUERY_API CancelQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TIMESTREAMQUERY_API CancelQueryResult()=default
AWS_TIMESTREAMQUERY_API CancelQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelQueryResult & WithRequestId(RequestIdT &&value)
void SetCancellationMessage(CancellationMessageT &&value)
const Aws::String & GetCancellationMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue