AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateUserProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDomainId() const{ return m_domainId; }
42 
46  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
47 
51  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
52 
56  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
57 
61  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
62 
66  inline UpdateUserProfileRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
67 
71  inline UpdateUserProfileRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
72 
76  inline UpdateUserProfileRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
77 
78 
82  inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
83 
87  inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
88 
92  inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
93 
97  inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
98 
102  inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
103 
107  inline UpdateUserProfileRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
108 
112  inline UpdateUserProfileRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
113 
117  inline UpdateUserProfileRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
118 
119 
123  inline const UserSettings& GetUserSettings() const{ return m_userSettings; }
124 
128  inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
129 
133  inline void SetUserSettings(const UserSettings& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
134 
138  inline void SetUserSettings(UserSettings&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
139 
143  inline UpdateUserProfileRequest& WithUserSettings(const UserSettings& value) { SetUserSettings(value); return *this;}
144 
148  inline UpdateUserProfileRequest& WithUserSettings(UserSettings&& value) { SetUserSettings(std::move(value)); return *this;}
149 
150  private:
151 
152  Aws::String m_domainId;
153  bool m_domainIdHasBeenSet;
154 
155  Aws::String m_userProfileName;
156  bool m_userProfileNameHasBeenSet;
157 
158  UserSettings m_userSettings;
159  bool m_userSettingsHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace SageMaker
164 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UpdateUserProfileRequest::SetUserProfileName
void SetUserProfileName(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:92
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UpdateUserProfileRequest::SetUserSettings
void SetUserSettings(const UserSettings &value)
Definition: UpdateUserProfileRequest.h:133
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateUserProfileRequest::SetUserProfileName
void SetUserProfileName(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:97
Aws::SageMaker::Model::UpdateUserProfileRequest::UpdateUserProfileRequest
UpdateUserProfileRequest()
Aws::SageMaker::Model::UpdateUserProfileRequest::WithUserProfileName
UpdateUserProfileRequest & WithUserProfileName(const char *value)
Definition: UpdateUserProfileRequest.h:117
Aws::SageMaker::Model::UpdateUserProfileRequest::WithUserProfileName
UpdateUserProfileRequest & WithUserProfileName(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:107
Aws::SageMaker::Model::UpdateUserProfileRequest::WithDomainId
UpdateUserProfileRequest & WithDomainId(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:71
Aws::SageMaker::Model::UpdateUserProfileRequest::UserProfileNameHasBeenSet
bool UserProfileNameHasBeenSet() const
Definition: UpdateUserProfileRequest.h:87
Aws::SageMaker::Model::UpdateUserProfileRequest::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:51
Aws::SageMaker::Model::UpdateUserProfileRequest::WithUserProfileName
UpdateUserProfileRequest & WithUserProfileName(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:112
Aws::SageMaker::Model::UpdateUserProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateUserProfileRequest.h:31
Aws::SageMaker::Model::UpdateUserProfileRequest::SetUserSettings
void SetUserSettings(UserSettings &&value)
Definition: UpdateUserProfileRequest.h:138
UserSettings.h
Aws::SageMaker::Model::UpdateUserProfileRequest::WithDomainId
UpdateUserProfileRequest & WithDomainId(const Aws::String &value)
Definition: UpdateUserProfileRequest.h:66
Aws::SageMaker::Model::UpdateUserProfileRequest::GetUserSettings
const UserSettings & GetUserSettings() const
Definition: UpdateUserProfileRequest.h:123
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::UpdateUserProfileRequest::SetUserProfileName
void SetUserProfileName(const char *value)
Definition: UpdateUserProfileRequest.h:102
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateUserProfileRequest
Definition: UpdateUserProfileRequest.h:23
Aws::SageMaker::Model::UserSettings
Definition: UserSettings.h:44
Aws::SageMaker::Model::UpdateUserProfileRequest::GetUserProfileName
const Aws::String & GetUserProfileName() const
Definition: UpdateUserProfileRequest.h:82
Aws::SageMaker::Model::UpdateUserProfileRequest::SetDomainId
void SetDomainId(const char *value)
Definition: UpdateUserProfileRequest.h:61
Aws::SageMaker::Model::UpdateUserProfileRequest::UserSettingsHasBeenSet
bool UserSettingsHasBeenSet() const
Definition: UpdateUserProfileRequest.h:128
Aws::SageMaker::Model::UpdateUserProfileRequest::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: UpdateUserProfileRequest.h:46
Aws::SageMaker::Model::UpdateUserProfileRequest::WithDomainId
UpdateUserProfileRequest & WithDomainId(const char *value)
Definition: UpdateUserProfileRequest.h:76
AWSString.h
Aws::SageMaker::Model::UpdateUserProfileRequest::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: UpdateUserProfileRequest.h:56
Aws::SageMaker::Model::UpdateUserProfileRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UpdateUserProfileRequest::GetDomainId
const Aws::String & GetDomainId() const
Definition: UpdateUserProfileRequest.h:41
SageMakerRequest.h
Aws::SageMaker::Model::UpdateUserProfileRequest::WithUserSettings
UpdateUserProfileRequest & WithUserSettings(UserSettings &&value)
Definition: UpdateUserProfileRequest.h:148
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateUserProfileRequest::WithUserSettings
UpdateUserProfileRequest & WithUserSettings(const UserSettings &value)
Definition: UpdateUserProfileRequest.h:143
Aws::SageMaker::Model::UpdateUserProfileRequest::SerializePayload
Aws::String SerializePayload() const override