/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace AugmentedAIRuntime { namespace Model { /** */ class StartHumanLoopRequest : public AugmentedAIRuntimeRequest { public: AWS_AUGMENTEDAIRUNTIME_API StartHumanLoopRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartHumanLoop"; } AWS_AUGMENTEDAIRUNTIME_API Aws::String SerializePayload() const override; /** *

The name of the human loop.

*/ inline const Aws::String& GetHumanLoopName() const{ return m_humanLoopName; } /** *

The name of the human loop.

*/ inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; } /** *

The name of the human loop.

*/ inline void SetHumanLoopName(const Aws::String& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = value; } /** *

The name of the human loop.

*/ inline void SetHumanLoopName(Aws::String&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::move(value); } /** *

The name of the human loop.

*/ inline void SetHumanLoopName(const char* value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName.assign(value); } /** *

The name of the human loop.

*/ inline StartHumanLoopRequest& WithHumanLoopName(const Aws::String& value) { SetHumanLoopName(value); return *this;} /** *

The name of the human loop.

*/ inline StartHumanLoopRequest& WithHumanLoopName(Aws::String&& value) { SetHumanLoopName(std::move(value)); return *this;} /** *

The name of the human loop.

*/ inline StartHumanLoopRequest& WithHumanLoopName(const char* value) { SetHumanLoopName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition associated with this * human loop.

*/ inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; } /** *

The Amazon Resource Name (ARN) of the flow definition associated with this * human loop.

*/ inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the flow definition associated with this * human loop.

*/ inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; } /** *

The Amazon Resource Name (ARN) of the flow definition associated with this * human loop.

*/ inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the flow definition associated with this * human loop.

*/ inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the flow definition associated with this * human loop.

*/ inline StartHumanLoopRequest& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition associated with this * human loop.

*/ inline StartHumanLoopRequest& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition associated with this * human loop.

*/ inline StartHumanLoopRequest& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;} /** *

An object that contains information about the human loop.

*/ inline const HumanLoopInput& GetHumanLoopInput() const{ return m_humanLoopInput; } /** *

An object that contains information about the human loop.

*/ inline bool HumanLoopInputHasBeenSet() const { return m_humanLoopInputHasBeenSet; } /** *

An object that contains information about the human loop.

*/ inline void SetHumanLoopInput(const HumanLoopInput& value) { m_humanLoopInputHasBeenSet = true; m_humanLoopInput = value; } /** *

An object that contains information about the human loop.

*/ inline void SetHumanLoopInput(HumanLoopInput&& value) { m_humanLoopInputHasBeenSet = true; m_humanLoopInput = std::move(value); } /** *

An object that contains information about the human loop.

*/ inline StartHumanLoopRequest& WithHumanLoopInput(const HumanLoopInput& value) { SetHumanLoopInput(value); return *this;} /** *

An object that contains information about the human loop.

*/ inline StartHumanLoopRequest& WithHumanLoopInput(HumanLoopInput&& value) { SetHumanLoopInput(std::move(value)); return *this;} /** *

Attributes of the specified data. Use DataAttributes to specify * if your data is free of personally identifiable information and/or free of adult * content.

*/ inline const HumanLoopDataAttributes& GetDataAttributes() const{ return m_dataAttributes; } /** *

Attributes of the specified data. Use DataAttributes to specify * if your data is free of personally identifiable information and/or free of adult * content.

*/ inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; } /** *

Attributes of the specified data. Use DataAttributes to specify * if your data is free of personally identifiable information and/or free of adult * content.

*/ inline void SetDataAttributes(const HumanLoopDataAttributes& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = value; } /** *

Attributes of the specified data. Use DataAttributes to specify * if your data is free of personally identifiable information and/or free of adult * content.

*/ inline void SetDataAttributes(HumanLoopDataAttributes&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::move(value); } /** *

Attributes of the specified data. Use DataAttributes to specify * if your data is free of personally identifiable information and/or free of adult * content.

*/ inline StartHumanLoopRequest& WithDataAttributes(const HumanLoopDataAttributes& value) { SetDataAttributes(value); return *this;} /** *

Attributes of the specified data. Use DataAttributes to specify * if your data is free of personally identifiable information and/or free of adult * content.

*/ inline StartHumanLoopRequest& WithDataAttributes(HumanLoopDataAttributes&& value) { SetDataAttributes(std::move(value)); return *this;} private: Aws::String m_humanLoopName; bool m_humanLoopNameHasBeenSet = false; Aws::String m_flowDefinitionArn; bool m_flowDefinitionArnHasBeenSet = false; HumanLoopInput m_humanLoopInput; bool m_humanLoopInputHasBeenSet = false; HumanLoopDataAttributes m_dataAttributes; bool m_dataAttributesHasBeenSet = false; }; } // namespace Model } // namespace AugmentedAIRuntime } // namespace Aws