AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateUserProfileRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/UserSettings.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API CreateUserProfileRequest() = default;
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_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetDomainId() const { return m_domainId; }
45 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
46 template<typename DomainIdT = Aws::String>
47 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
48 template<typename DomainIdT = Aws::String>
49 CreateUserProfileRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
57 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
58 template<typename UserProfileNameT = Aws::String>
59 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::forward<UserProfileNameT>(value); }
60 template<typename UserProfileNameT = Aws::String>
61 CreateUserProfileRequest& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
63
65
71 inline const Aws::String& GetSingleSignOnUserIdentifier() const { return m_singleSignOnUserIdentifier; }
72 inline bool SingleSignOnUserIdentifierHasBeenSet() const { return m_singleSignOnUserIdentifierHasBeenSet; }
73 template<typename SingleSignOnUserIdentifierT = Aws::String>
74 void SetSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT&& value) { m_singleSignOnUserIdentifierHasBeenSet = true; m_singleSignOnUserIdentifier = std::forward<SingleSignOnUserIdentifierT>(value); }
75 template<typename SingleSignOnUserIdentifierT = Aws::String>
76 CreateUserProfileRequest& WithSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT&& value) { SetSingleSignOnUserIdentifier(std::forward<SingleSignOnUserIdentifierT>(value)); return *this;}
78
80
87 inline const Aws::String& GetSingleSignOnUserValue() const { return m_singleSignOnUserValue; }
88 inline bool SingleSignOnUserValueHasBeenSet() const { return m_singleSignOnUserValueHasBeenSet; }
89 template<typename SingleSignOnUserValueT = Aws::String>
90 void SetSingleSignOnUserValue(SingleSignOnUserValueT&& value) { m_singleSignOnUserValueHasBeenSet = true; m_singleSignOnUserValue = std::forward<SingleSignOnUserValueT>(value); }
91 template<typename SingleSignOnUserValueT = Aws::String>
92 CreateUserProfileRequest& WithSingleSignOnUserValue(SingleSignOnUserValueT&& value) { SetSingleSignOnUserValue(std::forward<SingleSignOnUserValueT>(value)); return *this;}
94
96
101 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 template<typename TagsT = Aws::Vector<Tag>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
105 template<typename TagsT = Aws::Vector<Tag>>
106 CreateUserProfileRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
107 template<typename TagsT = Tag>
108 CreateUserProfileRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
110
112
115 inline const UserSettings& GetUserSettings() const { return m_userSettings; }
116 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
117 template<typename UserSettingsT = UserSettings>
118 void SetUserSettings(UserSettingsT&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::forward<UserSettingsT>(value); }
119 template<typename UserSettingsT = UserSettings>
120 CreateUserProfileRequest& WithUserSettings(UserSettingsT&& value) { SetUserSettings(std::forward<UserSettingsT>(value)); return *this;}
122 private:
123
124 Aws::String m_domainId;
125 bool m_domainIdHasBeenSet = false;
126
127 Aws::String m_userProfileName;
128 bool m_userProfileNameHasBeenSet = false;
129
130 Aws::String m_singleSignOnUserIdentifier;
131 bool m_singleSignOnUserIdentifierHasBeenSet = false;
132
133 Aws::String m_singleSignOnUserValue;
134 bool m_singleSignOnUserValueHasBeenSet = false;
135
136 Aws::Vector<Tag> m_tags;
137 bool m_tagsHasBeenSet = false;
138
139 UserSettings m_userSettings;
140 bool m_userSettingsHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace SageMaker
145} // namespace Aws
void SetSingleSignOnUserValue(SingleSignOnUserValueT &&value)
AWS_SAGEMAKER_API CreateUserProfileRequest()=default
CreateUserProfileRequest & WithUserProfileName(UserProfileNameT &&value)
void SetSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT &&value)
CreateUserProfileRequest & WithDomainId(DomainIdT &&value)
CreateUserProfileRequest & WithUserSettings(UserSettingsT &&value)
CreateUserProfileRequest & WithTags(TagsT &&value)
CreateUserProfileRequest & WithSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserProfileRequest & WithSingleSignOnUserValue(SingleSignOnUserValueT &&value)
CreateUserProfileRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector