/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeInferenceRecommendationsJobResult { public: AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult(); AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeInferenceRecommendationsJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the job. The name must be unique within an Amazon Web Services * Region in the Amazon Web Services account.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the job. The name must be unique within an Amazon Web Services * Region in the Amazon Web Services account.

*/ inline void SetJobName(const Aws::String& value) { m_jobName = value; } /** *

The name of the job. The name must be unique within an Amazon Web Services * Region in the Amazon Web Services account.

*/ inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); } /** *

The name of the job. The name must be unique within an Amazon Web Services * Region in the Amazon Web Services account.

*/ inline void SetJobName(const char* value) { m_jobName.assign(value); } /** *

The name of the job. The name must be unique within an Amazon Web Services * Region in the Amazon Web Services account.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the job. The name must be unique within an Amazon Web Services * Region in the Amazon Web Services account.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the job. The name must be unique within an Amazon Web Services * Region in the Amazon Web Services account.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The job description that you provided when you initiated the job.

*/ inline const Aws::String& GetJobDescription() const{ return m_jobDescription; } /** *

The job description that you provided when you initiated the job.

*/ inline void SetJobDescription(const Aws::String& value) { m_jobDescription = value; } /** *

The job description that you provided when you initiated the job.

*/ inline void SetJobDescription(Aws::String&& value) { m_jobDescription = std::move(value); } /** *

The job description that you provided when you initiated the job.

*/ inline void SetJobDescription(const char* value) { m_jobDescription.assign(value); } /** *

The job description that you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobDescription(const Aws::String& value) { SetJobDescription(value); return *this;} /** *

The job description that you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobDescription(Aws::String&& value) { SetJobDescription(std::move(value)); return *this;} /** *

The job description that you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobDescription(const char* value) { SetJobDescription(value); return *this;} /** *

The job type that you provided when you initiated the job.

*/ inline const RecommendationJobType& GetJobType() const{ return m_jobType; } /** *

The job type that you provided when you initiated the job.

*/ inline void SetJobType(const RecommendationJobType& value) { m_jobType = value; } /** *

The job type that you provided when you initiated the job.

*/ inline void SetJobType(RecommendationJobType&& value) { m_jobType = std::move(value); } /** *

The job type that you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobType(const RecommendationJobType& value) { SetJobType(value); return *this;} /** *

The job type that you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobType(RecommendationJobType&& value) { SetJobType(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the job.

*/ inline const Aws::String& GetJobArn() const{ return m_jobArn; } /** *

The Amazon Resource Name (ARN) of the job.

*/ inline void SetJobArn(const Aws::String& value) { m_jobArn = value; } /** *

The Amazon Resource Name (ARN) of the job.

*/ inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the job.

*/ inline void SetJobArn(const char* value) { m_jobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) role you provided when you initiated the job.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) role you provided when you initiated the job.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) role you provided when you initiated the job.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) role you provided when you initiated the job.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) role you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) role you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) role you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The status of the job.

*/ inline const RecommendationJobStatus& GetStatus() const{ return m_status; } /** *

The status of the job.

*/ inline void SetStatus(const RecommendationJobStatus& value) { m_status = value; } /** *

The status of the job.

*/ inline void SetStatus(RecommendationJobStatus&& value) { m_status = std::move(value); } /** *

The status of the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithStatus(const RecommendationJobStatus& value) { SetStatus(value); return *this;} /** *

The status of the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithStatus(RecommendationJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

A timestamp that shows when the job was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

A timestamp that shows when the job was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

A timestamp that shows when the job was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

A timestamp that shows when the job was created.

*/ inline DescribeInferenceRecommendationsJobResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

A timestamp that shows when the job was created.

*/ inline DescribeInferenceRecommendationsJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

A timestamp that shows when the job completed.

*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } /** *

A timestamp that shows when the job completed.

*/ inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTime = value; } /** *

A timestamp that shows when the job completed.

*/ inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTime = std::move(value); } /** *

A timestamp that shows when the job completed.

*/ inline DescribeInferenceRecommendationsJobResult& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *

A timestamp that shows when the job completed.

*/ inline DescribeInferenceRecommendationsJobResult& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} /** *

A timestamp that shows when the job was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

A timestamp that shows when the job was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

A timestamp that shows when the job was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } /** *

A timestamp that shows when the job was last modified.

*/ inline DescribeInferenceRecommendationsJobResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

A timestamp that shows when the job was last modified.

*/ inline DescribeInferenceRecommendationsJobResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

If the job fails, provides information why the job failed.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

If the job fails, provides information why the job failed.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; } /** *

If the job fails, provides information why the job failed.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); } /** *

If the job fails, provides information why the job failed.

*/ inline void SetFailureReason(const char* value) { m_failureReason.assign(value); } /** *

If the job fails, provides information why the job failed.

*/ inline DescribeInferenceRecommendationsJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

If the job fails, provides information why the job failed.

*/ inline DescribeInferenceRecommendationsJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

If the job fails, provides information why the job failed.

*/ inline DescribeInferenceRecommendationsJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

Returns information about the versioned model package Amazon Resource Name * (ARN), the traffic pattern, and endpoint configurations you provided when you * initiated the job.

*/ inline const RecommendationJobInputConfig& GetInputConfig() const{ return m_inputConfig; } /** *

Returns information about the versioned model package Amazon Resource Name * (ARN), the traffic pattern, and endpoint configurations you provided when you * initiated the job.

*/ inline void SetInputConfig(const RecommendationJobInputConfig& value) { m_inputConfig = value; } /** *

Returns information about the versioned model package Amazon Resource Name * (ARN), the traffic pattern, and endpoint configurations you provided when you * initiated the job.

*/ inline void SetInputConfig(RecommendationJobInputConfig&& value) { m_inputConfig = std::move(value); } /** *

Returns information about the versioned model package Amazon Resource Name * (ARN), the traffic pattern, and endpoint configurations you provided when you * initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithInputConfig(const RecommendationJobInputConfig& value) { SetInputConfig(value); return *this;} /** *

Returns information about the versioned model package Amazon Resource Name * (ARN), the traffic pattern, and endpoint configurations you provided when you * initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithInputConfig(RecommendationJobInputConfig&& value) { SetInputConfig(std::move(value)); return *this;} /** *

The stopping conditions that you provided when you initiated the job.

*/ inline const RecommendationJobStoppingConditions& GetStoppingConditions() const{ return m_stoppingConditions; } /** *

The stopping conditions that you provided when you initiated the job.

*/ inline void SetStoppingConditions(const RecommendationJobStoppingConditions& value) { m_stoppingConditions = value; } /** *

The stopping conditions that you provided when you initiated the job.

*/ inline void SetStoppingConditions(RecommendationJobStoppingConditions&& value) { m_stoppingConditions = std::move(value); } /** *

The stopping conditions that you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithStoppingConditions(const RecommendationJobStoppingConditions& value) { SetStoppingConditions(value); return *this;} /** *

The stopping conditions that you provided when you initiated the job.

*/ inline DescribeInferenceRecommendationsJobResult& WithStoppingConditions(RecommendationJobStoppingConditions&& value) { SetStoppingConditions(std::move(value)); return *this;} /** *

The recommendations made by Inference Recommender.

*/ inline const Aws::Vector& GetInferenceRecommendations() const{ return m_inferenceRecommendations; } /** *

The recommendations made by Inference Recommender.

*/ inline void SetInferenceRecommendations(const Aws::Vector& value) { m_inferenceRecommendations = value; } /** *

The recommendations made by Inference Recommender.

*/ inline void SetInferenceRecommendations(Aws::Vector&& value) { m_inferenceRecommendations = std::move(value); } /** *

The recommendations made by Inference Recommender.

*/ inline DescribeInferenceRecommendationsJobResult& WithInferenceRecommendations(const Aws::Vector& value) { SetInferenceRecommendations(value); return *this;} /** *

The recommendations made by Inference Recommender.

*/ inline DescribeInferenceRecommendationsJobResult& WithInferenceRecommendations(Aws::Vector&& value) { SetInferenceRecommendations(std::move(value)); return *this;} /** *

The recommendations made by Inference Recommender.

*/ inline DescribeInferenceRecommendationsJobResult& AddInferenceRecommendations(const InferenceRecommendation& value) { m_inferenceRecommendations.push_back(value); return *this; } /** *

The recommendations made by Inference Recommender.

*/ inline DescribeInferenceRecommendationsJobResult& AddInferenceRecommendations(InferenceRecommendation&& value) { m_inferenceRecommendations.push_back(std::move(value)); return *this; } /** *

The performance results from running an Inference Recommender job on an * existing endpoint.

*/ inline const Aws::Vector& GetEndpointPerformances() const{ return m_endpointPerformances; } /** *

The performance results from running an Inference Recommender job on an * existing endpoint.

*/ inline void SetEndpointPerformances(const Aws::Vector& value) { m_endpointPerformances = value; } /** *

The performance results from running an Inference Recommender job on an * existing endpoint.

*/ inline void SetEndpointPerformances(Aws::Vector&& value) { m_endpointPerformances = std::move(value); } /** *

The performance results from running an Inference Recommender job on an * existing endpoint.

*/ inline DescribeInferenceRecommendationsJobResult& WithEndpointPerformances(const Aws::Vector& value) { SetEndpointPerformances(value); return *this;} /** *

The performance results from running an Inference Recommender job on an * existing endpoint.

*/ inline DescribeInferenceRecommendationsJobResult& WithEndpointPerformances(Aws::Vector&& value) { SetEndpointPerformances(std::move(value)); return *this;} /** *

The performance results from running an Inference Recommender job on an * existing endpoint.

*/ inline DescribeInferenceRecommendationsJobResult& AddEndpointPerformances(const EndpointPerformance& value) { m_endpointPerformances.push_back(value); return *this; } /** *

The performance results from running an Inference Recommender job on an * existing endpoint.

*/ inline DescribeInferenceRecommendationsJobResult& AddEndpointPerformances(EndpointPerformance&& value) { m_endpointPerformances.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeInferenceRecommendationsJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeInferenceRecommendationsJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeInferenceRecommendationsJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_jobName; Aws::String m_jobDescription; RecommendationJobType m_jobType; Aws::String m_jobArn; Aws::String m_roleArn; RecommendationJobStatus m_status; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_completionTime; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_failureReason; RecommendationJobInputConfig m_inputConfig; RecommendationJobStoppingConditions m_stoppingConditions; Aws::Vector m_inferenceRecommendations; Aws::Vector m_endpointPerformances; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws