/** * 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 DeleteFlowDefinitionRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API DeleteFlowDefinitionRequest(); // 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 "DeleteFlowDefinition"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the flow definition you are deleting.

*/ inline const Aws::String& GetFlowDefinitionName() const{ return m_flowDefinitionName; } /** *

The name of the flow definition you are deleting.

*/ inline bool FlowDefinitionNameHasBeenSet() const { return m_flowDefinitionNameHasBeenSet; } /** *

The name of the flow definition you are deleting.

*/ inline void SetFlowDefinitionName(const Aws::String& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = value; } /** *

The name of the flow definition you are deleting.

*/ inline void SetFlowDefinitionName(Aws::String&& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = std::move(value); } /** *

The name of the flow definition you are deleting.

*/ inline void SetFlowDefinitionName(const char* value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName.assign(value); } /** *

The name of the flow definition you are deleting.

*/ inline DeleteFlowDefinitionRequest& WithFlowDefinitionName(const Aws::String& value) { SetFlowDefinitionName(value); return *this;} /** *

The name of the flow definition you are deleting.

*/ inline DeleteFlowDefinitionRequest& WithFlowDefinitionName(Aws::String&& value) { SetFlowDefinitionName(std::move(value)); return *this;} /** *

The name of the flow definition you are deleting.

*/ inline DeleteFlowDefinitionRequest& WithFlowDefinitionName(const char* value) { SetFlowDefinitionName(value); return *this;} private: Aws::String m_flowDefinitionName; bool m_flowDefinitionNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws