AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetTrainedModelInferenceJobResult.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanroomsml/model/TrainedModelInferenceJobStatus.h>
11#include <aws/cleanroomsml/model/InferenceResourceConfig.h>
12#include <aws/cleanroomsml/model/InferenceOutputConfiguration.h>
13#include <aws/cleanroomsml/model/ModelInferenceDataSource.h>
14#include <aws/cleanroomsml/model/InferenceContainerExecutionParameters.h>
15#include <aws/cleanroomsml/model/StatusDetails.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/cleanroomsml/model/MetricsStatus.h>
18#include <aws/cleanroomsml/model/LogsStatus.h>
19#include <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace CleanRoomsML
34{
35namespace Model
36{
38 {
39 public:
40 AWS_CLEANROOMSML_API GetTrainedModelInferenceJobResult() = default;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
50 template<typename CreateTimeT = Aws::Utils::DateTime>
51 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
52 template<typename CreateTimeT = Aws::Utils::DateTime>
53 GetTrainedModelInferenceJobResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
62 template<typename UpdateTimeT = Aws::Utils::DateTime>
63 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
64 template<typename UpdateTimeT = Aws::Utils::DateTime>
65 GetTrainedModelInferenceJobResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
67
69
72 inline const Aws::String& GetTrainedModelInferenceJobArn() const { return m_trainedModelInferenceJobArn; }
73 template<typename TrainedModelInferenceJobArnT = Aws::String>
74 void SetTrainedModelInferenceJobArn(TrainedModelInferenceJobArnT&& value) { m_trainedModelInferenceJobArnHasBeenSet = true; m_trainedModelInferenceJobArn = std::forward<TrainedModelInferenceJobArnT>(value); }
75 template<typename TrainedModelInferenceJobArnT = Aws::String>
76 GetTrainedModelInferenceJobResult& WithTrainedModelInferenceJobArn(TrainedModelInferenceJobArnT&& value) { SetTrainedModelInferenceJobArn(std::forward<TrainedModelInferenceJobArnT>(value)); return *this;}
78
80
84 inline const Aws::String& GetConfiguredModelAlgorithmAssociationArn() const { return m_configuredModelAlgorithmAssociationArn; }
85 template<typename ConfiguredModelAlgorithmAssociationArnT = Aws::String>
86 void SetConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT&& value) { m_configuredModelAlgorithmAssociationArnHasBeenSet = true; m_configuredModelAlgorithmAssociationArn = std::forward<ConfiguredModelAlgorithmAssociationArnT>(value); }
87 template<typename ConfiguredModelAlgorithmAssociationArnT = Aws::String>
88 GetTrainedModelInferenceJobResult& WithConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT&& value) { SetConfiguredModelAlgorithmAssociationArn(std::forward<ConfiguredModelAlgorithmAssociationArnT>(value)); return *this;}
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 GetTrainedModelInferenceJobResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
106 inline TrainedModelInferenceJobStatus GetStatus() const { return m_status; }
107 inline void SetStatus(TrainedModelInferenceJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
110
112
116 inline const Aws::String& GetTrainedModelArn() const { return m_trainedModelArn; }
117 template<typename TrainedModelArnT = Aws::String>
118 void SetTrainedModelArn(TrainedModelArnT&& value) { m_trainedModelArnHasBeenSet = true; m_trainedModelArn = std::forward<TrainedModelArnT>(value); }
119 template<typename TrainedModelArnT = Aws::String>
120 GetTrainedModelInferenceJobResult& WithTrainedModelArn(TrainedModelArnT&& value) { SetTrainedModelArn(std::forward<TrainedModelArnT>(value)); return *this;}
122
124
129 inline const Aws::String& GetTrainedModelVersionIdentifier() const { return m_trainedModelVersionIdentifier; }
130 template<typename TrainedModelVersionIdentifierT = Aws::String>
131 void SetTrainedModelVersionIdentifier(TrainedModelVersionIdentifierT&& value) { m_trainedModelVersionIdentifierHasBeenSet = true; m_trainedModelVersionIdentifier = std::forward<TrainedModelVersionIdentifierT>(value); }
132 template<typename TrainedModelVersionIdentifierT = Aws::String>
133 GetTrainedModelInferenceJobResult& WithTrainedModelVersionIdentifier(TrainedModelVersionIdentifierT&& value) { SetTrainedModelVersionIdentifier(std::forward<TrainedModelVersionIdentifierT>(value)); return *this;}
135
137
141 inline const InferenceResourceConfig& GetResourceConfig() const { return m_resourceConfig; }
142 template<typename ResourceConfigT = InferenceResourceConfig>
143 void SetResourceConfig(ResourceConfigT&& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = std::forward<ResourceConfigT>(value); }
144 template<typename ResourceConfigT = InferenceResourceConfig>
145 GetTrainedModelInferenceJobResult& WithResourceConfig(ResourceConfigT&& value) { SetResourceConfig(std::forward<ResourceConfigT>(value)); return *this;}
147
149
152 inline const InferenceOutputConfiguration& GetOutputConfiguration() const { return m_outputConfiguration; }
153 template<typename OutputConfigurationT = InferenceOutputConfiguration>
154 void SetOutputConfiguration(OutputConfigurationT&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::forward<OutputConfigurationT>(value); }
155 template<typename OutputConfigurationT = InferenceOutputConfiguration>
156 GetTrainedModelInferenceJobResult& WithOutputConfiguration(OutputConfigurationT&& value) { SetOutputConfiguration(std::forward<OutputConfigurationT>(value)); return *this;}
158
160
164 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
165 template<typename MembershipIdentifierT = Aws::String>
166 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
167 template<typename MembershipIdentifierT = Aws::String>
168 GetTrainedModelInferenceJobResult& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
170
172
175 inline const ModelInferenceDataSource& GetDataSource() const { return m_dataSource; }
176 template<typename DataSourceT = ModelInferenceDataSource>
177 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
178 template<typename DataSourceT = ModelInferenceDataSource>
179 GetTrainedModelInferenceJobResult& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
181
183
186 inline const InferenceContainerExecutionParameters& GetContainerExecutionParameters() const { return m_containerExecutionParameters; }
187 template<typename ContainerExecutionParametersT = InferenceContainerExecutionParameters>
188 void SetContainerExecutionParameters(ContainerExecutionParametersT&& value) { m_containerExecutionParametersHasBeenSet = true; m_containerExecutionParameters = std::forward<ContainerExecutionParametersT>(value); }
189 template<typename ContainerExecutionParametersT = InferenceContainerExecutionParameters>
190 GetTrainedModelInferenceJobResult& WithContainerExecutionParameters(ContainerExecutionParametersT&& value) { SetContainerExecutionParameters(std::forward<ContainerExecutionParametersT>(value)); return *this;}
192
194
195 inline const StatusDetails& GetStatusDetails() const { return m_statusDetails; }
196 template<typename StatusDetailsT = StatusDetails>
197 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::forward<StatusDetailsT>(value); }
198 template<typename StatusDetailsT = StatusDetails>
199 GetTrainedModelInferenceJobResult& WithStatusDetails(StatusDetailsT&& value) { SetStatusDetails(std::forward<StatusDetailsT>(value)); return *this;}
201
203
206 inline const Aws::String& GetDescription() const { return m_description; }
207 template<typename DescriptionT = Aws::String>
208 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
209 template<typename DescriptionT = Aws::String>
210 GetTrainedModelInferenceJobResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
212
214
217 inline const Aws::String& GetInferenceContainerImageDigest() const { return m_inferenceContainerImageDigest; }
218 template<typename InferenceContainerImageDigestT = Aws::String>
219 void SetInferenceContainerImageDigest(InferenceContainerImageDigestT&& value) { m_inferenceContainerImageDigestHasBeenSet = true; m_inferenceContainerImageDigest = std::forward<InferenceContainerImageDigestT>(value); }
220 template<typename InferenceContainerImageDigestT = Aws::String>
221 GetTrainedModelInferenceJobResult& WithInferenceContainerImageDigest(InferenceContainerImageDigestT&& value) { SetInferenceContainerImageDigest(std::forward<InferenceContainerImageDigestT>(value)); return *this;}
223
225
228 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
229 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
230 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
231 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
232 GetTrainedModelInferenceJobResult& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
233 template<typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
234 GetTrainedModelInferenceJobResult& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
235 m_environmentHasBeenSet = true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value)); return *this;
236 }
238
240
244 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
245 template<typename KmsKeyArnT = Aws::String>
246 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
247 template<typename KmsKeyArnT = Aws::String>
248 GetTrainedModelInferenceJobResult& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
250
252
255 inline MetricsStatus GetMetricsStatus() const { return m_metricsStatus; }
256 inline void SetMetricsStatus(MetricsStatus value) { m_metricsStatusHasBeenSet = true; m_metricsStatus = value; }
259
261
264 inline const Aws::String& GetMetricsStatusDetails() const { return m_metricsStatusDetails; }
265 template<typename MetricsStatusDetailsT = Aws::String>
266 void SetMetricsStatusDetails(MetricsStatusDetailsT&& value) { m_metricsStatusDetailsHasBeenSet = true; m_metricsStatusDetails = std::forward<MetricsStatusDetailsT>(value); }
267 template<typename MetricsStatusDetailsT = Aws::String>
268 GetTrainedModelInferenceJobResult& WithMetricsStatusDetails(MetricsStatusDetailsT&& value) { SetMetricsStatusDetails(std::forward<MetricsStatusDetailsT>(value)); return *this;}
270
272
275 inline LogsStatus GetLogsStatus() const { return m_logsStatus; }
276 inline void SetLogsStatus(LogsStatus value) { m_logsStatusHasBeenSet = true; m_logsStatus = value; }
279
281
284 inline const Aws::String& GetLogsStatusDetails() const { return m_logsStatusDetails; }
285 template<typename LogsStatusDetailsT = Aws::String>
286 void SetLogsStatusDetails(LogsStatusDetailsT&& value) { m_logsStatusDetailsHasBeenSet = true; m_logsStatusDetails = std::forward<LogsStatusDetailsT>(value); }
287 template<typename LogsStatusDetailsT = Aws::String>
288 GetTrainedModelInferenceJobResult& WithLogsStatusDetails(LogsStatusDetailsT&& value) { SetLogsStatusDetails(std::forward<LogsStatusDetailsT>(value)); return *this;}
290
292
312 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
313 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
314 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
315 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
316 GetTrainedModelInferenceJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
317 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
318 GetTrainedModelInferenceJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
319 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
320 }
322
324
325 inline const Aws::String& GetRequestId() const { return m_requestId; }
326 template<typename RequestIdT = Aws::String>
327 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
328 template<typename RequestIdT = Aws::String>
329 GetTrainedModelInferenceJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
331 private:
332
333 Aws::Utils::DateTime m_createTime{};
334 bool m_createTimeHasBeenSet = false;
335
336 Aws::Utils::DateTime m_updateTime{};
337 bool m_updateTimeHasBeenSet = false;
338
339 Aws::String m_trainedModelInferenceJobArn;
340 bool m_trainedModelInferenceJobArnHasBeenSet = false;
341
342 Aws::String m_configuredModelAlgorithmAssociationArn;
343 bool m_configuredModelAlgorithmAssociationArnHasBeenSet = false;
344
345 Aws::String m_name;
346 bool m_nameHasBeenSet = false;
347
349 bool m_statusHasBeenSet = false;
350
351 Aws::String m_trainedModelArn;
352 bool m_trainedModelArnHasBeenSet = false;
353
354 Aws::String m_trainedModelVersionIdentifier;
355 bool m_trainedModelVersionIdentifierHasBeenSet = false;
356
357 InferenceResourceConfig m_resourceConfig;
358 bool m_resourceConfigHasBeenSet = false;
359
360 InferenceOutputConfiguration m_outputConfiguration;
361 bool m_outputConfigurationHasBeenSet = false;
362
363 Aws::String m_membershipIdentifier;
364 bool m_membershipIdentifierHasBeenSet = false;
365
366 ModelInferenceDataSource m_dataSource;
367 bool m_dataSourceHasBeenSet = false;
368
369 InferenceContainerExecutionParameters m_containerExecutionParameters;
370 bool m_containerExecutionParametersHasBeenSet = false;
371
372 StatusDetails m_statusDetails;
373 bool m_statusDetailsHasBeenSet = false;
374
375 Aws::String m_description;
376 bool m_descriptionHasBeenSet = false;
377
378 Aws::String m_inferenceContainerImageDigest;
379 bool m_inferenceContainerImageDigestHasBeenSet = false;
380
382 bool m_environmentHasBeenSet = false;
383
384 Aws::String m_kmsKeyArn;
385 bool m_kmsKeyArnHasBeenSet = false;
386
387 MetricsStatus m_metricsStatus{MetricsStatus::NOT_SET};
388 bool m_metricsStatusHasBeenSet = false;
389
390 Aws::String m_metricsStatusDetails;
391 bool m_metricsStatusDetailsHasBeenSet = false;
392
393 LogsStatus m_logsStatus{LogsStatus::NOT_SET};
394 bool m_logsStatusHasBeenSet = false;
395
396 Aws::String m_logsStatusDetails;
397 bool m_logsStatusDetailsHasBeenSet = false;
398
400 bool m_tagsHasBeenSet = false;
401
402 Aws::String m_requestId;
403 bool m_requestIdHasBeenSet = false;
404 };
405
406} // namespace Model
407} // namespace CleanRoomsML
408} // namespace Aws
GetTrainedModelInferenceJobResult & WithLogsStatus(LogsStatus value)
GetTrainedModelInferenceJobResult & WithDataSource(DataSourceT &&value)
GetTrainedModelInferenceJobResult & WithConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT &&value)
GetTrainedModelInferenceJobResult & WithMetricsStatus(MetricsStatus value)
GetTrainedModelInferenceJobResult & WithMembershipIdentifier(MembershipIdentifierT &&value)
void SetConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT &&value)
GetTrainedModelInferenceJobResult & WithStatus(TrainedModelInferenceJobStatus value)
AWS_CLEANROOMSML_API GetTrainedModelInferenceJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const InferenceContainerExecutionParameters & GetContainerExecutionParameters() const
GetTrainedModelInferenceJobResult & WithRequestId(RequestIdT &&value)
GetTrainedModelInferenceJobResult & WithInferenceContainerImageDigest(InferenceContainerImageDigestT &&value)
void SetTrainedModelVersionIdentifier(TrainedModelVersionIdentifierT &&value)
AWS_CLEANROOMSML_API GetTrainedModelInferenceJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInferenceContainerImageDigest(InferenceContainerImageDigestT &&value)
GetTrainedModelInferenceJobResult & WithDescription(DescriptionT &&value)
GetTrainedModelInferenceJobResult & WithKmsKeyArn(KmsKeyArnT &&value)
GetTrainedModelInferenceJobResult & WithMetricsStatusDetails(MetricsStatusDetailsT &&value)
GetTrainedModelInferenceJobResult & WithCreateTime(CreateTimeT &&value)
GetTrainedModelInferenceJobResult & WithUpdateTime(UpdateTimeT &&value)
GetTrainedModelInferenceJobResult & WithLogsStatusDetails(LogsStatusDetailsT &&value)
GetTrainedModelInferenceJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetTrainedModelInferenceJobResult & WithStatusDetails(StatusDetailsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
GetTrainedModelInferenceJobResult & WithTrainedModelArn(TrainedModelArnT &&value)
AWS_CLEANROOMSML_API GetTrainedModelInferenceJobResult()=default
GetTrainedModelInferenceJobResult & WithTrainedModelInferenceJobArn(TrainedModelInferenceJobArnT &&value)
GetTrainedModelInferenceJobResult & WithEnvironment(EnvironmentT &&value)
GetTrainedModelInferenceJobResult & WithResourceConfig(ResourceConfigT &&value)
GetTrainedModelInferenceJobResult & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
GetTrainedModelInferenceJobResult & WithContainerExecutionParameters(ContainerExecutionParametersT &&value)
GetTrainedModelInferenceJobResult & WithOutputConfiguration(OutputConfigurationT &&value)
GetTrainedModelInferenceJobResult & WithTrainedModelVersionIdentifier(TrainedModelVersionIdentifierT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue