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

The name of the workforce.

*/ inline const Aws::String& GetWorkforceName() const{ return m_workforceName; } /** *

The name of the workforce.

*/ inline bool WorkforceNameHasBeenSet() const { return m_workforceNameHasBeenSet; } /** *

The name of the workforce.

*/ inline void SetWorkforceName(const Aws::String& value) { m_workforceNameHasBeenSet = true; m_workforceName = value; } /** *

The name of the workforce.

*/ inline void SetWorkforceName(Aws::String&& value) { m_workforceNameHasBeenSet = true; m_workforceName = std::move(value); } /** *

The name of the workforce.

*/ inline void SetWorkforceName(const char* value) { m_workforceNameHasBeenSet = true; m_workforceName.assign(value); } /** *

The name of the workforce.

*/ inline DeleteWorkforceRequest& WithWorkforceName(const Aws::String& value) { SetWorkforceName(value); return *this;} /** *

The name of the workforce.

*/ inline DeleteWorkforceRequest& WithWorkforceName(Aws::String&& value) { SetWorkforceName(std::move(value)); return *this;} /** *

The name of the workforce.

*/ inline DeleteWorkforceRequest& WithWorkforceName(const char* value) { SetWorkforceName(value); return *this;} private: Aws::String m_workforceName; bool m_workforceNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws