AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeFlowDefinitionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/FlowDefinitionOutputConfig.h>
11#include <aws/sagemaker/model/FlowDefinitionStatus.h>
12#include <aws/sagemaker/model/HumanLoopActivationConfig.h>
13#include <aws/sagemaker/model/HumanLoopConfig.h>
14#include <aws/sagemaker/model/HumanLoopRequestSource.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
30 public:
31 AWS_SAGEMAKER_API DescribeFlowDefinitionResult() = default;
34
36
39 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
40 template <typename FlowDefinitionArnT = Aws::String>
41 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) {
42 m_flowDefinitionArnHasBeenSet = true;
43 m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value);
44 }
45 template <typename FlowDefinitionArnT = Aws::String>
47 SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFlowDefinitionName() const { return m_flowDefinitionName; }
57 template <typename FlowDefinitionNameT = Aws::String>
58 void SetFlowDefinitionName(FlowDefinitionNameT&& value) {
59 m_flowDefinitionNameHasBeenSet = true;
60 m_flowDefinitionName = std::forward<FlowDefinitionNameT>(value);
61 }
62 template <typename FlowDefinitionNameT = Aws::String>
64 SetFlowDefinitionName(std::forward<FlowDefinitionNameT>(value));
65 return *this;
66 }
68
70
73 inline FlowDefinitionStatus GetFlowDefinitionStatus() const { return m_flowDefinitionStatus; }
75 m_flowDefinitionStatusHasBeenSet = true;
76 m_flowDefinitionStatus = 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
106 inline const HumanLoopRequestSource& GetHumanLoopRequestSource() const { return m_humanLoopRequestSource; }
107 template <typename HumanLoopRequestSourceT = HumanLoopRequestSource>
108 void SetHumanLoopRequestSource(HumanLoopRequestSourceT&& value) {
109 m_humanLoopRequestSourceHasBeenSet = true;
110 m_humanLoopRequestSource = std::forward<HumanLoopRequestSourceT>(value);
111 }
112 template <typename HumanLoopRequestSourceT = HumanLoopRequestSource>
114 SetHumanLoopRequestSource(std::forward<HumanLoopRequestSourceT>(value));
115 return *this;
116 }
118
120
124 inline const HumanLoopActivationConfig& GetHumanLoopActivationConfig() const { return m_humanLoopActivationConfig; }
125 template <typename HumanLoopActivationConfigT = HumanLoopActivationConfig>
126 void SetHumanLoopActivationConfig(HumanLoopActivationConfigT&& value) {
127 m_humanLoopActivationConfigHasBeenSet = true;
128 m_humanLoopActivationConfig = std::forward<HumanLoopActivationConfigT>(value);
129 }
130 template <typename HumanLoopActivationConfigT = HumanLoopActivationConfig>
131 DescribeFlowDefinitionResult& WithHumanLoopActivationConfig(HumanLoopActivationConfigT&& value) {
132 SetHumanLoopActivationConfig(std::forward<HumanLoopActivationConfigT>(value));
133 return *this;
134 }
136
138
142 inline const HumanLoopConfig& GetHumanLoopConfig() const { return m_humanLoopConfig; }
143 template <typename HumanLoopConfigT = HumanLoopConfig>
144 void SetHumanLoopConfig(HumanLoopConfigT&& value) {
145 m_humanLoopConfigHasBeenSet = true;
146 m_humanLoopConfig = std::forward<HumanLoopConfigT>(value);
147 }
148 template <typename HumanLoopConfigT = HumanLoopConfig>
150 SetHumanLoopConfig(std::forward<HumanLoopConfigT>(value));
151 return *this;
152 }
154
156
159 inline const FlowDefinitionOutputConfig& GetOutputConfig() const { return m_outputConfig; }
160 template <typename OutputConfigT = FlowDefinitionOutputConfig>
161 void SetOutputConfig(OutputConfigT&& value) {
162 m_outputConfigHasBeenSet = true;
163 m_outputConfig = std::forward<OutputConfigT>(value);
164 }
165 template <typename OutputConfigT = FlowDefinitionOutputConfig>
167 SetOutputConfig(std::forward<OutputConfigT>(value));
168 return *this;
169 }
171
173
177 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
178 template <typename RoleArnT = Aws::String>
179 void SetRoleArn(RoleArnT&& value) {
180 m_roleArnHasBeenSet = true;
181 m_roleArn = std::forward<RoleArnT>(value);
182 }
183 template <typename RoleArnT = Aws::String>
185 SetRoleArn(std::forward<RoleArnT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
195 template <typename FailureReasonT = Aws::String>
196 void SetFailureReason(FailureReasonT&& value) {
197 m_failureReasonHasBeenSet = true;
198 m_failureReason = std::forward<FailureReasonT>(value);
199 }
200 template <typename FailureReasonT = Aws::String>
202 SetFailureReason(std::forward<FailureReasonT>(value));
203 return *this;
204 }
206
208
209 inline const Aws::String& GetRequestId() const { return m_requestId; }
210 template <typename RequestIdT = Aws::String>
211 void SetRequestId(RequestIdT&& value) {
212 m_requestIdHasBeenSet = true;
213 m_requestId = std::forward<RequestIdT>(value);
214 }
215 template <typename RequestIdT = Aws::String>
217 SetRequestId(std::forward<RequestIdT>(value));
218 return *this;
219 }
221 private:
222 Aws::String m_flowDefinitionArn;
223
224 Aws::String m_flowDefinitionName;
225
227
228 Aws::Utils::DateTime m_creationTime{};
229
230 HumanLoopRequestSource m_humanLoopRequestSource;
231
232 HumanLoopActivationConfig m_humanLoopActivationConfig;
233
234 HumanLoopConfig m_humanLoopConfig;
235
236 FlowDefinitionOutputConfig m_outputConfig;
237
238 Aws::String m_roleArn;
239
240 Aws::String m_failureReason;
241
242 Aws::String m_requestId;
243 bool m_flowDefinitionArnHasBeenSet = false;
244 bool m_flowDefinitionNameHasBeenSet = false;
245 bool m_flowDefinitionStatusHasBeenSet = false;
246 bool m_creationTimeHasBeenSet = false;
247 bool m_humanLoopRequestSourceHasBeenSet = false;
248 bool m_humanLoopActivationConfigHasBeenSet = false;
249 bool m_humanLoopConfigHasBeenSet = false;
250 bool m_outputConfigHasBeenSet = false;
251 bool m_roleArnHasBeenSet = false;
252 bool m_failureReasonHasBeenSet = false;
253 bool m_requestIdHasBeenSet = false;
254};
255
256} // namespace Model
257} // namespace SageMaker
258} // 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