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

Metadata for a Condition step.

See Also:

AWS * API Reference

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

The outcome of the Condition step evaluation.

*/ inline const ConditionOutcome& GetOutcome() const{ return m_outcome; } /** *

The outcome of the Condition step evaluation.

*/ inline bool OutcomeHasBeenSet() const { return m_outcomeHasBeenSet; } /** *

The outcome of the Condition step evaluation.

*/ inline void SetOutcome(const ConditionOutcome& value) { m_outcomeHasBeenSet = true; m_outcome = value; } /** *

The outcome of the Condition step evaluation.

*/ inline void SetOutcome(ConditionOutcome&& value) { m_outcomeHasBeenSet = true; m_outcome = std::move(value); } /** *

The outcome of the Condition step evaluation.

*/ inline ConditionStepMetadata& WithOutcome(const ConditionOutcome& value) { SetOutcome(value); return *this;} /** *

The outcome of the Condition step evaluation.

*/ inline ConditionStepMetadata& WithOutcome(ConditionOutcome&& value) { SetOutcome(std::move(value)); return *this;} private: ConditionOutcome m_outcome; bool m_outcomeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws