AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeHumanTaskUiResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/HumanTaskUiStatus.h>
12#include <aws/sagemaker/model/UiTemplateInfo.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
28 public:
29 AWS_SAGEMAKER_API DescribeHumanTaskUiResult() = default;
32
34
38 inline const Aws::String& GetHumanTaskUiArn() const { return m_humanTaskUiArn; }
39 template <typename HumanTaskUiArnT = Aws::String>
40 void SetHumanTaskUiArn(HumanTaskUiArnT&& value) {
41 m_humanTaskUiArnHasBeenSet = true;
42 m_humanTaskUiArn = std::forward<HumanTaskUiArnT>(value);
43 }
44 template <typename HumanTaskUiArnT = Aws::String>
46 SetHumanTaskUiArn(std::forward<HumanTaskUiArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetHumanTaskUiName() const { return m_humanTaskUiName; }
56 template <typename HumanTaskUiNameT = Aws::String>
57 void SetHumanTaskUiName(HumanTaskUiNameT&& value) {
58 m_humanTaskUiNameHasBeenSet = true;
59 m_humanTaskUiName = std::forward<HumanTaskUiNameT>(value);
60 }
61 template <typename HumanTaskUiNameT = Aws::String>
63 SetHumanTaskUiName(std::forward<HumanTaskUiNameT>(value));
64 return *this;
65 }
67
69
73 inline HumanTaskUiStatus GetHumanTaskUiStatus() const { return m_humanTaskUiStatus; }
75 m_humanTaskUiStatusHasBeenSet = true;
76 m_humanTaskUiStatus = value;
77 }
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
89 template <typename CreationTimeT = Aws::Utils::DateTime>
90 void SetCreationTime(CreationTimeT&& value) {
91 m_creationTimeHasBeenSet = true;
92 m_creationTime = std::forward<CreationTimeT>(value);
93 }
94 template <typename CreationTimeT = Aws::Utils::DateTime>
96 SetCreationTime(std::forward<CreationTimeT>(value));
97 return *this;
98 }
100
102
103 inline const UiTemplateInfo& GetUiTemplate() const { return m_uiTemplate; }
104 template <typename UiTemplateT = UiTemplateInfo>
105 void SetUiTemplate(UiTemplateT&& value) {
106 m_uiTemplateHasBeenSet = true;
107 m_uiTemplate = std::forward<UiTemplateT>(value);
108 }
109 template <typename UiTemplateT = UiTemplateInfo>
111 SetUiTemplate(std::forward<UiTemplateT>(value));
112 return *this;
113 }
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_humanTaskUiArn;
134
135 Aws::String m_humanTaskUiName;
136
138
139 Aws::Utils::DateTime m_creationTime{};
140
141 UiTemplateInfo m_uiTemplate;
142
143 Aws::String m_requestId;
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_humanTaskUiArnHasBeenSet = false;
146 bool m_humanTaskUiNameHasBeenSet = false;
147 bool m_humanTaskUiStatusHasBeenSet = false;
148 bool m_creationTimeHasBeenSet = false;
149 bool m_uiTemplateHasBeenSet = false;
150 bool m_requestIdHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace SageMaker
155} // namespace Aws
AWS_SAGEMAKER_API DescribeHumanTaskUiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHumanTaskUiResult & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API DescribeHumanTaskUiResult()=default
AWS_SAGEMAKER_API DescribeHumanTaskUiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHumanTaskUiResult & WithUiTemplate(UiTemplateT &&value)
DescribeHumanTaskUiResult & WithHumanTaskUiStatus(HumanTaskUiStatus value)
DescribeHumanTaskUiResult & WithHumanTaskUiName(HumanTaskUiNameT &&value)
DescribeHumanTaskUiResult & WithHumanTaskUiArn(HumanTaskUiArnT &&value)
DescribeHumanTaskUiResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue