AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CancelMLTaskRunResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/TaskStatusType.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GLUE_API CancelMLTaskRunResult() = default;
34
35
37
40 inline const Aws::String& GetTransformId() const { return m_transformId; }
41 template<typename TransformIdT = Aws::String>
42 void SetTransformId(TransformIdT&& value) { m_transformIdHasBeenSet = true; m_transformId = std::forward<TransformIdT>(value); }
43 template<typename TransformIdT = Aws::String>
44 CancelMLTaskRunResult& WithTransformId(TransformIdT&& value) { SetTransformId(std::forward<TransformIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetTaskRunId() const { return m_taskRunId; }
52 template<typename TaskRunIdT = Aws::String>
53 void SetTaskRunId(TaskRunIdT&& value) { m_taskRunIdHasBeenSet = true; m_taskRunId = std::forward<TaskRunIdT>(value); }
54 template<typename TaskRunIdT = Aws::String>
55 CancelMLTaskRunResult& WithTaskRunId(TaskRunIdT&& value) { SetTaskRunId(std::forward<TaskRunIdT>(value)); return *this;}
57
59
62 inline TaskStatusType GetStatus() const { return m_status; }
63 inline void SetStatus(TaskStatusType value) { m_statusHasBeenSet = true; m_status = value; }
64 inline CancelMLTaskRunResult& WithStatus(TaskStatusType value) { SetStatus(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 CancelMLTaskRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_transformId;
78 bool m_transformIdHasBeenSet = false;
79
80 Aws::String m_taskRunId;
81 bool m_taskRunIdHasBeenSet = false;
82
84 bool m_statusHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Glue
92} // namespace Aws
CancelMLTaskRunResult & WithTaskRunId(TaskRunIdT &&value)
AWS_GLUE_API CancelMLTaskRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API CancelMLTaskRunResult()=default
CancelMLTaskRunResult & WithStatus(TaskStatusType value)
AWS_GLUE_API CancelMLTaskRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelMLTaskRunResult & WithTransformId(TransformIdT &&value)
CancelMLTaskRunResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue