7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/Task.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename TaskT = Task>
38 m_taskHasBeenSet =
true;
39 m_task = std::forward<TaskT>(value);
41 template <
typename TaskT = Task>
43 SetTask(std::forward<TaskT>(value));
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
69 bool m_taskHasBeenSet =
false;
70 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
void SetTask(TaskT &&value)
GetTaskResult & WithTask(TaskT &&value)
AWS_ASSURANCE_API GetTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AWS_ASSURANCE_API GetTaskResult()=default
const Task & GetTask() const
AWS_ASSURANCE_API GetTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetTaskResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String