7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/CancellationStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
50 template<
typename JobArnT = Aws::String>
51 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
52 template<
typename JobArnT = Aws::String>
59 template<
typename RequestIdT = Aws::String>
60 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
61 template<
typename RequestIdT = Aws::String>
67 bool m_cancellationStatusHasBeenSet =
false;
70 bool m_jobArnHasBeenSet =
false;
73 bool m_requestIdHasBeenSet =
false;
void SetCancellationStatus(CancellationStatus value)
AWS_BRAKET_API CancelJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancellationStatus GetCancellationStatus() const
void SetRequestId(RequestIdT &&value)
void SetJobArn(JobArnT &&value)
const Aws::String & GetRequestId() const
AWS_BRAKET_API CancelJobResult()=default
CancelJobResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetJobArn() const
CancelJobResult & WithJobArn(JobArnT &&value)
AWS_BRAKET_API CancelJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelJobResult & WithCancellationStatus(CancellationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue