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

Provides information about how and under what conditions SageMaker creates a * human loop. If HumanLoopActivationConfig is not given, then all * requests go to humans.

See Also:

AWS * API Reference

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

Container structure for defining under what conditions SageMaker creates a * human loop.

*/ inline const HumanLoopActivationConditionsConfig& GetHumanLoopActivationConditionsConfig() const{ return m_humanLoopActivationConditionsConfig; } /** *

Container structure for defining under what conditions SageMaker creates a * human loop.

*/ inline bool HumanLoopActivationConditionsConfigHasBeenSet() const { return m_humanLoopActivationConditionsConfigHasBeenSet; } /** *

Container structure for defining under what conditions SageMaker creates a * human loop.

*/ inline void SetHumanLoopActivationConditionsConfig(const HumanLoopActivationConditionsConfig& value) { m_humanLoopActivationConditionsConfigHasBeenSet = true; m_humanLoopActivationConditionsConfig = value; } /** *

Container structure for defining under what conditions SageMaker creates a * human loop.

*/ inline void SetHumanLoopActivationConditionsConfig(HumanLoopActivationConditionsConfig&& value) { m_humanLoopActivationConditionsConfigHasBeenSet = true; m_humanLoopActivationConditionsConfig = std::move(value); } /** *

Container structure for defining under what conditions SageMaker creates a * human loop.

*/ inline HumanLoopActivationConfig& WithHumanLoopActivationConditionsConfig(const HumanLoopActivationConditionsConfig& value) { SetHumanLoopActivationConditionsConfig(value); return *this;} /** *

Container structure for defining under what conditions SageMaker creates a * human loop.

*/ inline HumanLoopActivationConfig& WithHumanLoopActivationConditionsConfig(HumanLoopActivationConditionsConfig&& value) { SetHumanLoopActivationConditionsConfig(std::move(value)); return *this;} private: HumanLoopActivationConditionsConfig m_humanLoopActivationConditionsConfig; bool m_humanLoopActivationConditionsConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws