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

Identifies the resources, ML compute instances, and ML storage volumes to * deploy for a processing job. In distributed training, you specify more than one * instance.

See Also:

AWS * API Reference

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

The configuration for the resources in a cluster used to run the processing * job.

*/ inline const ProcessingClusterConfig& GetClusterConfig() const{ return m_clusterConfig; } /** *

The configuration for the resources in a cluster used to run the processing * job.

*/ inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; } /** *

The configuration for the resources in a cluster used to run the processing * job.

*/ inline void SetClusterConfig(const ProcessingClusterConfig& value) { m_clusterConfigHasBeenSet = true; m_clusterConfig = value; } /** *

The configuration for the resources in a cluster used to run the processing * job.

*/ inline void SetClusterConfig(ProcessingClusterConfig&& value) { m_clusterConfigHasBeenSet = true; m_clusterConfig = std::move(value); } /** *

The configuration for the resources in a cluster used to run the processing * job.

*/ inline ProcessingResources& WithClusterConfig(const ProcessingClusterConfig& value) { SetClusterConfig(value); return *this;} /** *

The configuration for the resources in a cluster used to run the processing * job.

*/ inline ProcessingResources& WithClusterConfig(ProcessingClusterConfig&& value) { SetClusterConfig(std::move(value)); return *this;} private: ProcessingClusterConfig m_clusterConfig; bool m_clusterConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws