/** * 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 { /** *

Specifies batch transform jobs that SageMaker runs to validate your model * package.

See Also:

AWS * API Reference

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

The IAM roles to be used for the validation of the model package.

*/ inline const Aws::String& GetValidationRole() const{ return m_validationRole; } /** *

The IAM roles to be used for the validation of the model package.

*/ inline bool ValidationRoleHasBeenSet() const { return m_validationRoleHasBeenSet; } /** *

The IAM roles to be used for the validation of the model package.

*/ inline void SetValidationRole(const Aws::String& value) { m_validationRoleHasBeenSet = true; m_validationRole = value; } /** *

The IAM roles to be used for the validation of the model package.

*/ inline void SetValidationRole(Aws::String&& value) { m_validationRoleHasBeenSet = true; m_validationRole = std::move(value); } /** *

The IAM roles to be used for the validation of the model package.

*/ inline void SetValidationRole(const char* value) { m_validationRoleHasBeenSet = true; m_validationRole.assign(value); } /** *

The IAM roles to be used for the validation of the model package.

*/ inline ModelPackageValidationSpecification& WithValidationRole(const Aws::String& value) { SetValidationRole(value); return *this;} /** *

The IAM roles to be used for the validation of the model package.

*/ inline ModelPackageValidationSpecification& WithValidationRole(Aws::String&& value) { SetValidationRole(std::move(value)); return *this;} /** *

The IAM roles to be used for the validation of the model package.

*/ inline ModelPackageValidationSpecification& WithValidationRole(const char* value) { SetValidationRole(value); return *this;} /** *

An array of ModelPackageValidationProfile objects, each of which * specifies a batch transform job that SageMaker runs to validate your model * package.

*/ inline const Aws::Vector& GetValidationProfiles() const{ return m_validationProfiles; } /** *

An array of ModelPackageValidationProfile objects, each of which * specifies a batch transform job that SageMaker runs to validate your model * package.

*/ inline bool ValidationProfilesHasBeenSet() const { return m_validationProfilesHasBeenSet; } /** *

An array of ModelPackageValidationProfile objects, each of which * specifies a batch transform job that SageMaker runs to validate your model * package.

*/ inline void SetValidationProfiles(const Aws::Vector& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles = value; } /** *

An array of ModelPackageValidationProfile objects, each of which * specifies a batch transform job that SageMaker runs to validate your model * package.

*/ inline void SetValidationProfiles(Aws::Vector&& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles = std::move(value); } /** *

An array of ModelPackageValidationProfile objects, each of which * specifies a batch transform job that SageMaker runs to validate your model * package.

*/ inline ModelPackageValidationSpecification& WithValidationProfiles(const Aws::Vector& value) { SetValidationProfiles(value); return *this;} /** *

An array of ModelPackageValidationProfile objects, each of which * specifies a batch transform job that SageMaker runs to validate your model * package.

*/ inline ModelPackageValidationSpecification& WithValidationProfiles(Aws::Vector&& value) { SetValidationProfiles(std::move(value)); return *this;} /** *

An array of ModelPackageValidationProfile objects, each of which * specifies a batch transform job that SageMaker runs to validate your model * package.

*/ inline ModelPackageValidationSpecification& AddValidationProfiles(const ModelPackageValidationProfile& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles.push_back(value); return *this; } /** *

An array of ModelPackageValidationProfile objects, each of which * specifies a batch transform job that SageMaker runs to validate your model * package.

*/ inline ModelPackageValidationSpecification& AddValidationProfiles(ModelPackageValidationProfile&& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles.push_back(std::move(value)); return *this; } private: Aws::String m_validationRole; bool m_validationRoleHasBeenSet = false; Aws::Vector m_validationProfiles; bool m_validationProfilesHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws