AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
43 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
44 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
46 inline DescribeHumanLoopResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
48
50
54 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
55 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
56 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
57 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
58 inline DescribeHumanLoopResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
59 inline DescribeHumanLoopResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
60 inline DescribeHumanLoopResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
62
64
69 inline const Aws::String& GetFailureCode() const{ return m_failureCode; }
70 inline void SetFailureCode(const Aws::String& value) { m_failureCode = value; }
71 inline void SetFailureCode(Aws::String&& value) { m_failureCode = std::move(value); }
72 inline void SetFailureCode(const char* value) { m_failureCode.assign(value); }
73 inline DescribeHumanLoopResult& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;}
74 inline DescribeHumanLoopResult& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;}
75 inline DescribeHumanLoopResult& WithFailureCode(const char* value) { SetFailureCode(value); return *this;}
77
79
82 inline const HumanLoopStatus& GetHumanLoopStatus() const{ return m_humanLoopStatus; }
83 inline void SetHumanLoopStatus(const HumanLoopStatus& value) { m_humanLoopStatus = value; }
84 inline void SetHumanLoopStatus(HumanLoopStatus&& value) { m_humanLoopStatus = std::move(value); }
86 inline DescribeHumanLoopResult& WithHumanLoopStatus(HumanLoopStatus&& value) { SetHumanLoopStatus(std::move(value)); return *this;}
88
90
95 inline const Aws::String& GetHumanLoopName() const{ return m_humanLoopName; }
96 inline void SetHumanLoopName(const Aws::String& value) { m_humanLoopName = value; }
97 inline void SetHumanLoopName(Aws::String&& value) { m_humanLoopName = std::move(value); }
98 inline void SetHumanLoopName(const char* value) { m_humanLoopName.assign(value); }
99 inline DescribeHumanLoopResult& WithHumanLoopName(const Aws::String& value) { SetHumanLoopName(value); return *this;}
100 inline DescribeHumanLoopResult& WithHumanLoopName(Aws::String&& value) { SetHumanLoopName(std::move(value)); return *this;}
101 inline DescribeHumanLoopResult& WithHumanLoopName(const char* value) { SetHumanLoopName(value); return *this;}
103
105
108 inline const Aws::String& GetHumanLoopArn() const{ return m_humanLoopArn; }
109 inline void SetHumanLoopArn(const Aws::String& value) { m_humanLoopArn = value; }
110 inline void SetHumanLoopArn(Aws::String&& value) { m_humanLoopArn = std::move(value); }
111 inline void SetHumanLoopArn(const char* value) { m_humanLoopArn.assign(value); }
112 inline DescribeHumanLoopResult& WithHumanLoopArn(const Aws::String& value) { SetHumanLoopArn(value); return *this;}
113 inline DescribeHumanLoopResult& WithHumanLoopArn(Aws::String&& value) { SetHumanLoopArn(std::move(value)); return *this;}
114 inline DescribeHumanLoopResult& WithHumanLoopArn(const char* value) { SetHumanLoopArn(value); return *this;}
116
118
121 inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; }
122 inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArn = value; }
123 inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArn = std::move(value); }
124 inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArn.assign(value); }
126 inline DescribeHumanLoopResult& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;}
127 inline DescribeHumanLoopResult& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;}
129
131
134 inline const HumanLoopOutput& GetHumanLoopOutput() const{ return m_humanLoopOutput; }
135 inline void SetHumanLoopOutput(const HumanLoopOutput& value) { m_humanLoopOutput = value; }
136 inline void SetHumanLoopOutput(HumanLoopOutput&& value) { m_humanLoopOutput = std::move(value); }
138 inline DescribeHumanLoopResult& WithHumanLoopOutput(HumanLoopOutput&& value) { SetHumanLoopOutput(std::move(value)); return *this;}
140
142
143 inline const Aws::String& GetRequestId() const{ return m_requestId; }
144 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
145 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
146 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
147 inline DescribeHumanLoopResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
148 inline DescribeHumanLoopResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
149 inline DescribeHumanLoopResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
151 private:
152
153 Aws::Utils::DateTime m_creationTime;
154
155 Aws::String m_failureReason;
156
157 Aws::String m_failureCode;
158
159 HumanLoopStatus m_humanLoopStatus;
160
161 Aws::String m_humanLoopName;
162
163 Aws::String m_humanLoopArn;
164
165 Aws::String m_flowDefinitionArn;
166
167 HumanLoopOutput m_humanLoopOutput;
168
169 Aws::String m_requestId;
170 };
171
172} // namespace Model
173} // namespace AugmentedAIRuntime
174} // namespace Aws
DescribeHumanLoopResult & WithFlowDefinitionArn(const char *value)
DescribeHumanLoopResult & WithFailureReason(Aws::String &&value)
DescribeHumanLoopResult & WithHumanLoopStatus(HumanLoopStatus &&value)
DescribeHumanLoopResult & WithHumanLoopOutput(const HumanLoopOutput &value)
DescribeHumanLoopResult & WithHumanLoopName(const char *value)
AWS_AUGMENTEDAIRUNTIME_API DescribeHumanLoopResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHumanLoopResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeHumanLoopResult & WithHumanLoopArn(const char *value)
DescribeHumanLoopResult & WithHumanLoopOutput(HumanLoopOutput &&value)
DescribeHumanLoopResult & WithFailureCode(Aws::String &&value)
DescribeHumanLoopResult & WithHumanLoopName(const Aws::String &value)
DescribeHumanLoopResult & WithFailureCode(const char *value)
DescribeHumanLoopResult & WithFlowDefinitionArn(const Aws::String &value)
DescribeHumanLoopResult & WithFailureReason(const Aws::String &value)
AWS_AUGMENTEDAIRUNTIME_API DescribeHumanLoopResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHumanLoopResult & WithHumanLoopStatus(const HumanLoopStatus &value)
DescribeHumanLoopResult & WithFlowDefinitionArn(Aws::String &&value)
DescribeHumanLoopResult & WithHumanLoopName(Aws::String &&value)
DescribeHumanLoopResult & WithFailureCode(const Aws::String &value)
DescribeHumanLoopResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeHumanLoopResult & WithHumanLoopArn(Aws::String &&value)
DescribeHumanLoopResult & WithRequestId(const char *value)
DescribeHumanLoopResult & WithRequestId(const Aws::String &value)
DescribeHumanLoopResult & WithRequestId(Aws::String &&value)
DescribeHumanLoopResult & WithHumanLoopArn(const Aws::String &value)
DescribeHumanLoopResult & WithFailureReason(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue