/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Defines a training job and a batch transform job that SageMaker runs to * validate your algorithm.

The data provided in the validation profile is * made available to your buyers on Amazon Web Services Marketplace.

See * Also:

AWS * API Reference

*/ class AlgorithmValidationProfile { public: AWS_SAGEMAKER_API AlgorithmValidationProfile(); AWS_SAGEMAKER_API AlgorithmValidationProfile(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API AlgorithmValidationProfile& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the profile for the algorithm. The name must have 1 to 63 * characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

*/ inline const Aws::String& GetProfileName() const{ return m_profileName; } /** *

The name of the profile for the algorithm. The name must have 1 to 63 * characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

*/ inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; } /** *

The name of the profile for the algorithm. The name must have 1 to 63 * characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

*/ inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; } /** *

The name of the profile for the algorithm. The name must have 1 to 63 * characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

*/ inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); } /** *

The name of the profile for the algorithm. The name must have 1 to 63 * characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

*/ inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); } /** *

The name of the profile for the algorithm. The name must have 1 to 63 * characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

*/ inline AlgorithmValidationProfile& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;} /** *

The name of the profile for the algorithm. The name must have 1 to 63 * characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

*/ inline AlgorithmValidationProfile& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;} /** *

The name of the profile for the algorithm. The name must have 1 to 63 * characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

*/ inline AlgorithmValidationProfile& WithProfileName(const char* value) { SetProfileName(value); return *this;} /** *

The TrainingJobDefinition object that describes the training job * that SageMaker runs to validate your algorithm.

*/ inline const TrainingJobDefinition& GetTrainingJobDefinition() const{ return m_trainingJobDefinition; } /** *

The TrainingJobDefinition object that describes the training job * that SageMaker runs to validate your algorithm.

*/ inline bool TrainingJobDefinitionHasBeenSet() const { return m_trainingJobDefinitionHasBeenSet; } /** *

The TrainingJobDefinition object that describes the training job * that SageMaker runs to validate your algorithm.

*/ inline void SetTrainingJobDefinition(const TrainingJobDefinition& value) { m_trainingJobDefinitionHasBeenSet = true; m_trainingJobDefinition = value; } /** *

The TrainingJobDefinition object that describes the training job * that SageMaker runs to validate your algorithm.

*/ inline void SetTrainingJobDefinition(TrainingJobDefinition&& value) { m_trainingJobDefinitionHasBeenSet = true; m_trainingJobDefinition = std::move(value); } /** *

The TrainingJobDefinition object that describes the training job * that SageMaker runs to validate your algorithm.

*/ inline AlgorithmValidationProfile& WithTrainingJobDefinition(const TrainingJobDefinition& value) { SetTrainingJobDefinition(value); return *this;} /** *

The TrainingJobDefinition object that describes the training job * that SageMaker runs to validate your algorithm.

*/ inline AlgorithmValidationProfile& WithTrainingJobDefinition(TrainingJobDefinition&& value) { SetTrainingJobDefinition(std::move(value)); return *this;} /** *

The TransformJobDefinition object that describes the transform * job that SageMaker runs to validate your algorithm.

*/ inline const TransformJobDefinition& GetTransformJobDefinition() const{ return m_transformJobDefinition; } /** *

The TransformJobDefinition object that describes the transform * job that SageMaker runs to validate your algorithm.

*/ inline bool TransformJobDefinitionHasBeenSet() const { return m_transformJobDefinitionHasBeenSet; } /** *

The TransformJobDefinition object that describes the transform * job that SageMaker runs to validate your algorithm.

*/ inline void SetTransformJobDefinition(const TransformJobDefinition& value) { m_transformJobDefinitionHasBeenSet = true; m_transformJobDefinition = value; } /** *

The TransformJobDefinition object that describes the transform * job that SageMaker runs to validate your algorithm.

*/ inline void SetTransformJobDefinition(TransformJobDefinition&& value) { m_transformJobDefinitionHasBeenSet = true; m_transformJobDefinition = std::move(value); } /** *

The TransformJobDefinition object that describes the transform * job that SageMaker runs to validate your algorithm.

*/ inline AlgorithmValidationProfile& WithTransformJobDefinition(const TransformJobDefinition& value) { SetTransformJobDefinition(value); return *this;} /** *

The TransformJobDefinition object that describes the transform * job that SageMaker runs to validate your algorithm.

*/ inline AlgorithmValidationProfile& WithTransformJobDefinition(TransformJobDefinition&& value) { SetTransformJobDefinition(std::move(value)); return *this;} private: Aws::String m_profileName; bool m_profileNameHasBeenSet = false; TrainingJobDefinition m_trainingJobDefinition; bool m_trainingJobDefinitionHasBeenSet = false; TransformJobDefinition m_transformJobDefinition; bool m_transformJobDefinitionHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws