AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeFlowDefinitionResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/FlowDefinitionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/HumanLoopRequestSource.h>
12#include <aws/sagemaker/model/HumanLoopActivationConfig.h>
13#include <aws/sagemaker/model/HumanLoopConfig.h>
14#include <aws/sagemaker/model/FlowDefinitionOutputConfig.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
34 {
35 public:
36 AWS_SAGEMAKER_API DescribeFlowDefinitionResult() = default;
39
40
42
45 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
46 template<typename FlowDefinitionArnT = Aws::String>
47 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value); }
48 template<typename FlowDefinitionArnT = Aws::String>
49 DescribeFlowDefinitionResult& WithFlowDefinitionArn(FlowDefinitionArnT&& value) { SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetFlowDefinitionName() const { return m_flowDefinitionName; }
57 template<typename FlowDefinitionNameT = Aws::String>
58 void SetFlowDefinitionName(FlowDefinitionNameT&& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = std::forward<FlowDefinitionNameT>(value); }
59 template<typename FlowDefinitionNameT = Aws::String>
60 DescribeFlowDefinitionResult& WithFlowDefinitionName(FlowDefinitionNameT&& value) { SetFlowDefinitionName(std::forward<FlowDefinitionNameT>(value)); return *this;}
62
64
67 inline FlowDefinitionStatus GetFlowDefinitionStatus() const { return m_flowDefinitionStatus; }
68 inline void SetFlowDefinitionStatus(FlowDefinitionStatus value) { m_flowDefinitionStatusHasBeenSet = true; m_flowDefinitionStatus = value; }
71
73
76 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
77 template<typename CreationTimeT = Aws::Utils::DateTime>
78 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
79 template<typename CreationTimeT = Aws::Utils::DateTime>
80 DescribeFlowDefinitionResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
82
84
88 inline const HumanLoopRequestSource& GetHumanLoopRequestSource() const { return m_humanLoopRequestSource; }
89 template<typename HumanLoopRequestSourceT = HumanLoopRequestSource>
90 void SetHumanLoopRequestSource(HumanLoopRequestSourceT&& value) { m_humanLoopRequestSourceHasBeenSet = true; m_humanLoopRequestSource = std::forward<HumanLoopRequestSourceT>(value); }
91 template<typename HumanLoopRequestSourceT = HumanLoopRequestSource>
92 DescribeFlowDefinitionResult& WithHumanLoopRequestSource(HumanLoopRequestSourceT&& value) { SetHumanLoopRequestSource(std::forward<HumanLoopRequestSourceT>(value)); return *this;}
94
96
100 inline const HumanLoopActivationConfig& GetHumanLoopActivationConfig() const { return m_humanLoopActivationConfig; }
101 template<typename HumanLoopActivationConfigT = HumanLoopActivationConfig>
102 void SetHumanLoopActivationConfig(HumanLoopActivationConfigT&& value) { m_humanLoopActivationConfigHasBeenSet = true; m_humanLoopActivationConfig = std::forward<HumanLoopActivationConfigT>(value); }
103 template<typename HumanLoopActivationConfigT = HumanLoopActivationConfig>
104 DescribeFlowDefinitionResult& WithHumanLoopActivationConfig(HumanLoopActivationConfigT&& value) { SetHumanLoopActivationConfig(std::forward<HumanLoopActivationConfigT>(value)); return *this;}
106
108
112 inline const HumanLoopConfig& GetHumanLoopConfig() const { return m_humanLoopConfig; }
113 template<typename HumanLoopConfigT = HumanLoopConfig>
114 void SetHumanLoopConfig(HumanLoopConfigT&& value) { m_humanLoopConfigHasBeenSet = true; m_humanLoopConfig = std::forward<HumanLoopConfigT>(value); }
115 template<typename HumanLoopConfigT = HumanLoopConfig>
116 DescribeFlowDefinitionResult& WithHumanLoopConfig(HumanLoopConfigT&& value) { SetHumanLoopConfig(std::forward<HumanLoopConfigT>(value)); return *this;}
118
120
123 inline const FlowDefinitionOutputConfig& GetOutputConfig() const { return m_outputConfig; }
124 template<typename OutputConfigT = FlowDefinitionOutputConfig>
125 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
126 template<typename OutputConfigT = FlowDefinitionOutputConfig>
127 DescribeFlowDefinitionResult& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
129
131
135 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
136 template<typename RoleArnT = Aws::String>
137 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
138 template<typename RoleArnT = Aws::String>
139 DescribeFlowDefinitionResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
141
143
146 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
147 template<typename FailureReasonT = Aws::String>
148 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
149 template<typename FailureReasonT = Aws::String>
150 DescribeFlowDefinitionResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template<typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
158 template<typename RequestIdT = Aws::String>
159 DescribeFlowDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
161 private:
162
163 Aws::String m_flowDefinitionArn;
164 bool m_flowDefinitionArnHasBeenSet = false;
165
166 Aws::String m_flowDefinitionName;
167 bool m_flowDefinitionNameHasBeenSet = false;
168
170 bool m_flowDefinitionStatusHasBeenSet = false;
171
172 Aws::Utils::DateTime m_creationTime{};
173 bool m_creationTimeHasBeenSet = false;
174
175 HumanLoopRequestSource m_humanLoopRequestSource;
176 bool m_humanLoopRequestSourceHasBeenSet = false;
177
178 HumanLoopActivationConfig m_humanLoopActivationConfig;
179 bool m_humanLoopActivationConfigHasBeenSet = false;
180
181 HumanLoopConfig m_humanLoopConfig;
182 bool m_humanLoopConfigHasBeenSet = false;
183
184 FlowDefinitionOutputConfig m_outputConfig;
185 bool m_outputConfigHasBeenSet = false;
186
187 Aws::String m_roleArn;
188 bool m_roleArnHasBeenSet = false;
189
190 Aws::String m_failureReason;
191 bool m_failureReasonHasBeenSet = false;
192
193 Aws::String m_requestId;
194 bool m_requestIdHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace SageMaker
199} // 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)
void SetHumanLoopRequestSource(HumanLoopRequestSourceT &&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