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

A step selected to run in selective execution mode.

See Also:

* AWS * API Reference

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

The name of the pipeline step.

*/ inline const Aws::String& GetStepName() const{ return m_stepName; } /** *

The name of the pipeline step.

*/ inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; } /** *

The name of the pipeline step.

*/ inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; } /** *

The name of the pipeline step.

*/ inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); } /** *

The name of the pipeline step.

*/ inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); } /** *

The name of the pipeline step.

*/ inline SelectedStep& WithStepName(const Aws::String& value) { SetStepName(value); return *this;} /** *

The name of the pipeline step.

*/ inline SelectedStep& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;} /** *

The name of the pipeline step.

*/ inline SelectedStep& WithStepName(const char* value) { SetStepName(value); return *this;} private: Aws::String m_stepName; bool m_stepNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws