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

The domain ID.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The domain ID.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The domain ID.

*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *

The domain ID.

*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *

The domain ID.

*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *

The domain ID.

*/ inline DeleteUserProfileRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The domain ID.

*/ inline DeleteUserProfileRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The domain ID.

*/ inline DeleteUserProfileRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

The user profile name.

*/ inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; } /** *

The user profile name.

*/ inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; } /** *

The user profile name.

*/ inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; } /** *

The user profile name.

*/ inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); } /** *

The user profile name.

*/ inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); } /** *

The user profile name.

*/ inline DeleteUserProfileRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;} /** *

The user profile name.

*/ inline DeleteUserProfileRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;} /** *

The user profile name.

*/ inline DeleteUserProfileRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_userProfileName; bool m_userProfileNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws