/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Lists a summary of properties of an inference experiment.See
* Also:
AWS
* API Reference
The name of the inference experiment.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the inference experiment.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the inference experiment.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the inference experiment.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the inference experiment.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the inference experiment.
*/ inline InferenceExperimentSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the inference experiment.
*/ inline InferenceExperimentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the inference experiment.
*/ inline InferenceExperimentSummary& WithName(const char* value) { SetName(value); return *this;} /** *The type of the inference experiment.
*/ inline const InferenceExperimentType& GetType() const{ return m_type; } /** *The type of the inference experiment.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the inference experiment.
*/ inline void SetType(const InferenceExperimentType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the inference experiment.
*/ inline void SetType(InferenceExperimentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the inference experiment.
*/ inline InferenceExperimentSummary& WithType(const InferenceExperimentType& value) { SetType(value); return *this;} /** *The type of the inference experiment.
*/ inline InferenceExperimentSummary& WithType(InferenceExperimentType&& value) { SetType(std::move(value)); return *this;} /** *The duration for which the inference experiment ran or will run.
The * maximum duration that you can set for an inference experiment is 30 days.
*/ inline const InferenceExperimentSchedule& GetSchedule() const{ return m_schedule; } /** *The duration for which the inference experiment ran or will run.
The * maximum duration that you can set for an inference experiment is 30 days.
*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *The duration for which the inference experiment ran or will run.
The * maximum duration that you can set for an inference experiment is 30 days.
*/ inline void SetSchedule(const InferenceExperimentSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *The duration for which the inference experiment ran or will run.
The * maximum duration that you can set for an inference experiment is 30 days.
*/ inline void SetSchedule(InferenceExperimentSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *The duration for which the inference experiment ran or will run.
The * maximum duration that you can set for an inference experiment is 30 days.
*/ inline InferenceExperimentSummary& WithSchedule(const InferenceExperimentSchedule& value) { SetSchedule(value); return *this;} /** *The duration for which the inference experiment ran or will run.
The * maximum duration that you can set for an inference experiment is 30 days.
*/ inline InferenceExperimentSummary& WithSchedule(InferenceExperimentSchedule&& value) { SetSchedule(std::move(value)); return *this;} /** *The status of the inference experiment.
*/ inline const InferenceExperimentStatus& GetStatus() const{ return m_status; } /** *The status of the inference experiment.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the inference experiment.
*/ inline void SetStatus(const InferenceExperimentStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the inference experiment.
*/ inline void SetStatus(InferenceExperimentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the inference experiment.
*/ inline InferenceExperimentSummary& WithStatus(const InferenceExperimentStatus& value) { SetStatus(value); return *this;} /** *The status of the inference experiment.
*/ inline InferenceExperimentSummary& WithStatus(InferenceExperimentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The error message for the inference experiment status result.
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *The error message for the inference experiment status result.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *The error message for the inference experiment status result.
*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *The error message for the inference experiment status result.
*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *The error message for the inference experiment status result.
*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *The error message for the inference experiment status result.
*/ inline InferenceExperimentSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *The error message for the inference experiment status result.
*/ inline InferenceExperimentSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *The error message for the inference experiment status result.
*/ inline InferenceExperimentSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *The description of the inference experiment.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the inference experiment.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the inference experiment.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the inference experiment.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the inference experiment.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the inference experiment.
*/ inline InferenceExperimentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the inference experiment.
*/ inline InferenceExperimentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the inference experiment.
*/ inline InferenceExperimentSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The timestamp at which the inference experiment was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The timestamp at which the inference experiment was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The timestamp at which the inference experiment was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The timestamp at which the inference experiment was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The timestamp at which the inference experiment was created.
*/ inline InferenceExperimentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The timestamp at which the inference experiment was created.
*/ inline InferenceExperimentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The timestamp at which the inference experiment was completed.
*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } /** *The timestamp at which the inference experiment was completed.
*/ inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *The timestamp at which the inference experiment was completed.
*/ inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } /** *The timestamp at which the inference experiment was completed.
*/ inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } /** *The timestamp at which the inference experiment was completed.
*/ inline InferenceExperimentSummary& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *The timestamp at which the inference experiment was completed.
*/ inline InferenceExperimentSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} /** *The timestamp when you last modified the inference experiment.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The timestamp when you last modified the inference experiment.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The timestamp when you last modified the inference experiment.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The timestamp when you last modified the inference experiment.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The timestamp when you last modified the inference experiment.
*/ inline InferenceExperimentSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The timestamp when you last modified the inference experiment.
*/ inline InferenceExperimentSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The ARN of the IAM role that Amazon SageMaker can assume to access model * artifacts and container images, and manage Amazon SageMaker Inference endpoints * for model deployment.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the IAM role that Amazon SageMaker can assume to access model * artifacts and container images, and manage Amazon SageMaker Inference endpoints * for model deployment.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the IAM role that Amazon SageMaker can assume to access model * artifacts and container images, and manage Amazon SageMaker Inference endpoints * for model deployment.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the IAM role that Amazon SageMaker can assume to access model * artifacts and container images, and manage Amazon SageMaker Inference endpoints * for model deployment.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the IAM role that Amazon SageMaker can assume to access model * artifacts and container images, and manage Amazon SageMaker Inference endpoints * for model deployment.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the IAM role that Amazon SageMaker can assume to access model * artifacts and container images, and manage Amazon SageMaker Inference endpoints * for model deployment.
*/ inline InferenceExperimentSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the IAM role that Amazon SageMaker can assume to access model * artifacts and container images, and manage Amazon SageMaker Inference endpoints * for model deployment.
*/ inline InferenceExperimentSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM role that Amazon SageMaker can assume to access model * artifacts and container images, and manage Amazon SageMaker Inference endpoints * for model deployment.
*/ inline InferenceExperimentSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; InferenceExperimentType m_type; bool m_typeHasBeenSet = false; InferenceExperimentSchedule m_schedule; bool m_scheduleHasBeenSet = false; InferenceExperimentStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws