AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
47 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
48 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
49 inline CreateUserProfileRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
50 inline CreateUserProfileRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
51 inline CreateUserProfileRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
53
55
58 inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
59 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
60 inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
61 inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
62 inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
63 inline CreateUserProfileRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
64 inline CreateUserProfileRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
65 inline CreateUserProfileRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
67
69
75 inline const Aws::String& GetSingleSignOnUserIdentifier() const{ return m_singleSignOnUserIdentifier; }
76 inline bool SingleSignOnUserIdentifierHasBeenSet() const { return m_singleSignOnUserIdentifierHasBeenSet; }
77 inline void SetSingleSignOnUserIdentifier(const Aws::String& value) { m_singleSignOnUserIdentifierHasBeenSet = true; m_singleSignOnUserIdentifier = value; }
78 inline void SetSingleSignOnUserIdentifier(Aws::String&& value) { m_singleSignOnUserIdentifierHasBeenSet = true; m_singleSignOnUserIdentifier = std::move(value); }
79 inline void SetSingleSignOnUserIdentifier(const char* value) { m_singleSignOnUserIdentifierHasBeenSet = true; m_singleSignOnUserIdentifier.assign(value); }
84
86
93 inline const Aws::String& GetSingleSignOnUserValue() const{ return m_singleSignOnUserValue; }
94 inline bool SingleSignOnUserValueHasBeenSet() const { return m_singleSignOnUserValueHasBeenSet; }
95 inline void SetSingleSignOnUserValue(const Aws::String& value) { m_singleSignOnUserValueHasBeenSet = true; m_singleSignOnUserValue = value; }
96 inline void SetSingleSignOnUserValue(Aws::String&& value) { m_singleSignOnUserValueHasBeenSet = true; m_singleSignOnUserValue = std::move(value); }
97 inline void SetSingleSignOnUserValue(const char* value) { m_singleSignOnUserValueHasBeenSet = true; m_singleSignOnUserValue.assign(value); }
100 inline CreateUserProfileRequest& WithSingleSignOnUserValue(const char* value) { SetSingleSignOnUserValue(value); return *this;}
102
104
109 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
112 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
113 inline CreateUserProfileRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
114 inline CreateUserProfileRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
115 inline CreateUserProfileRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
116 inline CreateUserProfileRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
118
120
123 inline const UserSettings& GetUserSettings() const{ return m_userSettings; }
124 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
125 inline void SetUserSettings(const UserSettings& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
126 inline void SetUserSettings(UserSettings&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
127 inline CreateUserProfileRequest& WithUserSettings(const UserSettings& value) { SetUserSettings(value); return *this;}
128 inline CreateUserProfileRequest& WithUserSettings(UserSettings&& value) { SetUserSettings(std::move(value)); return *this;}
130 private:
131
132 Aws::String m_domainId;
133 bool m_domainIdHasBeenSet = false;
134
135 Aws::String m_userProfileName;
136 bool m_userProfileNameHasBeenSet = false;
137
138 Aws::String m_singleSignOnUserIdentifier;
139 bool m_singleSignOnUserIdentifierHasBeenSet = false;
140
141 Aws::String m_singleSignOnUserValue;
142 bool m_singleSignOnUserValueHasBeenSet = false;
143
144 Aws::Vector<Tag> m_tags;
145 bool m_tagsHasBeenSet = false;
146
147 UserSettings m_userSettings;
148 bool m_userSettingsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace SageMaker
153} // namespace Aws
CreateUserProfileRequest & WithSingleSignOnUserValue(const Aws::String &value)
CreateUserProfileRequest & WithUserProfileName(const Aws::String &value)
CreateUserProfileRequest & WithDomainId(const char *value)
CreateUserProfileRequest & WithUserSettings(const UserSettings &value)
CreateUserProfileRequest & WithDomainId(Aws::String &&value)
CreateUserProfileRequest & WithSingleSignOnUserIdentifier(const char *value)
CreateUserProfileRequest & WithSingleSignOnUserIdentifier(Aws::String &&value)
CreateUserProfileRequest & AddTags(const Tag &value)
CreateUserProfileRequest & WithUserSettings(UserSettings &&value)
CreateUserProfileRequest & WithSingleSignOnUserValue(Aws::String &&value)
CreateUserProfileRequest & WithTags(const Aws::Vector< Tag > &value)
CreateUserProfileRequest & WithTags(Aws::Vector< Tag > &&value)
CreateUserProfileRequest & WithUserProfileName(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserProfileRequest & WithSingleSignOnUserValue(const char *value)
CreateUserProfileRequest & WithSingleSignOnUserIdentifier(const Aws::String &value)
CreateUserProfileRequest & WithDomainId(const Aws::String &value)
CreateUserProfileRequest & WithUserProfileName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateUserProfileRequest & AddTags(Tag &&value)
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