/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class DeleteHumanTaskUiRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API DeleteHumanTaskUiRequest(); // 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 "DeleteHumanTaskUi"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the human task user interface (work task template) you want to * delete.

*/ inline const Aws::String& GetHumanTaskUiName() const{ return m_humanTaskUiName; } /** *

The name of the human task user interface (work task template) you want to * delete.

*/ inline bool HumanTaskUiNameHasBeenSet() const { return m_humanTaskUiNameHasBeenSet; } /** *

The name of the human task user interface (work task template) you want to * delete.

*/ inline void SetHumanTaskUiName(const Aws::String& value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName = value; } /** *

The name of the human task user interface (work task template) you want to * delete.

*/ inline void SetHumanTaskUiName(Aws::String&& value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName = std::move(value); } /** *

The name of the human task user interface (work task template) you want to * delete.

*/ inline void SetHumanTaskUiName(const char* value) { m_humanTaskUiNameHasBeenSet = true; m_humanTaskUiName.assign(value); } /** *

The name of the human task user interface (work task template) you want to * delete.

*/ inline DeleteHumanTaskUiRequest& WithHumanTaskUiName(const Aws::String& value) { SetHumanTaskUiName(value); return *this;} /** *

The name of the human task user interface (work task template) you want to * delete.

*/ inline DeleteHumanTaskUiRequest& WithHumanTaskUiName(Aws::String&& value) { SetHumanTaskUiName(std::move(value)); return *this;} /** *

The name of the human task user interface (work task template) you want to * delete.

*/ inline DeleteHumanTaskUiRequest& WithHumanTaskUiName(const char* value) { SetHumanTaskUiName(value); return *this;} private: Aws::String m_humanTaskUiName; bool m_humanTaskUiNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws