AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateUserProfileRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/UserSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API UpdateUserProfileRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserProfile"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDomainId() const { return m_domainId; }
43 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
44 template<typename DomainIdT = Aws::String>
45 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
46 template<typename DomainIdT = Aws::String>
47 UpdateUserProfileRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
55 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
56 template<typename UserProfileNameT = Aws::String>
57 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::forward<UserProfileNameT>(value); }
58 template<typename UserProfileNameT = Aws::String>
59 UpdateUserProfileRequest& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
61
63
66 inline const UserSettings& GetUserSettings() const { return m_userSettings; }
67 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
68 template<typename UserSettingsT = UserSettings>
69 void SetUserSettings(UserSettingsT&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::forward<UserSettingsT>(value); }
70 template<typename UserSettingsT = UserSettings>
71 UpdateUserProfileRequest& WithUserSettings(UserSettingsT&& value) { SetUserSettings(std::forward<UserSettingsT>(value)); return *this;}
73 private:
74
75 Aws::String m_domainId;
76 bool m_domainIdHasBeenSet = false;
77
78 Aws::String m_userProfileName;
79 bool m_userProfileNameHasBeenSet = false;
80
81 UserSettings m_userSettings;
82 bool m_userSettingsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace SageMaker
87} // namespace Aws
UpdateUserProfileRequest & WithDomainId(DomainIdT &&value)
UpdateUserProfileRequest & WithUserSettings(UserSettingsT &&value)
AWS_SAGEMAKER_API UpdateUserProfileRequest()=default
virtual const char * GetServiceRequestName() const override
UpdateUserProfileRequest & WithUserProfileName(UserProfileNameT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String