AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateUserProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/UserSettings.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateUserProfileRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserProfile"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
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) {
60 m_userProfileNameHasBeenSet = true;
61 m_userProfileName = std::forward<UserProfileNameT>(value);
62 }
63 template <typename UserProfileNameT = Aws::String>
64 UpdateUserProfileRequest& WithUserProfileName(UserProfileNameT&& value) {
65 SetUserProfileName(std::forward<UserProfileNameT>(value));
66 return *this;
67 }
69
71
74 inline const UserSettings& GetUserSettings() const { return m_userSettings; }
75 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
76 template <typename UserSettingsT = UserSettings>
77 void SetUserSettings(UserSettingsT&& value) {
78 m_userSettingsHasBeenSet = true;
79 m_userSettings = std::forward<UserSettingsT>(value);
80 }
81 template <typename UserSettingsT = UserSettings>
83 SetUserSettings(std::forward<UserSettingsT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_domainId;
89
90 Aws::String m_userProfileName;
91
92 UserSettings m_userSettings;
93 bool m_domainIdHasBeenSet = false;
94 bool m_userProfileNameHasBeenSet = false;
95 bool m_userSettingsHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SageMaker
100} // 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