AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeFlowDefinitionResult.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/FlowDefinitionOutputConfig.h>
12#include <aws/sagemaker/model/FlowDefinitionStatus.h>
13#include <aws/sagemaker/model/HumanLoopActivationConfig.h>
14#include <aws/sagemaker/model/HumanLoopConfig.h>
15#include <aws/sagemaker/model/HumanLoopRequestSource.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker {
29namespace Model {
31 public:
32 AWS_SAGEMAKER_API DescribeFlowDefinitionResult() = default;
35
37
40 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
41 template <typename FlowDefinitionArnT = Aws::String>
42 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) {
43 m_flowDefinitionArnHasBeenSet = true;
44 m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value);
45 }
46 template <typename FlowDefinitionArnT = Aws::String>
48 SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFlowDefinitionName() const { return m_flowDefinitionName; }
58 template <typename FlowDefinitionNameT = Aws::String>
59 void SetFlowDefinitionName(FlowDefinitionNameT&& value) {
60 m_flowDefinitionNameHasBeenSet = true;
61 m_flowDefinitionName = std::forward<FlowDefinitionNameT>(value);
62 }
63 template <typename FlowDefinitionNameT = Aws::String>
65 SetFlowDefinitionName(std::forward<FlowDefinitionNameT>(value));
66 return *this;
67 }
69
71
74 inline FlowDefinitionStatus GetFlowDefinitionStatus() const { return m_flowDefinitionStatus; }
76 m_flowDefinitionStatusHasBeenSet = true;
77 m_flowDefinitionStatus = value;
78 }
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
90 template <typename CreationTimeT = Aws::Utils::DateTime>
91 void SetCreationTime(CreationTimeT&& value) {
92 m_creationTimeHasBeenSet = true;
93 m_creationTime = std::forward<CreationTimeT>(value);
94 }
95 template <typename CreationTimeT = Aws::Utils::DateTime>
97 SetCreationTime(std::forward<CreationTimeT>(value));
98 return *this;
99 }
101
103
107 inline const HumanLoopRequestSource& GetHumanLoopRequestSource() const { return m_humanLoopRequestSource; }
108 template <typename HumanLoopRequestSourceT = HumanLoopRequestSource>
109 void SetHumanLoopRequestSource(HumanLoopRequestSourceT&& value) {
110 m_humanLoopRequestSourceHasBeenSet = true;
111 m_humanLoopRequestSource = std::forward<HumanLoopRequestSourceT>(value);
112 }
113 template <typename HumanLoopRequestSourceT = HumanLoopRequestSource>
115 SetHumanLoopRequestSource(std::forward<HumanLoopRequestSourceT>(value));
116 return *this;
117 }
119
121
125 inline const HumanLoopActivationConfig& GetHumanLoopActivationConfig() const { return m_humanLoopActivationConfig; }
126 template <typename HumanLoopActivationConfigT = HumanLoopActivationConfig>
127 void SetHumanLoopActivationConfig(HumanLoopActivationConfigT&& value) {
128 m_humanLoopActivationConfigHasBeenSet = true;
129 m_humanLoopActivationConfig = std::forward<HumanLoopActivationConfigT>(value);
130 }
131 template <typename HumanLoopActivationConfigT = HumanLoopActivationConfig>
132 DescribeFlowDefinitionResult& WithHumanLoopActivationConfig(HumanLoopActivationConfigT&& value) {
133 SetHumanLoopActivationConfig(std::forward<HumanLoopActivationConfigT>(value));
134 return *this;
135 }
137
139
143 inline const HumanLoopConfig& GetHumanLoopConfig() const { return m_humanLoopConfig; }
144 template <typename HumanLoopConfigT = HumanLoopConfig>
145 void SetHumanLoopConfig(HumanLoopConfigT&& value) {
146 m_humanLoopConfigHasBeenSet = true;
147 m_humanLoopConfig = std::forward<HumanLoopConfigT>(value);
148 }
149 template <typename HumanLoopConfigT = HumanLoopConfig>
151 SetHumanLoopConfig(std::forward<HumanLoopConfigT>(value));
152 return *this;
153 }
155
157
160 inline const FlowDefinitionOutputConfig& GetOutputConfig() const { return m_outputConfig; }
161 template <typename OutputConfigT = FlowDefinitionOutputConfig>
162 void SetOutputConfig(OutputConfigT&& value) {
163 m_outputConfigHasBeenSet = true;
164 m_outputConfig = std::forward<OutputConfigT>(value);
165 }
166 template <typename OutputConfigT = FlowDefinitionOutputConfig>
168 SetOutputConfig(std::forward<OutputConfigT>(value));
169 return *this;
170 }
172
174
178 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
179 template <typename RoleArnT = Aws::String>
180 void SetRoleArn(RoleArnT&& value) {
181 m_roleArnHasBeenSet = true;
182 m_roleArn = std::forward<RoleArnT>(value);
183 }
184 template <typename RoleArnT = Aws::String>
186 SetRoleArn(std::forward<RoleArnT>(value));
187 return *this;
188 }
190
192
195 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
196 template <typename FailureReasonT = Aws::String>
197 void SetFailureReason(FailureReasonT&& value) {
198 m_failureReasonHasBeenSet = true;
199 m_failureReason = std::forward<FailureReasonT>(value);
200 }
201 template <typename FailureReasonT = Aws::String>
203 SetFailureReason(std::forward<FailureReasonT>(value));
204 return *this;
205 }
207
209
210 inline const Aws::String& GetRequestId() const { return m_requestId; }
211 template <typename RequestIdT = Aws::String>
212 void SetRequestId(RequestIdT&& value) {
213 m_requestIdHasBeenSet = true;
214 m_requestId = std::forward<RequestIdT>(value);
215 }
216 template <typename RequestIdT = Aws::String>
218 SetRequestId(std::forward<RequestIdT>(value));
219 return *this;
220 }
222 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
223
224 private:
225 Aws::String m_flowDefinitionArn;
226
227 Aws::String m_flowDefinitionName;
228
230
231 Aws::Utils::DateTime m_creationTime{};
232
233 HumanLoopRequestSource m_humanLoopRequestSource;
234
235 HumanLoopActivationConfig m_humanLoopActivationConfig;
236
237 HumanLoopConfig m_humanLoopConfig;
238
239 FlowDefinitionOutputConfig m_outputConfig;
240
241 Aws::String m_roleArn;
242
243 Aws::String m_failureReason;
244
245 Aws::String m_requestId;
246 Aws::Http::HttpResponseCode m_HttpResponseCode;
247 bool m_flowDefinitionArnHasBeenSet = false;
248 bool m_flowDefinitionNameHasBeenSet = false;
249 bool m_flowDefinitionStatusHasBeenSet = false;
250 bool m_creationTimeHasBeenSet = false;
251 bool m_humanLoopRequestSourceHasBeenSet = false;
252 bool m_humanLoopActivationConfigHasBeenSet = false;
253 bool m_humanLoopConfigHasBeenSet = false;
254 bool m_outputConfigHasBeenSet = false;
255 bool m_roleArnHasBeenSet = false;
256 bool m_failureReasonHasBeenSet = false;
257 bool m_requestIdHasBeenSet = false;
258};
259
260} // namespace Model
261} // namespace SageMaker
262} // namespace Aws
AWS_SAGEMAKER_API DescribeFlowDefinitionResult()=default
const HumanLoopRequestSource & GetHumanLoopRequestSource() const
DescribeFlowDefinitionResult & WithOutputConfig(OutputConfigT &&value)
DescribeFlowDefinitionResult & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API DescribeFlowDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowDefinitionResult & WithRoleArn(RoleArnT &&value)
AWS_SAGEMAKER_API DescribeFlowDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowDefinitionResult & WithHumanLoopConfig(HumanLoopConfigT &&value)
DescribeFlowDefinitionResult & WithRequestId(RequestIdT &&value)
DescribeFlowDefinitionResult & WithHumanLoopActivationConfig(HumanLoopActivationConfigT &&value)
void SetHumanLoopActivationConfig(HumanLoopActivationConfigT &&value)
DescribeFlowDefinitionResult & WithFlowDefinitionStatus(FlowDefinitionStatus value)
const HumanLoopActivationConfig & GetHumanLoopActivationConfig() const
DescribeFlowDefinitionResult & WithFailureReason(FailureReasonT &&value)
DescribeFlowDefinitionResult & WithFlowDefinitionName(FlowDefinitionNameT &&value)
DescribeFlowDefinitionResult & WithFlowDefinitionArn(FlowDefinitionArnT &&value)
const FlowDefinitionOutputConfig & GetOutputConfig() const
DescribeFlowDefinitionResult & WithHumanLoopRequestSource(HumanLoopRequestSourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue