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>
23template<
typename RESULT_TYPE>
24class AmazonWebServiceResult;
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>
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>
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>
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>
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>
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>
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>
142 template<
typename ResourceConfigT = InferenceResourceConfig>
143 void SetResourceConfig(ResourceConfigT&& value) { m_resourceConfigHasBeenSet =
true; m_resourceConfig = std::forward<ResourceConfigT>(value); }
144 template<
typename ResourceConfigT = InferenceResourceConfig>
153 template<
typename OutputConfigurationT = InferenceOutputConfiguration>
154 void SetOutputConfiguration(OutputConfigurationT&& value) { m_outputConfigurationHasBeenSet =
true; m_outputConfiguration = std::forward<OutputConfigurationT>(value); }
155 template<
typename OutputConfigurationT = InferenceOutputConfiguration>
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>
176 template<
typename DataSourceT = ModelInferenceDataSource>
177 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet =
true; m_dataSource = std::forward<DataSourceT>(value); }
178 template<
typename DataSourceT = ModelInferenceDataSource>
187 template<
typename ContainerExecutionParametersT = InferenceContainerExecutionParameters>
188 void SetContainerExecutionParameters(ContainerExecutionParametersT&& value) { m_containerExecutionParametersHasBeenSet =
true; m_containerExecutionParameters = std::forward<ContainerExecutionParametersT>(value); }
189 template<
typename ContainerExecutionParametersT = InferenceContainerExecutionParameters>
196 template<
typename StatusDetailsT = StatusDetails>
197 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet =
true; m_statusDetails = std::forward<StatusDetailsT>(value); }
198 template<
typename StatusDetailsT = StatusDetails>
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>
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>
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>>
233 template<
typename EnvironmentKeyT = Aws::String,
typename EnvironmentValueT = Aws::String>
235 m_environmentHasBeenSet =
true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
return *
this;
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>
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>
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>
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>>
317 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
319 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
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>
334 bool m_createTimeHasBeenSet =
false;
337 bool m_updateTimeHasBeenSet =
false;
340 bool m_trainedModelInferenceJobArnHasBeenSet =
false;
342 Aws::String m_configuredModelAlgorithmAssociationArn;
343 bool m_configuredModelAlgorithmAssociationArnHasBeenSet =
false;
346 bool m_nameHasBeenSet =
false;
349 bool m_statusHasBeenSet =
false;
352 bool m_trainedModelArnHasBeenSet =
false;
355 bool m_trainedModelVersionIdentifierHasBeenSet =
false;
357 InferenceResourceConfig m_resourceConfig;
358 bool m_resourceConfigHasBeenSet =
false;
360 InferenceOutputConfiguration m_outputConfiguration;
361 bool m_outputConfigurationHasBeenSet =
false;
364 bool m_membershipIdentifierHasBeenSet =
false;
366 ModelInferenceDataSource m_dataSource;
367 bool m_dataSourceHasBeenSet =
false;
369 InferenceContainerExecutionParameters m_containerExecutionParameters;
370 bool m_containerExecutionParametersHasBeenSet =
false;
372 StatusDetails m_statusDetails;
373 bool m_statusDetailsHasBeenSet =
false;
376 bool m_descriptionHasBeenSet =
false;
379 bool m_inferenceContainerImageDigestHasBeenSet =
false;
382 bool m_environmentHasBeenSet =
false;
385 bool m_kmsKeyArnHasBeenSet =
false;
388 bool m_metricsStatusHasBeenSet =
false;
391 bool m_metricsStatusDetailsHasBeenSet =
false;
394 bool m_logsStatusHasBeenSet =
false;
397 bool m_logsStatusDetailsHasBeenSet =
false;
400 bool m_tagsHasBeenSet =
false;
403 bool m_requestIdHasBeenSet =
false;
GetTrainedModelInferenceJobResult & WithLogsStatus(LogsStatus value)
void SetKmsKeyArn(KmsKeyArnT &&value)
const Aws::String & GetMembershipIdentifier() const
GetTrainedModelInferenceJobResult & WithTags(TagsT &&value)
void SetOutputConfiguration(OutputConfigurationT &&value)
GetTrainedModelInferenceJobResult & WithDataSource(DataSourceT &&value)
GetTrainedModelInferenceJobResult & WithConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT &&value)
GetTrainedModelInferenceJobResult & WithMetricsStatus(MetricsStatus value)
const Aws::Utils::DateTime & GetCreateTime() const
GetTrainedModelInferenceJobResult & WithMembershipIdentifier(MembershipIdentifierT &&value)
const Aws::String & GetRequestId() const
void SetConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT &&value)
const Aws::String & GetName() const
void SetCreateTime(CreateTimeT &&value)
GetTrainedModelInferenceJobResult & WithStatus(TrainedModelInferenceJobStatus value)
void SetDataSource(DataSourceT &&value)
AWS_CLEANROOMSML_API GetTrainedModelInferenceJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(TagsT &&value)
const InferenceContainerExecutionParameters & GetContainerExecutionParameters() const
const Aws::String & GetMetricsStatusDetails() const
GetTrainedModelInferenceJobResult & WithRequestId(RequestIdT &&value)
void SetResourceConfig(ResourceConfigT &&value)
const Aws::String & GetTrainedModelArn() const
GetTrainedModelInferenceJobResult & WithInferenceContainerImageDigest(InferenceContainerImageDigestT &&value)
void SetTrainedModelVersionIdentifier(TrainedModelVersionIdentifierT &&value)
void SetMetricsStatus(MetricsStatus value)
AWS_CLEANROOMSML_API GetTrainedModelInferenceJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(TrainedModelInferenceJobStatus value)
void SetInferenceContainerImageDigest(InferenceContainerImageDigestT &&value)
GetTrainedModelInferenceJobResult & WithDescription(DescriptionT &&value)
const StatusDetails & GetStatusDetails() const
void SetMembershipIdentifier(MembershipIdentifierT &&value)
GetTrainedModelInferenceJobResult & WithKmsKeyArn(KmsKeyArnT &&value)
GetTrainedModelInferenceJobResult & WithMetricsStatusDetails(MetricsStatusDetailsT &&value)
GetTrainedModelInferenceJobResult & WithCreateTime(CreateTimeT &&value)
GetTrainedModelInferenceJobResult & WithUpdateTime(UpdateTimeT &&value)
GetTrainedModelInferenceJobResult & WithLogsStatusDetails(LogsStatusDetailsT &&value)
const InferenceResourceConfig & GetResourceConfig() const
void SetName(NameT &&value)
const ModelInferenceDataSource & GetDataSource() const
void SetTrainedModelArn(TrainedModelArnT &&value)
void SetRequestId(RequestIdT &&value)
GetTrainedModelInferenceJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetTrainedModelInferenceJobResult & WithStatusDetails(StatusDetailsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetTrainedModelVersionIdentifier() const
GetTrainedModelInferenceJobResult & WithTrainedModelArn(TrainedModelArnT &&value)
LogsStatus GetLogsStatus() const
const Aws::Utils::DateTime & GetUpdateTime() const
const InferenceOutputConfiguration & GetOutputConfiguration() const
TrainedModelInferenceJobStatus GetStatus() const
AWS_CLEANROOMSML_API GetTrainedModelInferenceJobResult()=default
GetTrainedModelInferenceJobResult & WithTrainedModelInferenceJobArn(TrainedModelInferenceJobArnT &&value)
const Aws::String & GetTrainedModelInferenceJobArn() const
GetTrainedModelInferenceJobResult & WithEnvironment(EnvironmentT &&value)
GetTrainedModelInferenceJobResult & WithResourceConfig(ResourceConfigT &&value)
void SetLogsStatusDetails(LogsStatusDetailsT &&value)
GetTrainedModelInferenceJobResult & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
const Aws::String & GetKmsKeyArn() const
void SetStatusDetails(StatusDetailsT &&value)
GetTrainedModelInferenceJobResult & WithContainerExecutionParameters(ContainerExecutionParametersT &&value)
GetTrainedModelInferenceJobResult & WithName(NameT &&value)
const Aws::String & GetLogsStatusDetails() const
void SetTrainedModelInferenceJobArn(TrainedModelInferenceJobArnT &&value)
void SetContainerExecutionParameters(ContainerExecutionParametersT &&value)
void SetLogsStatus(LogsStatus value)
void SetEnvironment(EnvironmentT &&value)
void SetMetricsStatusDetails(MetricsStatusDetailsT &&value)
GetTrainedModelInferenceJobResult & WithOutputConfiguration(OutputConfigurationT &&value)
GetTrainedModelInferenceJobResult & WithTrainedModelVersionIdentifier(TrainedModelVersionIdentifierT &&value)
void SetUpdateTime(UpdateTimeT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetConfiguredModelAlgorithmAssociationArn() const
MetricsStatus GetMetricsStatus() const
const Aws::String & GetInferenceContainerImageDigest() const
const Aws::String & GetDescription() const
TrainedModelInferenceJobStatus
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