AWS SDK for C++  1.8.152
AWS SDK for C++
CreateUserProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateUserProfile"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetDomainId() const{ return m_domainId; }
44 
48  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
49 
53  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
54 
58  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
59 
63  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
64 
68  inline CreateUserProfileRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
69 
73  inline CreateUserProfileRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
74 
78  inline CreateUserProfileRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
79 
80 
84  inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
85 
89  inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
90 
94  inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
95 
99  inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
100 
104  inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
105 
109  inline CreateUserProfileRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
110 
114  inline CreateUserProfileRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
115 
119  inline CreateUserProfileRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
120 
121 
128  inline const Aws::String& GetSingleSignOnUserIdentifier() const{ return m_singleSignOnUserIdentifier; }
129 
136  inline bool SingleSignOnUserIdentifierHasBeenSet() const { return m_singleSignOnUserIdentifierHasBeenSet; }
137 
144  inline void SetSingleSignOnUserIdentifier(const Aws::String& value) { m_singleSignOnUserIdentifierHasBeenSet = true; m_singleSignOnUserIdentifier = value; }
145 
152  inline void SetSingleSignOnUserIdentifier(Aws::String&& value) { m_singleSignOnUserIdentifierHasBeenSet = true; m_singleSignOnUserIdentifier = std::move(value); }
153 
160  inline void SetSingleSignOnUserIdentifier(const char* value) { m_singleSignOnUserIdentifierHasBeenSet = true; m_singleSignOnUserIdentifier.assign(value); }
161 
168  inline CreateUserProfileRequest& WithSingleSignOnUserIdentifier(const Aws::String& value) { SetSingleSignOnUserIdentifier(value); return *this;}
169 
176  inline CreateUserProfileRequest& WithSingleSignOnUserIdentifier(Aws::String&& value) { SetSingleSignOnUserIdentifier(std::move(value)); return *this;}
177 
184  inline CreateUserProfileRequest& WithSingleSignOnUserIdentifier(const char* value) { SetSingleSignOnUserIdentifier(value); return *this;}
185 
186 
193  inline const Aws::String& GetSingleSignOnUserValue() const{ return m_singleSignOnUserValue; }
194 
201  inline bool SingleSignOnUserValueHasBeenSet() const { return m_singleSignOnUserValueHasBeenSet; }
202 
209  inline void SetSingleSignOnUserValue(const Aws::String& value) { m_singleSignOnUserValueHasBeenSet = true; m_singleSignOnUserValue = value; }
210 
217  inline void SetSingleSignOnUserValue(Aws::String&& value) { m_singleSignOnUserValueHasBeenSet = true; m_singleSignOnUserValue = std::move(value); }
218 
225  inline void SetSingleSignOnUserValue(const char* value) { m_singleSignOnUserValueHasBeenSet = true; m_singleSignOnUserValue.assign(value); }
226 
233  inline CreateUserProfileRequest& WithSingleSignOnUserValue(const Aws::String& value) { SetSingleSignOnUserValue(value); return *this;}
234 
241  inline CreateUserProfileRequest& WithSingleSignOnUserValue(Aws::String&& value) { SetSingleSignOnUserValue(std::move(value)); return *this;}
242 
249  inline CreateUserProfileRequest& WithSingleSignOnUserValue(const char* value) { SetSingleSignOnUserValue(value); return *this;}
250 
251 
256  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
257 
262  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
263 
268  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
269 
274  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
275 
280  inline CreateUserProfileRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
281 
286  inline CreateUserProfileRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
287 
292  inline CreateUserProfileRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
293 
298  inline CreateUserProfileRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
299 
300 
304  inline const UserSettings& GetUserSettings() const{ return m_userSettings; }
305 
309  inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
310 
314  inline void SetUserSettings(const UserSettings& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
315 
319  inline void SetUserSettings(UserSettings&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
320 
324  inline CreateUserProfileRequest& WithUserSettings(const UserSettings& value) { SetUserSettings(value); return *this;}
325 
329  inline CreateUserProfileRequest& WithUserSettings(UserSettings&& value) { SetUserSettings(std::move(value)); return *this;}
330 
331  private:
332 
333  Aws::String m_domainId;
334  bool m_domainIdHasBeenSet;
335 
336  Aws::String m_userProfileName;
337  bool m_userProfileNameHasBeenSet;
338 
339  Aws::String m_singleSignOnUserIdentifier;
340  bool m_singleSignOnUserIdentifierHasBeenSet;
341 
342  Aws::String m_singleSignOnUserValue;
343  bool m_singleSignOnUserValueHasBeenSet;
344 
345  Aws::Vector<Tag> m_tags;
346  bool m_tagsHasBeenSet;
347 
348  UserSettings m_userSettings;
349  bool m_userSettingsHasBeenSet;
350  };
351 
352 } // namespace Model
353 } // namespace SageMaker
354 } // namespace Aws
Aws::SageMaker::Model::CreateUserProfileRequest::SetUserProfileName
void SetUserProfileName(const Aws::String &value)
Definition: CreateUserProfileRequest.h:94
Aws::SageMaker::Model::CreateUserProfileRequest::GetUserProfileName
const Aws::String & GetUserProfileName() const
Definition: CreateUserProfileRequest.h:84
Aws::SageMaker::Model::CreateUserProfileRequest::AddTags
CreateUserProfileRequest & AddTags(const Tag &value)
Definition: CreateUserProfileRequest.h:292
Aws::SageMaker::Model::Tag
Definition: Tag.h:32
Aws::SageMaker::Model::CreateUserProfileRequest::SetSingleSignOnUserValue
void SetSingleSignOnUserValue(const Aws::String &value)
Definition: CreateUserProfileRequest.h:209
Aws::SageMaker::Model::CreateUserProfileRequest::UserSettingsHasBeenSet
bool UserSettingsHasBeenSet() const
Definition: CreateUserProfileRequest.h:309
Aws::SageMaker::Model::CreateUserProfileRequest::SetDomainId
void SetDomainId(const char *value)
Definition: CreateUserProfileRequest.h:63
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreateUserProfileRequest::SingleSignOnUserValueHasBeenSet
bool SingleSignOnUserValueHasBeenSet() const
Definition: CreateUserProfileRequest.h:201
Aws::SageMaker::Model::CreateUserProfileRequest::SingleSignOnUserIdentifierHasBeenSet
bool SingleSignOnUserIdentifierHasBeenSet() const
Definition: CreateUserProfileRequest.h:136
Aws::SageMaker::Model::CreateUserProfileRequest::WithUserProfileName
CreateUserProfileRequest & WithUserProfileName(Aws::String &&value)
Definition: CreateUserProfileRequest.h:114
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateUserProfileRequest::SetSingleSignOnUserIdentifier
void SetSingleSignOnUserIdentifier(const Aws::String &value)
Definition: CreateUserProfileRequest.h:144
Aws::SageMaker::Model::CreateUserProfileRequest::SetSingleSignOnUserIdentifier
void SetSingleSignOnUserIdentifier(Aws::String &&value)
Definition: CreateUserProfileRequest.h:152
Aws::SageMaker::Model::CreateUserProfileRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateUserProfileRequest.h:268
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateUserProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateUserProfileRequest::WithSingleSignOnUserValue
CreateUserProfileRequest & WithSingleSignOnUserValue(Aws::String &&value)
Definition: CreateUserProfileRequest.h:241
AWSVector.h
Aws::SageMaker::Model::CreateUserProfileRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateUserProfileRequest.h:274
Aws::SageMaker::Model::CreateUserProfileRequest::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: CreateUserProfileRequest.h:58
Aws::SageMaker::Model::CreateUserProfileRequest::WithUserSettings
CreateUserProfileRequest & WithUserSettings(const UserSettings &value)
Definition: CreateUserProfileRequest.h:324
Aws::SageMaker::Model::CreateUserProfileRequest::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: CreateUserProfileRequest.h:48
Aws::SageMaker::Model::CreateUserProfileRequest::UserProfileNameHasBeenSet
bool UserProfileNameHasBeenSet() const
Definition: CreateUserProfileRequest.h:89
Aws::SageMaker::Model::CreateUserProfileRequest::WithTags
CreateUserProfileRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateUserProfileRequest.h:286
UserSettings.h
Aws::SageMaker::Model::CreateUserProfileRequest::GetSingleSignOnUserIdentifier
const Aws::String & GetSingleSignOnUserIdentifier() const
Definition: CreateUserProfileRequest.h:128
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateUserProfileRequest::WithTags
CreateUserProfileRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateUserProfileRequest.h:280
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateUserProfileRequest::WithUserSettings
CreateUserProfileRequest & WithUserSettings(UserSettings &&value)
Definition: CreateUserProfileRequest.h:329
Aws::SageMaker::Model::CreateUserProfileRequest::SetSingleSignOnUserIdentifier
void SetSingleSignOnUserIdentifier(const char *value)
Definition: CreateUserProfileRequest.h:160
Aws::SageMaker::Model::CreateUserProfileRequest::SetSingleSignOnUserValue
void SetSingleSignOnUserValue(const char *value)
Definition: CreateUserProfileRequest.h:225
Aws::SageMaker::Model::CreateUserProfileRequest::WithSingleSignOnUserIdentifier
CreateUserProfileRequest & WithSingleSignOnUserIdentifier(const Aws::String &value)
Definition: CreateUserProfileRequest.h:168
Aws::SageMaker::Model::UserSettings
Definition: UserSettings.h:43
Aws::SageMaker::Model::CreateUserProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateUserProfileRequest.h:33
AWSString.h
Aws::SageMaker::Model::CreateUserProfileRequest::SetSingleSignOnUserValue
void SetSingleSignOnUserValue(Aws::String &&value)
Definition: CreateUserProfileRequest.h:217
Aws::SageMaker::Model::CreateUserProfileRequest::AddTags
CreateUserProfileRequest & AddTags(Tag &&value)
Definition: CreateUserProfileRequest.h:298
Aws::SageMaker::Model::CreateUserProfileRequest::WithDomainId
CreateUserProfileRequest & WithDomainId(const Aws::String &value)
Definition: CreateUserProfileRequest.h:68
Aws::SageMaker::Model::CreateUserProfileRequest::GetSingleSignOnUserValue
const Aws::String & GetSingleSignOnUserValue() const
Definition: CreateUserProfileRequest.h:193
Tag.h
Aws::SageMaker::Model::CreateUserProfileRequest::WithDomainId
CreateUserProfileRequest & WithDomainId(const char *value)
Definition: CreateUserProfileRequest.h:78
Aws::SageMaker::Model::CreateUserProfileRequest::CreateUserProfileRequest
CreateUserProfileRequest()
Aws::SageMaker::Model::CreateUserProfileRequest
Definition: CreateUserProfileRequest.h:25
Aws::SageMaker::Model::CreateUserProfileRequest::WithSingleSignOnUserIdentifier
CreateUserProfileRequest & WithSingleSignOnUserIdentifier(const char *value)
Definition: CreateUserProfileRequest.h:184
Aws::SageMaker::Model::CreateUserProfileRequest::SetUserSettings
void SetUserSettings(const UserSettings &value)
Definition: CreateUserProfileRequest.h:314
Aws::SageMaker::Model::CreateUserProfileRequest::SetUserSettings
void SetUserSettings(UserSettings &&value)
Definition: CreateUserProfileRequest.h:319
Aws::SageMaker::Model::CreateUserProfileRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateUserProfileRequest::GetDomainId
const Aws::String & GetDomainId() const
Definition: CreateUserProfileRequest.h:43
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::CreateUserProfileRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateUserProfileRequest.h:262
Aws::SageMaker::Model::CreateUserProfileRequest::SetUserProfileName
void SetUserProfileName(const char *value)
Definition: CreateUserProfileRequest.h:104
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateUserProfileRequest::WithUserProfileName
CreateUserProfileRequest & WithUserProfileName(const char *value)
Definition: CreateUserProfileRequest.h:119
Aws::SageMaker::Model::CreateUserProfileRequest::SetUserProfileName
void SetUserProfileName(Aws::String &&value)
Definition: CreateUserProfileRequest.h:99
Aws::SageMaker::Model::CreateUserProfileRequest::WithUserProfileName
CreateUserProfileRequest & WithUserProfileName(const Aws::String &value)
Definition: CreateUserProfileRequest.h:109
Aws::SageMaker::Model::CreateUserProfileRequest::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: CreateUserProfileRequest.h:53
Aws::SageMaker::Model::CreateUserProfileRequest::WithSingleSignOnUserValue
CreateUserProfileRequest & WithSingleSignOnUserValue(const Aws::String &value)
Definition: CreateUserProfileRequest.h:233
Aws::SageMaker::Model::CreateUserProfileRequest::WithSingleSignOnUserIdentifier
CreateUserProfileRequest & WithSingleSignOnUserIdentifier(Aws::String &&value)
Definition: CreateUserProfileRequest.h:176
Aws::SageMaker::Model::CreateUserProfileRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateUserProfileRequest.h:256
Aws::SageMaker::Model::CreateUserProfileRequest::WithDomainId
CreateUserProfileRequest & WithDomainId(Aws::String &&value)
Definition: CreateUserProfileRequest.h:73
Aws::SageMaker::Model::CreateUserProfileRequest::WithSingleSignOnUserValue
CreateUserProfileRequest & WithSingleSignOnUserValue(const char *value)
Definition: CreateUserProfileRequest.h:249
Aws::SageMaker::Model::CreateUserProfileRequest::GetUserSettings
const UserSettings & GetUserSettings() const
Definition: CreateUserProfileRequest.h:304