165 lines
4.8 KiB
C++
165 lines
4.8 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/sagemaker/SageMaker_EXPORTS.h>
|
|
#include <aws/sagemaker/SageMakerRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/sagemaker/model/UserSettings.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace SageMaker
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_SAGEMAKER_API UpdateUserProfileRequest : public SageMakerRequest
|
|
{
|
|
public:
|
|
UpdateUserProfileRequest();
|
|
|
|
// 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 "UpdateUserProfile"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The domain ID.</p>
|
|
*/
|
|
inline const Aws::String& GetDomainId() const{ return m_domainId; }
|
|
|
|
/**
|
|
* <p>The domain ID.</p>
|
|
*/
|
|
inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The domain ID.</p>
|
|
*/
|
|
inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
|
|
|
|
/**
|
|
* <p>The domain ID.</p>
|
|
*/
|
|
inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The domain ID.</p>
|
|
*/
|
|
inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
|
|
|
|
/**
|
|
* <p>The domain ID.</p>
|
|
*/
|
|
inline UpdateUserProfileRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The domain ID.</p>
|
|
*/
|
|
inline UpdateUserProfileRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The domain ID.</p>
|
|
*/
|
|
inline UpdateUserProfileRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The user profile name.</p>
|
|
*/
|
|
inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
|
|
|
|
/**
|
|
* <p>The user profile name.</p>
|
|
*/
|
|
inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The user profile name.</p>
|
|
*/
|
|
inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
|
|
|
|
/**
|
|
* <p>The user profile name.</p>
|
|
*/
|
|
inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The user profile name.</p>
|
|
*/
|
|
inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
|
|
|
|
/**
|
|
* <p>The user profile name.</p>
|
|
*/
|
|
inline UpdateUserProfileRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The user profile name.</p>
|
|
*/
|
|
inline UpdateUserProfileRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The user profile name.</p>
|
|
*/
|
|
inline UpdateUserProfileRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A collection of settings.</p>
|
|
*/
|
|
inline const UserSettings& GetUserSettings() const{ return m_userSettings; }
|
|
|
|
/**
|
|
* <p>A collection of settings.</p>
|
|
*/
|
|
inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A collection of settings.</p>
|
|
*/
|
|
inline void SetUserSettings(const UserSettings& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
|
|
|
|
/**
|
|
* <p>A collection of settings.</p>
|
|
*/
|
|
inline void SetUserSettings(UserSettings&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
|
|
|
|
/**
|
|
* <p>A collection of settings.</p>
|
|
*/
|
|
inline UpdateUserProfileRequest& WithUserSettings(const UserSettings& value) { SetUserSettings(value); return *this;}
|
|
|
|
/**
|
|
* <p>A collection of settings.</p>
|
|
*/
|
|
inline UpdateUserProfileRequest& WithUserSettings(UserSettings&& value) { SetUserSettings(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_domainId;
|
|
bool m_domainIdHasBeenSet;
|
|
|
|
Aws::String m_userProfileName;
|
|
bool m_userProfileNameHasBeenSet;
|
|
|
|
UserSettings m_userSettings;
|
|
bool m_userSettingsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SageMaker
|
|
} // namespace Aws
|