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

The name of the component to delete.

*/ inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; } /** *

The name of the component to delete.

*/ inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; } /** *

The name of the component to delete.

*/ inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; } /** *

The name of the component to delete.

*/ inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); } /** *

The name of the component to delete.

*/ inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); } /** *

The name of the component to delete.

*/ inline DeleteTrialComponentRequest& WithTrialComponentName(const Aws::String& value) { SetTrialComponentName(value); return *this;} /** *

The name of the component to delete.

*/ inline DeleteTrialComponentRequest& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;} /** *

The name of the component to delete.

*/ inline DeleteTrialComponentRequest& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;} private: Aws::String m_trialComponentName; bool m_trialComponentNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws