AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeHumanLoopResult.h
1
6#pragma once
7#include <aws/sagemaker-a2i-runtime/AugmentedAIRuntime_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker-a2i-runtime/model/HumanLoopStatus.h>
11#include <aws/sagemaker-a2i-runtime/model/HumanLoopOutput.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace AugmentedAIRuntime
27{
28namespace Model
29{
31 {
32 public:
33 AWS_AUGMENTEDAIRUNTIME_API DescribeHumanLoopResult() = default;
36
37
39
42 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
43 template<typename CreationTimeT = Aws::Utils::DateTime>
44 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
45 template<typename CreationTimeT = Aws::Utils::DateTime>
46 DescribeHumanLoopResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
48
50
54 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
55 template<typename FailureReasonT = Aws::String>
56 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
57 template<typename FailureReasonT = Aws::String>
58 DescribeHumanLoopResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
60
62
67 inline const Aws::String& GetFailureCode() const { return m_failureCode; }
68 template<typename FailureCodeT = Aws::String>
69 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::forward<FailureCodeT>(value); }
70 template<typename FailureCodeT = Aws::String>
71 DescribeHumanLoopResult& WithFailureCode(FailureCodeT&& value) { SetFailureCode(std::forward<FailureCodeT>(value)); return *this;}
73
75
78 inline HumanLoopStatus GetHumanLoopStatus() const { return m_humanLoopStatus; }
79 inline void SetHumanLoopStatus(HumanLoopStatus value) { m_humanLoopStatusHasBeenSet = true; m_humanLoopStatus = value; }
82
84
89 inline const Aws::String& GetHumanLoopName() const { return m_humanLoopName; }
90 template<typename HumanLoopNameT = Aws::String>
91 void SetHumanLoopName(HumanLoopNameT&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::forward<HumanLoopNameT>(value); }
92 template<typename HumanLoopNameT = Aws::String>
93 DescribeHumanLoopResult& WithHumanLoopName(HumanLoopNameT&& value) { SetHumanLoopName(std::forward<HumanLoopNameT>(value)); return *this;}
95
97
100 inline const Aws::String& GetHumanLoopArn() const { return m_humanLoopArn; }
101 template<typename HumanLoopArnT = Aws::String>
102 void SetHumanLoopArn(HumanLoopArnT&& value) { m_humanLoopArnHasBeenSet = true; m_humanLoopArn = std::forward<HumanLoopArnT>(value); }
103 template<typename HumanLoopArnT = Aws::String>
104 DescribeHumanLoopResult& WithHumanLoopArn(HumanLoopArnT&& value) { SetHumanLoopArn(std::forward<HumanLoopArnT>(value)); return *this;}
106
108
111 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
112 template<typename FlowDefinitionArnT = Aws::String>
113 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value); }
114 template<typename FlowDefinitionArnT = Aws::String>
115 DescribeHumanLoopResult& WithFlowDefinitionArn(FlowDefinitionArnT&& value) { SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value)); return *this;}
117
119
122 inline const HumanLoopOutput& GetHumanLoopOutput() const { return m_humanLoopOutput; }
123 template<typename HumanLoopOutputT = HumanLoopOutput>
124 void SetHumanLoopOutput(HumanLoopOutputT&& value) { m_humanLoopOutputHasBeenSet = true; m_humanLoopOutput = std::forward<HumanLoopOutputT>(value); }
125 template<typename HumanLoopOutputT = HumanLoopOutput>
126 DescribeHumanLoopResult& WithHumanLoopOutput(HumanLoopOutputT&& value) { SetHumanLoopOutput(std::forward<HumanLoopOutputT>(value)); return *this;}
128
130
131 inline const Aws::String& GetRequestId() const { return m_requestId; }
132 template<typename RequestIdT = Aws::String>
133 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
134 template<typename RequestIdT = Aws::String>
135 DescribeHumanLoopResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
137 private:
138
139 Aws::Utils::DateTime m_creationTime{};
140 bool m_creationTimeHasBeenSet = false;
141
142 Aws::String m_failureReason;
143 bool m_failureReasonHasBeenSet = false;
144
145 Aws::String m_failureCode;
146 bool m_failureCodeHasBeenSet = false;
147
148 HumanLoopStatus m_humanLoopStatus{HumanLoopStatus::NOT_SET};
149 bool m_humanLoopStatusHasBeenSet = false;
150
151 Aws::String m_humanLoopName;
152 bool m_humanLoopNameHasBeenSet = false;
153
154 Aws::String m_humanLoopArn;
155 bool m_humanLoopArnHasBeenSet = false;
156
157 Aws::String m_flowDefinitionArn;
158 bool m_flowDefinitionArnHasBeenSet = false;
159
160 HumanLoopOutput m_humanLoopOutput;
161 bool m_humanLoopOutputHasBeenSet = false;
162
163 Aws::String m_requestId;
164 bool m_requestIdHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace AugmentedAIRuntime
169} // namespace Aws
AWS_AUGMENTEDAIRUNTIME_API DescribeHumanLoopResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AUGMENTEDAIRUNTIME_API DescribeHumanLoopResult()=default
DescribeHumanLoopResult & WithHumanLoopOutput(HumanLoopOutputT &&value)
DescribeHumanLoopResult & WithFlowDefinitionArn(FlowDefinitionArnT &&value)
DescribeHumanLoopResult & WithFailureReason(FailureReasonT &&value)
AWS_AUGMENTEDAIRUNTIME_API DescribeHumanLoopResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHumanLoopResult & WithCreationTime(CreationTimeT &&value)
DescribeHumanLoopResult & WithRequestId(RequestIdT &&value)
DescribeHumanLoopResult & WithHumanLoopStatus(HumanLoopStatus value)
DescribeHumanLoopResult & WithFailureCode(FailureCodeT &&value)
DescribeHumanLoopResult & WithHumanLoopArn(HumanLoopArnT &&value)
DescribeHumanLoopResult & WithHumanLoopName(HumanLoopNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue