AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeInferenceExperimentResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/EndpointMetadata.h>
13#include <aws/sagemaker/model/InferenceExperimentDataStorageConfig.h>
14#include <aws/sagemaker/model/InferenceExperimentSchedule.h>
15#include <aws/sagemaker/model/InferenceExperimentStatus.h>
16#include <aws/sagemaker/model/InferenceExperimentType.h>
17#include <aws/sagemaker/model/ModelVariantConfigSummary.h>
18#include <aws/sagemaker/model/ShadowModeConfig.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SageMaker {
32namespace Model {
34 public:
35 AWS_SAGEMAKER_API DescribeInferenceExperimentResult() = default;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline InferenceExperimentType GetType() const { return m_type; }
78 inline void SetType(InferenceExperimentType value) {
79 m_typeHasBeenSet = true;
80 m_type = value;
81 }
83 SetType(value);
84 return *this;
85 }
87
89
92 inline const InferenceExperimentSchedule& GetSchedule() const { return m_schedule; }
93 template <typename ScheduleT = InferenceExperimentSchedule>
94 void SetSchedule(ScheduleT&& value) {
95 m_scheduleHasBeenSet = true;
96 m_schedule = std::forward<ScheduleT>(value);
97 }
98 template <typename ScheduleT = InferenceExperimentSchedule>
100 SetSchedule(std::forward<ScheduleT>(value));
101 return *this;
102 }
104
106
123 inline InferenceExperimentStatus GetStatus() const { return m_status; }
125 m_statusHasBeenSet = true;
126 m_status = value;
127 }
129 SetStatus(value);
130 return *this;
131 }
133
135
140 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
141 template <typename StatusReasonT = Aws::String>
142 void SetStatusReason(StatusReasonT&& value) {
143 m_statusReasonHasBeenSet = true;
144 m_statusReason = std::forward<StatusReasonT>(value);
145 }
146 template <typename StatusReasonT = Aws::String>
148 SetStatusReason(std::forward<StatusReasonT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetDescription() const { return m_description; }
158 template <typename DescriptionT = Aws::String>
159 void SetDescription(DescriptionT&& value) {
160 m_descriptionHasBeenSet = true;
161 m_description = std::forward<DescriptionT>(value);
162 }
163 template <typename DescriptionT = Aws::String>
165 SetDescription(std::forward<DescriptionT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
175 template <typename CreationTimeT = Aws::Utils::DateTime>
176 void SetCreationTime(CreationTimeT&& value) {
177 m_creationTimeHasBeenSet = true;
178 m_creationTime = std::forward<CreationTimeT>(value);
179 }
180 template <typename CreationTimeT = Aws::Utils::DateTime>
182 SetCreationTime(std::forward<CreationTimeT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
192 template <typename CompletionTimeT = Aws::Utils::DateTime>
193 void SetCompletionTime(CompletionTimeT&& value) {
194 m_completionTimeHasBeenSet = true;
195 m_completionTime = std::forward<CompletionTimeT>(value);
196 }
197 template <typename CompletionTimeT = Aws::Utils::DateTime>
199 SetCompletionTime(std::forward<CompletionTimeT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
209 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
210 void SetLastModifiedTime(LastModifiedTimeT&& value) {
211 m_lastModifiedTimeHasBeenSet = true;
212 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
213 }
214 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
216 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
217 return *this;
218 }
220
222
227 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
228 template <typename RoleArnT = Aws::String>
229 void SetRoleArn(RoleArnT&& value) {
230 m_roleArnHasBeenSet = true;
231 m_roleArn = std::forward<RoleArnT>(value);
232 }
233 template <typename RoleArnT = Aws::String>
235 SetRoleArn(std::forward<RoleArnT>(value));
236 return *this;
237 }
239
241
244 inline const EndpointMetadata& GetEndpointMetadata() const { return m_endpointMetadata; }
245 template <typename EndpointMetadataT = EndpointMetadata>
246 void SetEndpointMetadata(EndpointMetadataT&& value) {
247 m_endpointMetadataHasBeenSet = true;
248 m_endpointMetadata = std::forward<EndpointMetadataT>(value);
249 }
250 template <typename EndpointMetadataT = EndpointMetadata>
252 SetEndpointMetadata(std::forward<EndpointMetadataT>(value));
253 return *this;
254 }
256
258
264 inline const Aws::Vector<ModelVariantConfigSummary>& GetModelVariants() const { return m_modelVariants; }
265 template <typename ModelVariantsT = Aws::Vector<ModelVariantConfigSummary>>
266 void SetModelVariants(ModelVariantsT&& value) {
267 m_modelVariantsHasBeenSet = true;
268 m_modelVariants = std::forward<ModelVariantsT>(value);
269 }
270 template <typename ModelVariantsT = Aws::Vector<ModelVariantConfigSummary>>
272 SetModelVariants(std::forward<ModelVariantsT>(value));
273 return *this;
274 }
275 template <typename ModelVariantsT = ModelVariantConfigSummary>
277 m_modelVariantsHasBeenSet = true;
278 m_modelVariants.emplace_back(std::forward<ModelVariantsT>(value));
279 return *this;
280 }
282
284
288 inline const InferenceExperimentDataStorageConfig& GetDataStorageConfig() const { return m_dataStorageConfig; }
289 template <typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
290 void SetDataStorageConfig(DataStorageConfigT&& value) {
291 m_dataStorageConfigHasBeenSet = true;
292 m_dataStorageConfig = std::forward<DataStorageConfigT>(value);
293 }
294 template <typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
296 SetDataStorageConfig(std::forward<DataStorageConfigT>(value));
297 return *this;
298 }
300
302
309 inline const ShadowModeConfig& GetShadowModeConfig() const { return m_shadowModeConfig; }
310 template <typename ShadowModeConfigT = ShadowModeConfig>
311 void SetShadowModeConfig(ShadowModeConfigT&& value) {
312 m_shadowModeConfigHasBeenSet = true;
313 m_shadowModeConfig = std::forward<ShadowModeConfigT>(value);
314 }
315 template <typename ShadowModeConfigT = ShadowModeConfig>
317 SetShadowModeConfig(std::forward<ShadowModeConfigT>(value));
318 return *this;
319 }
321
323
330 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
331 template <typename KmsKeyT = Aws::String>
332 void SetKmsKey(KmsKeyT&& value) {
333 m_kmsKeyHasBeenSet = true;
334 m_kmsKey = std::forward<KmsKeyT>(value);
335 }
336 template <typename KmsKeyT = Aws::String>
338 SetKmsKey(std::forward<KmsKeyT>(value));
339 return *this;
340 }
342
344
345 inline const Aws::String& GetRequestId() const { return m_requestId; }
346 template <typename RequestIdT = Aws::String>
347 void SetRequestId(RequestIdT&& value) {
348 m_requestIdHasBeenSet = true;
349 m_requestId = std::forward<RequestIdT>(value);
350 }
351 template <typename RequestIdT = Aws::String>
353 SetRequestId(std::forward<RequestIdT>(value));
354 return *this;
355 }
357 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
358
359 private:
360 Aws::String m_arn;
361
362 Aws::String m_name;
363
365
366 InferenceExperimentSchedule m_schedule;
367
369
370 Aws::String m_statusReason;
371
372 Aws::String m_description;
373
374 Aws::Utils::DateTime m_creationTime{};
375
376 Aws::Utils::DateTime m_completionTime{};
377
378 Aws::Utils::DateTime m_lastModifiedTime{};
379
380 Aws::String m_roleArn;
381
382 EndpointMetadata m_endpointMetadata;
383
385
386 InferenceExperimentDataStorageConfig m_dataStorageConfig;
387
388 ShadowModeConfig m_shadowModeConfig;
389
390 Aws::String m_kmsKey;
391
392 Aws::String m_requestId;
393 Aws::Http::HttpResponseCode m_HttpResponseCode;
394 bool m_arnHasBeenSet = false;
395 bool m_nameHasBeenSet = false;
396 bool m_typeHasBeenSet = false;
397 bool m_scheduleHasBeenSet = false;
398 bool m_statusHasBeenSet = false;
399 bool m_statusReasonHasBeenSet = false;
400 bool m_descriptionHasBeenSet = false;
401 bool m_creationTimeHasBeenSet = false;
402 bool m_completionTimeHasBeenSet = false;
403 bool m_lastModifiedTimeHasBeenSet = false;
404 bool m_roleArnHasBeenSet = false;
405 bool m_endpointMetadataHasBeenSet = false;
406 bool m_modelVariantsHasBeenSet = false;
407 bool m_dataStorageConfigHasBeenSet = false;
408 bool m_shadowModeConfigHasBeenSet = false;
409 bool m_kmsKeyHasBeenSet = false;
410 bool m_requestIdHasBeenSet = false;
411};
412
413} // namespace Model
414} // namespace SageMaker
415} // namespace Aws
DescribeInferenceExperimentResult & WithSchedule(ScheduleT &&value)
DescribeInferenceExperimentResult & WithStatusReason(StatusReasonT &&value)
DescribeInferenceExperimentResult & WithType(InferenceExperimentType value)
DescribeInferenceExperimentResult & WithKmsKey(KmsKeyT &&value)
DescribeInferenceExperimentResult & WithShadowModeConfig(ShadowModeConfigT &&value)
DescribeInferenceExperimentResult & WithDescription(DescriptionT &&value)
DescribeInferenceExperimentResult & WithEndpointMetadata(EndpointMetadataT &&value)
DescribeInferenceExperimentResult & AddModelVariants(ModelVariantsT &&value)
AWS_SAGEMAKER_API DescribeInferenceExperimentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceExperimentResult & WithDataStorageConfig(DataStorageConfigT &&value)
const Aws::Vector< ModelVariantConfigSummary > & GetModelVariants() const
AWS_SAGEMAKER_API DescribeInferenceExperimentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInferenceExperimentResult & WithModelVariants(ModelVariantsT &&value)
DescribeInferenceExperimentResult & WithCreationTime(CreationTimeT &&value)
DescribeInferenceExperimentResult & WithName(NameT &&value)
const InferenceExperimentDataStorageConfig & GetDataStorageConfig() const
DescribeInferenceExperimentResult & WithStatus(InferenceExperimentStatus value)
DescribeInferenceExperimentResult & WithRoleArn(RoleArnT &&value)
DescribeInferenceExperimentResult & WithRequestId(RequestIdT &&value)
DescribeInferenceExperimentResult & WithCompletionTime(CompletionTimeT &&value)
DescribeInferenceExperimentResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeInferenceExperimentResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue