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

Configuration that controls the parallelism of the pipeline. By default, the * parallelism configuration specified applies to all executions of the pipeline * unless overridden.

See Also:

AWS * API Reference

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

The max number of steps that can be executed in parallel.

*/ inline int GetMaxParallelExecutionSteps() const{ return m_maxParallelExecutionSteps; } /** *

The max number of steps that can be executed in parallel.

*/ inline bool MaxParallelExecutionStepsHasBeenSet() const { return m_maxParallelExecutionStepsHasBeenSet; } /** *

The max number of steps that can be executed in parallel.

*/ inline void SetMaxParallelExecutionSteps(int value) { m_maxParallelExecutionStepsHasBeenSet = true; m_maxParallelExecutionSteps = value; } /** *

The max number of steps that can be executed in parallel.

*/ inline ParallelismConfiguration& WithMaxParallelExecutionSteps(int value) { SetMaxParallelExecutionSteps(value); return *this;} private: int m_maxParallelExecutionSteps; bool m_maxParallelExecutionStepsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws