AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeAlgorithmResult.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/AlgorithmStatus.h>
11#include <aws/sagemaker/model/AlgorithmStatusDetails.h>
12#include <aws/sagemaker/model/AlgorithmValidationSpecification.h>
13#include <aws/sagemaker/model/InferenceSpecification.h>
14#include <aws/sagemaker/model/TrainingSpecification.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 DescribeAlgorithmResult() = default;
34
36
39 inline const Aws::String& GetAlgorithmName() const { return m_algorithmName; }
40 template <typename AlgorithmNameT = Aws::String>
41 void SetAlgorithmName(AlgorithmNameT&& value) {
42 m_algorithmNameHasBeenSet = true;
43 m_algorithmName = std::forward<AlgorithmNameT>(value);
44 }
45 template <typename AlgorithmNameT = Aws::String>
46 DescribeAlgorithmResult& WithAlgorithmName(AlgorithmNameT&& value) {
47 SetAlgorithmName(std::forward<AlgorithmNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAlgorithmArn() const { return m_algorithmArn; }
57 template <typename AlgorithmArnT = Aws::String>
58 void SetAlgorithmArn(AlgorithmArnT&& value) {
59 m_algorithmArnHasBeenSet = true;
60 m_algorithmArn = std::forward<AlgorithmArnT>(value);
61 }
62 template <typename AlgorithmArnT = Aws::String>
63 DescribeAlgorithmResult& WithAlgorithmArn(AlgorithmArnT&& value) {
64 SetAlgorithmArn(std::forward<AlgorithmArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetAlgorithmDescription() const { return m_algorithmDescription; }
74 template <typename AlgorithmDescriptionT = Aws::String>
75 void SetAlgorithmDescription(AlgorithmDescriptionT&& value) {
76 m_algorithmDescriptionHasBeenSet = true;
77 m_algorithmDescription = std::forward<AlgorithmDescriptionT>(value);
78 }
79 template <typename AlgorithmDescriptionT = Aws::String>
80 DescribeAlgorithmResult& WithAlgorithmDescription(AlgorithmDescriptionT&& value) {
81 SetAlgorithmDescription(std::forward<AlgorithmDescriptionT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
91 template <typename CreationTimeT = Aws::Utils::DateTime>
92 void SetCreationTime(CreationTimeT&& value) {
93 m_creationTimeHasBeenSet = true;
94 m_creationTime = std::forward<CreationTimeT>(value);
95 }
96 template <typename CreationTimeT = Aws::Utils::DateTime>
97 DescribeAlgorithmResult& WithCreationTime(CreationTimeT&& value) {
98 SetCreationTime(std::forward<CreationTimeT>(value));
99 return *this;
100 }
102
104
107 inline const TrainingSpecification& GetTrainingSpecification() const { return m_trainingSpecification; }
108 template <typename TrainingSpecificationT = TrainingSpecification>
109 void SetTrainingSpecification(TrainingSpecificationT&& value) {
110 m_trainingSpecificationHasBeenSet = true;
111 m_trainingSpecification = std::forward<TrainingSpecificationT>(value);
112 }
113 template <typename TrainingSpecificationT = TrainingSpecification>
114 DescribeAlgorithmResult& WithTrainingSpecification(TrainingSpecificationT&& value) {
115 SetTrainingSpecification(std::forward<TrainingSpecificationT>(value));
116 return *this;
117 }
119
121
124 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
125 template <typename InferenceSpecificationT = InferenceSpecification>
126 void SetInferenceSpecification(InferenceSpecificationT&& value) {
127 m_inferenceSpecificationHasBeenSet = true;
128 m_inferenceSpecification = std::forward<InferenceSpecificationT>(value);
129 }
130 template <typename InferenceSpecificationT = InferenceSpecification>
131 DescribeAlgorithmResult& WithInferenceSpecification(InferenceSpecificationT&& value) {
132 SetInferenceSpecification(std::forward<InferenceSpecificationT>(value));
133 return *this;
134 }
136
138
142 inline const AlgorithmValidationSpecification& GetValidationSpecification() const { return m_validationSpecification; }
143 template <typename ValidationSpecificationT = AlgorithmValidationSpecification>
144 void SetValidationSpecification(ValidationSpecificationT&& value) {
145 m_validationSpecificationHasBeenSet = true;
146 m_validationSpecification = std::forward<ValidationSpecificationT>(value);
147 }
148 template <typename ValidationSpecificationT = AlgorithmValidationSpecification>
149 DescribeAlgorithmResult& WithValidationSpecification(ValidationSpecificationT&& value) {
150 SetValidationSpecification(std::forward<ValidationSpecificationT>(value));
151 return *this;
152 }
154
156
159 inline AlgorithmStatus GetAlgorithmStatus() const { return m_algorithmStatus; }
161 m_algorithmStatusHasBeenSet = true;
162 m_algorithmStatus = value;
163 }
165 SetAlgorithmStatus(value);
166 return *this;
167 }
169
171
174 inline const AlgorithmStatusDetails& GetAlgorithmStatusDetails() const { return m_algorithmStatusDetails; }
175 template <typename AlgorithmStatusDetailsT = AlgorithmStatusDetails>
176 void SetAlgorithmStatusDetails(AlgorithmStatusDetailsT&& value) {
177 m_algorithmStatusDetailsHasBeenSet = true;
178 m_algorithmStatusDetails = std::forward<AlgorithmStatusDetailsT>(value);
179 }
180 template <typename AlgorithmStatusDetailsT = AlgorithmStatusDetails>
181 DescribeAlgorithmResult& WithAlgorithmStatusDetails(AlgorithmStatusDetailsT&& value) {
182 SetAlgorithmStatusDetails(std::forward<AlgorithmStatusDetailsT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetProductId() const { return m_productId; }
192 template <typename ProductIdT = Aws::String>
193 void SetProductId(ProductIdT&& value) {
194 m_productIdHasBeenSet = true;
195 m_productId = std::forward<ProductIdT>(value);
196 }
197 template <typename ProductIdT = Aws::String>
199 SetProductId(std::forward<ProductIdT>(value));
200 return *this;
201 }
203
205
209 inline bool GetCertifyForMarketplace() const { return m_certifyForMarketplace; }
210 inline void SetCertifyForMarketplace(bool value) {
211 m_certifyForMarketplaceHasBeenSet = true;
212 m_certifyForMarketplace = value;
213 }
216 return *this;
217 }
219
221
222 inline const Aws::String& GetRequestId() const { return m_requestId; }
223 template <typename RequestIdT = Aws::String>
224 void SetRequestId(RequestIdT&& value) {
225 m_requestIdHasBeenSet = true;
226 m_requestId = std::forward<RequestIdT>(value);
227 }
228 template <typename RequestIdT = Aws::String>
230 SetRequestId(std::forward<RequestIdT>(value));
231 return *this;
232 }
234 private:
235 Aws::String m_algorithmName;
236
237 Aws::String m_algorithmArn;
238
239 Aws::String m_algorithmDescription;
240
241 Aws::Utils::DateTime m_creationTime{};
242
243 TrainingSpecification m_trainingSpecification;
244
245 InferenceSpecification m_inferenceSpecification;
246
247 AlgorithmValidationSpecification m_validationSpecification;
248
249 AlgorithmStatus m_algorithmStatus{AlgorithmStatus::NOT_SET};
250
251 AlgorithmStatusDetails m_algorithmStatusDetails;
252
253 Aws::String m_productId;
254
255 bool m_certifyForMarketplace{false};
256
257 Aws::String m_requestId;
258 bool m_algorithmNameHasBeenSet = false;
259 bool m_algorithmArnHasBeenSet = false;
260 bool m_algorithmDescriptionHasBeenSet = false;
261 bool m_creationTimeHasBeenSet = false;
262 bool m_trainingSpecificationHasBeenSet = false;
263 bool m_inferenceSpecificationHasBeenSet = false;
264 bool m_validationSpecificationHasBeenSet = false;
265 bool m_algorithmStatusHasBeenSet = false;
266 bool m_algorithmStatusDetailsHasBeenSet = false;
267 bool m_productIdHasBeenSet = false;
268 bool m_certifyForMarketplaceHasBeenSet = false;
269 bool m_requestIdHasBeenSet = false;
270};
271
272} // namespace Model
273} // namespace SageMaker
274} // 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)
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