AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeInferenceExperimentResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/EndpointMetadata.h>
12#include <aws/sagemaker/model/InferenceExperimentDataStorageConfig.h>
13#include <aws/sagemaker/model/InferenceExperimentSchedule.h>
14#include <aws/sagemaker/model/InferenceExperimentStatus.h>
15#include <aws/sagemaker/model/InferenceExperimentType.h>
16#include <aws/sagemaker/model/ModelVariantConfigSummary.h>
17#include <aws/sagemaker/model/ShadowModeConfig.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SageMaker {
31namespace Model {
33 public:
34 AWS_SAGEMAKER_API DescribeInferenceExperimentResult() = default;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline InferenceExperimentType GetType() const { return m_type; }
77 inline void SetType(InferenceExperimentType value) {
78 m_typeHasBeenSet = true;
79 m_type = value;
80 }
82 SetType(value);
83 return *this;
84 }
86
88
91 inline const InferenceExperimentSchedule& GetSchedule() const { return m_schedule; }
92 template <typename ScheduleT = InferenceExperimentSchedule>
93 void SetSchedule(ScheduleT&& value) {
94 m_scheduleHasBeenSet = true;
95 m_schedule = std::forward<ScheduleT>(value);
96 }
97 template <typename ScheduleT = InferenceExperimentSchedule>
99 SetSchedule(std::forward<ScheduleT>(value));
100 return *this;
101 }
103
105
122 inline InferenceExperimentStatus GetStatus() const { return m_status; }
124 m_statusHasBeenSet = true;
125 m_status = value;
126 }
128 SetStatus(value);
129 return *this;
130 }
132
134
139 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
140 template <typename StatusReasonT = Aws::String>
141 void SetStatusReason(StatusReasonT&& value) {
142 m_statusReasonHasBeenSet = true;
143 m_statusReason = std::forward<StatusReasonT>(value);
144 }
145 template <typename StatusReasonT = Aws::String>
147 SetStatusReason(std::forward<StatusReasonT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetDescription() const { return m_description; }
157 template <typename DescriptionT = Aws::String>
158 void SetDescription(DescriptionT&& value) {
159 m_descriptionHasBeenSet = true;
160 m_description = std::forward<DescriptionT>(value);
161 }
162 template <typename DescriptionT = Aws::String>
164 SetDescription(std::forward<DescriptionT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
174 template <typename CreationTimeT = Aws::Utils::DateTime>
175 void SetCreationTime(CreationTimeT&& value) {
176 m_creationTimeHasBeenSet = true;
177 m_creationTime = std::forward<CreationTimeT>(value);
178 }
179 template <typename CreationTimeT = Aws::Utils::DateTime>
181 SetCreationTime(std::forward<CreationTimeT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
191 template <typename CompletionTimeT = Aws::Utils::DateTime>
192 void SetCompletionTime(CompletionTimeT&& value) {
193 m_completionTimeHasBeenSet = true;
194 m_completionTime = std::forward<CompletionTimeT>(value);
195 }
196 template <typename CompletionTimeT = Aws::Utils::DateTime>
198 SetCompletionTime(std::forward<CompletionTimeT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
208 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
209 void SetLastModifiedTime(LastModifiedTimeT&& value) {
210 m_lastModifiedTimeHasBeenSet = true;
211 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
212 }
213 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
215 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
216 return *this;
217 }
219
221
226 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
227 template <typename RoleArnT = Aws::String>
228 void SetRoleArn(RoleArnT&& value) {
229 m_roleArnHasBeenSet = true;
230 m_roleArn = std::forward<RoleArnT>(value);
231 }
232 template <typename RoleArnT = Aws::String>
234 SetRoleArn(std::forward<RoleArnT>(value));
235 return *this;
236 }
238
240
243 inline const EndpointMetadata& GetEndpointMetadata() const { return m_endpointMetadata; }
244 template <typename EndpointMetadataT = EndpointMetadata>
245 void SetEndpointMetadata(EndpointMetadataT&& value) {
246 m_endpointMetadataHasBeenSet = true;
247 m_endpointMetadata = std::forward<EndpointMetadataT>(value);
248 }
249 template <typename EndpointMetadataT = EndpointMetadata>
251 SetEndpointMetadata(std::forward<EndpointMetadataT>(value));
252 return *this;
253 }
255
257
263 inline const Aws::Vector<ModelVariantConfigSummary>& GetModelVariants() const { return m_modelVariants; }
264 template <typename ModelVariantsT = Aws::Vector<ModelVariantConfigSummary>>
265 void SetModelVariants(ModelVariantsT&& value) {
266 m_modelVariantsHasBeenSet = true;
267 m_modelVariants = std::forward<ModelVariantsT>(value);
268 }
269 template <typename ModelVariantsT = Aws::Vector<ModelVariantConfigSummary>>
271 SetModelVariants(std::forward<ModelVariantsT>(value));
272 return *this;
273 }
274 template <typename ModelVariantsT = ModelVariantConfigSummary>
276 m_modelVariantsHasBeenSet = true;
277 m_modelVariants.emplace_back(std::forward<ModelVariantsT>(value));
278 return *this;
279 }
281
283
287 inline const InferenceExperimentDataStorageConfig& GetDataStorageConfig() const { return m_dataStorageConfig; }
288 template <typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
289 void SetDataStorageConfig(DataStorageConfigT&& value) {
290 m_dataStorageConfigHasBeenSet = true;
291 m_dataStorageConfig = std::forward<DataStorageConfigT>(value);
292 }
293 template <typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
295 SetDataStorageConfig(std::forward<DataStorageConfigT>(value));
296 return *this;
297 }
299
301
308 inline const ShadowModeConfig& GetShadowModeConfig() const { return m_shadowModeConfig; }
309 template <typename ShadowModeConfigT = ShadowModeConfig>
310 void SetShadowModeConfig(ShadowModeConfigT&& value) {
311 m_shadowModeConfigHasBeenSet = true;
312 m_shadowModeConfig = std::forward<ShadowModeConfigT>(value);
313 }
314 template <typename ShadowModeConfigT = ShadowModeConfig>
316 SetShadowModeConfig(std::forward<ShadowModeConfigT>(value));
317 return *this;
318 }
320
322
329 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
330 template <typename KmsKeyT = Aws::String>
331 void SetKmsKey(KmsKeyT&& value) {
332 m_kmsKeyHasBeenSet = true;
333 m_kmsKey = std::forward<KmsKeyT>(value);
334 }
335 template <typename KmsKeyT = Aws::String>
337 SetKmsKey(std::forward<KmsKeyT>(value));
338 return *this;
339 }
341
343
344 inline const Aws::String& GetRequestId() const { return m_requestId; }
345 template <typename RequestIdT = Aws::String>
346 void SetRequestId(RequestIdT&& value) {
347 m_requestIdHasBeenSet = true;
348 m_requestId = std::forward<RequestIdT>(value);
349 }
350 template <typename RequestIdT = Aws::String>
352 SetRequestId(std::forward<RequestIdT>(value));
353 return *this;
354 }
356 private:
357 Aws::String m_arn;
358
359 Aws::String m_name;
360
362
363 InferenceExperimentSchedule m_schedule;
364
366
367 Aws::String m_statusReason;
368
369 Aws::String m_description;
370
371 Aws::Utils::DateTime m_creationTime{};
372
373 Aws::Utils::DateTime m_completionTime{};
374
375 Aws::Utils::DateTime m_lastModifiedTime{};
376
377 Aws::String m_roleArn;
378
379 EndpointMetadata m_endpointMetadata;
380
382
383 InferenceExperimentDataStorageConfig m_dataStorageConfig;
384
385 ShadowModeConfig m_shadowModeConfig;
386
387 Aws::String m_kmsKey;
388
389 Aws::String m_requestId;
390 bool m_arnHasBeenSet = false;
391 bool m_nameHasBeenSet = false;
392 bool m_typeHasBeenSet = false;
393 bool m_scheduleHasBeenSet = false;
394 bool m_statusHasBeenSet = false;
395 bool m_statusReasonHasBeenSet = false;
396 bool m_descriptionHasBeenSet = false;
397 bool m_creationTimeHasBeenSet = false;
398 bool m_completionTimeHasBeenSet = false;
399 bool m_lastModifiedTimeHasBeenSet = false;
400 bool m_roleArnHasBeenSet = false;
401 bool m_endpointMetadataHasBeenSet = false;
402 bool m_modelVariantsHasBeenSet = false;
403 bool m_dataStorageConfigHasBeenSet = false;
404 bool m_shadowModeConfigHasBeenSet = false;
405 bool m_kmsKeyHasBeenSet = false;
406 bool m_requestIdHasBeenSet = false;
407};
408
409} // namespace Model
410} // namespace SageMaker
411} // 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