AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
DescribeAlgorithmResult.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/AlgorithmStatus.h>
12#include <aws/sagemaker/model/AlgorithmStatusDetails.h>
13#include <aws/sagemaker/model/AlgorithmValidationSpecification.h>
14#include <aws/sagemaker/model/InferenceSpecification.h>
15#include <aws/sagemaker/model/TrainingSpecification.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 DescribeAlgorithmResult() = default;
35
37
40 inline const Aws::String& GetAlgorithmName() const { return m_algorithmName; }
41 template <typename AlgorithmNameT = Aws::String>
42 void SetAlgorithmName(AlgorithmNameT&& value) {
43 m_algorithmNameHasBeenSet = true;
44 m_algorithmName = std::forward<AlgorithmNameT>(value);
45 }
46 template <typename AlgorithmNameT = Aws::String>
47 DescribeAlgorithmResult& WithAlgorithmName(AlgorithmNameT&& value) {
48 SetAlgorithmName(std::forward<AlgorithmNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAlgorithmArn() const { return m_algorithmArn; }
58 template <typename AlgorithmArnT = Aws::String>
59 void SetAlgorithmArn(AlgorithmArnT&& value) {
60 m_algorithmArnHasBeenSet = true;
61 m_algorithmArn = std::forward<AlgorithmArnT>(value);
62 }
63 template <typename AlgorithmArnT = Aws::String>
64 DescribeAlgorithmResult& WithAlgorithmArn(AlgorithmArnT&& value) {
65 SetAlgorithmArn(std::forward<AlgorithmArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetAlgorithmDescription() const { return m_algorithmDescription; }
75 template <typename AlgorithmDescriptionT = Aws::String>
76 void SetAlgorithmDescription(AlgorithmDescriptionT&& value) {
77 m_algorithmDescriptionHasBeenSet = true;
78 m_algorithmDescription = std::forward<AlgorithmDescriptionT>(value);
79 }
80 template <typename AlgorithmDescriptionT = Aws::String>
81 DescribeAlgorithmResult& WithAlgorithmDescription(AlgorithmDescriptionT&& value) {
82 SetAlgorithmDescription(std::forward<AlgorithmDescriptionT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
92 template <typename CreationTimeT = Aws::Utils::DateTime>
93 void SetCreationTime(CreationTimeT&& value) {
94 m_creationTimeHasBeenSet = true;
95 m_creationTime = std::forward<CreationTimeT>(value);
96 }
97 template <typename CreationTimeT = Aws::Utils::DateTime>
98 DescribeAlgorithmResult& WithCreationTime(CreationTimeT&& value) {
99 SetCreationTime(std::forward<CreationTimeT>(value));
100 return *this;
101 }
103
105
108 inline const TrainingSpecification& GetTrainingSpecification() const { return m_trainingSpecification; }
109 template <typename TrainingSpecificationT = TrainingSpecification>
110 void SetTrainingSpecification(TrainingSpecificationT&& value) {
111 m_trainingSpecificationHasBeenSet = true;
112 m_trainingSpecification = std::forward<TrainingSpecificationT>(value);
113 }
114 template <typename TrainingSpecificationT = TrainingSpecification>
115 DescribeAlgorithmResult& WithTrainingSpecification(TrainingSpecificationT&& value) {
116 SetTrainingSpecification(std::forward<TrainingSpecificationT>(value));
117 return *this;
118 }
120
122
125 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
126 template <typename InferenceSpecificationT = InferenceSpecification>
127 void SetInferenceSpecification(InferenceSpecificationT&& value) {
128 m_inferenceSpecificationHasBeenSet = true;
129 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
130 }
131 template <typename InferenceSpecificationT = InferenceSpecification>
132 DescribeAlgorithmResult& WithInferenceSpecification(InferenceSpecificationT&& value) {
133 SetInferenceSpecification(std::forward<InferenceSpecificationT>(value));
134 return *this;
135 }
137
139
143 inline const AlgorithmValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
144 template <typename ValidationSpecificationT = AlgorithmValidationSpecification>
145 void SetValidationSpecification(ValidationSpecificationT&& value) {
146 m_validationSpecificationHasBeenSet = true;
147 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
148 }
149 template <typename ValidationSpecificationT = AlgorithmValidationSpecification>
150 DescribeAlgorithmResult& WithValidationSpecification(ValidationSpecificationT&& value) {
151 SetValidationSpecification(std::forward<ValidationSpecificationT>(value));
152 return *this;
153 }
155
157
160 inline AlgorithmStatus GetAlgorithmStatus() const { return m_algorithmStatus; }
162 m_algorithmStatusHasBeenSet = true;
163 m_algorithmStatus = value;
164 }
166 SetAlgorithmStatus(value);
167 return *this;
168 }
170
172
175 inline const AlgorithmStatusDetails& GetAlgorithmStatusDetails() const { return m_algorithmStatusDetails; }
176 template <typename AlgorithmStatusDetailsT = AlgorithmStatusDetails>
177 void SetAlgorithmStatusDetails(AlgorithmStatusDetailsT&& value) {
178 m_algorithmStatusDetailsHasBeenSet = true;
179 m_algorithmStatusDetails = std::forward<AlgorithmStatusDetailsT>(value);
180 }
181 template <typename AlgorithmStatusDetailsT = AlgorithmStatusDetails>
182 DescribeAlgorithmResult& WithAlgorithmStatusDetails(AlgorithmStatusDetailsT&& value) {
183 SetAlgorithmStatusDetails(std::forward<AlgorithmStatusDetailsT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetProductId() const { return m_productId; }
193 template <typename ProductIdT = Aws::String>
194 void SetProductId(ProductIdT&& value) {
195 m_productIdHasBeenSet = true;
196 m_productId = std::forward<ProductIdT>(value);
197 }
198 template <typename ProductIdT = Aws::String>
200 SetProductId(std::forward<ProductIdT>(value));
201 return *this;
202 }
204
206
210 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
211 inline void SetCertifyForMarketplace(bool value) {
212 m_certifyForMarketplaceHasBeenSet = true;
213 m_certifyForMarketplace = value;
214 }
217 return *this;
218 }
220
222
223 inline const Aws::String& GetRequestId() const { return m_requestId; }
224 template <typename RequestIdT = Aws::String>
225 void SetRequestId(RequestIdT&& value) {
226 m_requestIdHasBeenSet = true;
227 m_requestId = std::forward<RequestIdT>(value);
228 }
229 template <typename RequestIdT = Aws::String>
231 SetRequestId(std::forward<RequestIdT>(value));
232 return *this;
233 }
235 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
236
237 private:
238 Aws::String m_algorithmName;
239
240 Aws::String m_algorithmArn;
241
242 Aws::String m_algorithmDescription;
243
244 Aws::Utils::DateTime m_creationTime{};
245
246 TrainingSpecification m_trainingSpecification;
247
248 InferenceSpecification m_inferenceSpecification;
249
250 AlgorithmValidationSpecification m_validationSpecification;
251
252 AlgorithmStatus m_algorithmStatus{AlgorithmStatus::NOT_SET};
253
254 AlgorithmStatusDetails m_algorithmStatusDetails;
255
256 Aws::String m_productId;
257
258 bool m_certifyForMarketplace{false};
259
260 Aws::String m_requestId;
261 Aws::Http::HttpResponseCode m_HttpResponseCode;
262 bool m_algorithmNameHasBeenSet = false;
263 bool m_algorithmArnHasBeenSet = false;
264 bool m_algorithmDescriptionHasBeenSet = false;
265 bool m_creationTimeHasBeenSet = false;
266 bool m_trainingSpecificationHasBeenSet = false;
267 bool m_inferenceSpecificationHasBeenSet = false;
268 bool m_validationSpecificationHasBeenSet = false;
269 bool m_algorithmStatusHasBeenSet = false;
270 bool m_algorithmStatusDetailsHasBeenSet = false;
271 bool m_productIdHasBeenSet = false;
272 bool m_certifyForMarketplaceHasBeenSet = false;
273 bool m_requestIdHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace SageMaker
278} // namespace Aws
const AlgorithmValidationSpecification & GetValidationSpecification() const
DescribeAlgorithmResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeAlgorithmResult & WithInferenceSpecification(InferenceSpecificationT &&value)
DescribeAlgorithmResult & WithAlgorithmDescription(AlgorithmDescriptionT &&value)
void SetTrainingSpecification(TrainingSpecificationT &&value)
void SetValidationSpecification(ValidationSpecificationT &&value)
DescribeAlgorithmResult & WithTrainingSpecification(TrainingSpecificationT &&value)
const AlgorithmStatusDetails & GetAlgorithmStatusDetails() const
DescribeAlgorithmResult & WithAlgorithmStatus(AlgorithmStatus value)
DescribeAlgorithmResult & WithCreationTime(CreationTimeT &&value)
void SetInferenceSpecification(InferenceSpecificationT &&value)
DescribeAlgorithmResult & WithCertifyForMarketplace(bool value)
const TrainingSpecification & GetTrainingSpecification() const
DescribeAlgorithmResult & WithProductId(ProductIdT &&value)
AWS_SAGEMAKER_API DescribeAlgorithmResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeAlgorithmResult()=default
void SetAlgorithmDescription(AlgorithmDescriptionT &&value)
DescribeAlgorithmResult & WithAlgorithmStatusDetails(AlgorithmStatusDetailsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAlgorithmStatusDetails(AlgorithmStatusDetailsT &&value)
DescribeAlgorithmResult & WithAlgorithmArn(AlgorithmArnT &&value)
AWS_SAGEMAKER_API DescribeAlgorithmResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAlgorithmResult & WithAlgorithmName(AlgorithmNameT &&value)
const InferenceSpecification & GetInferenceSpecification() const
DescribeAlgorithmResult & WithValidationSpecification(ValidationSpecificationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue