AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeInferenceExperimentResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/InferenceExperimentType.h>
10#include <aws/sagemaker/model/InferenceExperimentSchedule.h>
11#include <aws/sagemaker/model/InferenceExperimentStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/EndpointMetadata.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/InferenceExperimentDataStorageConfig.h>
16#include <aws/sagemaker/model/ShadowModeConfig.h>
17#include <aws/sagemaker/model/ModelVariantConfigSummary.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace SageMaker
33{
34namespace Model
35{
37 {
38 public:
39 AWS_SAGEMAKER_API DescribeInferenceExperimentResult() = default;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 DescribeInferenceExperimentResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 DescribeInferenceExperimentResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline InferenceExperimentType GetType() const { return m_type; }
71 inline void SetType(InferenceExperimentType value) { m_typeHasBeenSet = true; m_type = value; }
74
76
79 inline const InferenceExperimentSchedule& GetSchedule() const { return m_schedule; }
80 template<typename ScheduleT = InferenceExperimentSchedule>
81 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
82 template<typename ScheduleT = InferenceExperimentSchedule>
83 DescribeInferenceExperimentResult& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
85
87
104 inline InferenceExperimentStatus GetStatus() const { return m_status; }
105 inline void SetStatus(InferenceExperimentStatus value) { m_statusHasBeenSet = true; m_status = value; }
108
110
115 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
116 template<typename StatusReasonT = Aws::String>
117 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
118 template<typename StatusReasonT = Aws::String>
119 DescribeInferenceExperimentResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
121
123
126 inline const Aws::String& GetDescription() const { return m_description; }
127 template<typename DescriptionT = Aws::String>
128 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
129 template<typename DescriptionT = Aws::String>
130 DescribeInferenceExperimentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
132
134
137 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
138 template<typename CreationTimeT = Aws::Utils::DateTime>
139 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
140 template<typename CreationTimeT = Aws::Utils::DateTime>
141 DescribeInferenceExperimentResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
149 template<typename CompletionTimeT = Aws::Utils::DateTime>
150 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
151 template<typename CompletionTimeT = Aws::Utils::DateTime>
152 DescribeInferenceExperimentResult& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
154
156
159 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
160 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
161 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
162 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
163 DescribeInferenceExperimentResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
165
167
172 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
173 template<typename RoleArnT = Aws::String>
174 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
175 template<typename RoleArnT = Aws::String>
176 DescribeInferenceExperimentResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
178
180
183 inline const EndpointMetadata& GetEndpointMetadata() const { return m_endpointMetadata; }
184 template<typename EndpointMetadataT = EndpointMetadata>
185 void SetEndpointMetadata(EndpointMetadataT&& value) { m_endpointMetadataHasBeenSet = true; m_endpointMetadata = std::forward<EndpointMetadataT>(value); }
186 template<typename EndpointMetadataT = EndpointMetadata>
187 DescribeInferenceExperimentResult& WithEndpointMetadata(EndpointMetadataT&& value) { SetEndpointMetadata(std::forward<EndpointMetadataT>(value)); return *this;}
189
191
197 inline const Aws::Vector<ModelVariantConfigSummary>& GetModelVariants() const { return m_modelVariants; }
198 template<typename ModelVariantsT = Aws::Vector<ModelVariantConfigSummary>>
199 void SetModelVariants(ModelVariantsT&& value) { m_modelVariantsHasBeenSet = true; m_modelVariants = std::forward<ModelVariantsT>(value); }
200 template<typename ModelVariantsT = Aws::Vector<ModelVariantConfigSummary>>
201 DescribeInferenceExperimentResult& WithModelVariants(ModelVariantsT&& value) { SetModelVariants(std::forward<ModelVariantsT>(value)); return *this;}
202 template<typename ModelVariantsT = ModelVariantConfigSummary>
203 DescribeInferenceExperimentResult& AddModelVariants(ModelVariantsT&& value) { m_modelVariantsHasBeenSet = true; m_modelVariants.emplace_back(std::forward<ModelVariantsT>(value)); return *this; }
205
207
211 inline const InferenceExperimentDataStorageConfig& GetDataStorageConfig() const { return m_dataStorageConfig; }
212 template<typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
213 void SetDataStorageConfig(DataStorageConfigT&& value) { m_dataStorageConfigHasBeenSet = true; m_dataStorageConfig = std::forward<DataStorageConfigT>(value); }
214 template<typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
215 DescribeInferenceExperimentResult& WithDataStorageConfig(DataStorageConfigT&& value) { SetDataStorageConfig(std::forward<DataStorageConfigT>(value)); return *this;}
217
219
226 inline const ShadowModeConfig& GetShadowModeConfig() const { return m_shadowModeConfig; }
227 template<typename ShadowModeConfigT = ShadowModeConfig>
228 void SetShadowModeConfig(ShadowModeConfigT&& value) { m_shadowModeConfigHasBeenSet = true; m_shadowModeConfig = std::forward<ShadowModeConfigT>(value); }
229 template<typename ShadowModeConfigT = ShadowModeConfig>
230 DescribeInferenceExperimentResult& WithShadowModeConfig(ShadowModeConfigT&& value) { SetShadowModeConfig(std::forward<ShadowModeConfigT>(value)); return *this;}
232
234
241 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
242 template<typename KmsKeyT = Aws::String>
243 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::forward<KmsKeyT>(value); }
244 template<typename KmsKeyT = Aws::String>
245 DescribeInferenceExperimentResult& WithKmsKey(KmsKeyT&& value) { SetKmsKey(std::forward<KmsKeyT>(value)); return *this;}
247
249
250 inline const Aws::String& GetRequestId() const { return m_requestId; }
251 template<typename RequestIdT = Aws::String>
252 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
253 template<typename RequestIdT = Aws::String>
254 DescribeInferenceExperimentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
256 private:
257
258 Aws::String m_arn;
259 bool m_arnHasBeenSet = false;
260
261 Aws::String m_name;
262 bool m_nameHasBeenSet = false;
263
265 bool m_typeHasBeenSet = false;
266
267 InferenceExperimentSchedule m_schedule;
268 bool m_scheduleHasBeenSet = false;
269
271 bool m_statusHasBeenSet = false;
272
273 Aws::String m_statusReason;
274 bool m_statusReasonHasBeenSet = false;
275
276 Aws::String m_description;
277 bool m_descriptionHasBeenSet = false;
278
279 Aws::Utils::DateTime m_creationTime{};
280 bool m_creationTimeHasBeenSet = false;
281
282 Aws::Utils::DateTime m_completionTime{};
283 bool m_completionTimeHasBeenSet = false;
284
285 Aws::Utils::DateTime m_lastModifiedTime{};
286 bool m_lastModifiedTimeHasBeenSet = false;
287
288 Aws::String m_roleArn;
289 bool m_roleArnHasBeenSet = false;
290
291 EndpointMetadata m_endpointMetadata;
292 bool m_endpointMetadataHasBeenSet = false;
293
295 bool m_modelVariantsHasBeenSet = false;
296
297 InferenceExperimentDataStorageConfig m_dataStorageConfig;
298 bool m_dataStorageConfigHasBeenSet = false;
299
300 ShadowModeConfig m_shadowModeConfig;
301 bool m_shadowModeConfigHasBeenSet = false;
302
303 Aws::String m_kmsKey;
304 bool m_kmsKeyHasBeenSet = false;
305
306 Aws::String m_requestId;
307 bool m_requestIdHasBeenSet = false;
308 };
309
310} // namespace Model
311} // namespace SageMaker
312} // 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