AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeUserProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/UserProfileStatus.h>
12#include <aws/sagemaker/model/UserSettings.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
28 public:
29 AWS_SAGEMAKER_API DescribeUserProfileResult() = default;
32
34
37 inline const Aws::String& GetDomainId() const { return m_domainId; }
38 template <typename DomainIdT = Aws::String>
39 void SetDomainId(DomainIdT&& value) {
40 m_domainIdHasBeenSet = true;
41 m_domainId = std::forward<DomainIdT>(value);
42 }
43 template <typename DomainIdT = Aws::String>
45 SetDomainId(std::forward<DomainIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetUserProfileArn() const { return m_userProfileArn; }
55 template <typename UserProfileArnT = Aws::String>
56 void SetUserProfileArn(UserProfileArnT&& value) {
57 m_userProfileArnHasBeenSet = true;
58 m_userProfileArn = std::forward<UserProfileArnT>(value);
59 }
60 template <typename UserProfileArnT = Aws::String>
62 SetUserProfileArn(std::forward<UserProfileArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
72 template <typename UserProfileNameT = Aws::String>
73 void SetUserProfileName(UserProfileNameT&& value) {
74 m_userProfileNameHasBeenSet = true;
75 m_userProfileName = std::forward<UserProfileNameT>(value);
76 }
77 template <typename UserProfileNameT = Aws::String>
79 SetUserProfileName(std::forward<UserProfileNameT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetHomeEfsFileSystemUid() const { return m_homeEfsFileSystemUid; }
89 template <typename HomeEfsFileSystemUidT = Aws::String>
90 void SetHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) {
91 m_homeEfsFileSystemUidHasBeenSet = true;
92 m_homeEfsFileSystemUid = std::forward<HomeEfsFileSystemUidT>(value);
93 }
94 template <typename HomeEfsFileSystemUidT = Aws::String>
95 DescribeUserProfileResult& WithHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) {
96 SetHomeEfsFileSystemUid(std::forward<HomeEfsFileSystemUidT>(value));
97 return *this;
98 }
100
102
105 inline UserProfileStatus GetStatus() const { return m_status; }
106 inline void SetStatus(UserProfileStatus value) {
107 m_statusHasBeenSet = true;
108 m_status = value;
109 }
111 SetStatus(value);
112 return *this;
113 }
115
117
120 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
121 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
122 void SetLastModifiedTime(LastModifiedTimeT&& value) {
123 m_lastModifiedTimeHasBeenSet = true;
124 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
125 }
126 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
128 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
138 template <typename CreationTimeT = Aws::Utils::DateTime>
139 void SetCreationTime(CreationTimeT&& value) {
140 m_creationTimeHasBeenSet = true;
141 m_creationTime = std::forward<CreationTimeT>(value);
142 }
143 template <typename CreationTimeT = Aws::Utils::DateTime>
145 SetCreationTime(std::forward<CreationTimeT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
155 template <typename FailureReasonT = Aws::String>
156 void SetFailureReason(FailureReasonT&& value) {
157 m_failureReasonHasBeenSet = true;
158 m_failureReason = std::forward<FailureReasonT>(value);
159 }
160 template <typename FailureReasonT = Aws::String>
162 SetFailureReason(std::forward<FailureReasonT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetSingleSignOnUserIdentifier() const { return m_singleSignOnUserIdentifier; }
172 template <typename SingleSignOnUserIdentifierT = Aws::String>
173 void SetSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT&& value) {
174 m_singleSignOnUserIdentifierHasBeenSet = true;
175 m_singleSignOnUserIdentifier = std::forward<SingleSignOnUserIdentifierT>(value);
176 }
177 template <typename SingleSignOnUserIdentifierT = Aws::String>
178 DescribeUserProfileResult& WithSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT&& value) {
179 SetSingleSignOnUserIdentifier(std::forward<SingleSignOnUserIdentifierT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetSingleSignOnUserValue() const { return m_singleSignOnUserValue; }
189 template <typename SingleSignOnUserValueT = Aws::String>
190 void SetSingleSignOnUserValue(SingleSignOnUserValueT&& value) {
191 m_singleSignOnUserValueHasBeenSet = true;
192 m_singleSignOnUserValue = std::forward<SingleSignOnUserValueT>(value);
193 }
194 template <typename SingleSignOnUserValueT = Aws::String>
195 DescribeUserProfileResult& WithSingleSignOnUserValue(SingleSignOnUserValueT&& value) {
196 SetSingleSignOnUserValue(std::forward<SingleSignOnUserValueT>(value));
197 return *this;
198 }
200
202
205 inline const UserSettings& GetUserSettings() const { return m_userSettings; }
206 template <typename UserSettingsT = UserSettings>
207 void SetUserSettings(UserSettingsT&& value) {
208 m_userSettingsHasBeenSet = true;
209 m_userSettings = std::forward<UserSettingsT>(value);
210 }
211 template <typename UserSettingsT = UserSettings>
213 SetUserSettings(std::forward<UserSettingsT>(value));
214 return *this;
215 }
217
219
220 inline const Aws::String& GetRequestId() const { return m_requestId; }
221 template <typename RequestIdT = Aws::String>
222 void SetRequestId(RequestIdT&& value) {
223 m_requestIdHasBeenSet = true;
224 m_requestId = std::forward<RequestIdT>(value);
225 }
226 template <typename RequestIdT = Aws::String>
228 SetRequestId(std::forward<RequestIdT>(value));
229 return *this;
230 }
232 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
233
234 private:
235 Aws::String m_domainId;
236
237 Aws::String m_userProfileArn;
238
239 Aws::String m_userProfileName;
240
241 Aws::String m_homeEfsFileSystemUid;
242
244
245 Aws::Utils::DateTime m_lastModifiedTime{};
246
247 Aws::Utils::DateTime m_creationTime{};
248
249 Aws::String m_failureReason;
250
251 Aws::String m_singleSignOnUserIdentifier;
252
253 Aws::String m_singleSignOnUserValue;
254
255 UserSettings m_userSettings;
256
257 Aws::String m_requestId;
258 Aws::Http::HttpResponseCode m_HttpResponseCode;
259 bool m_domainIdHasBeenSet = false;
260 bool m_userProfileArnHasBeenSet = false;
261 bool m_userProfileNameHasBeenSet = false;
262 bool m_homeEfsFileSystemUidHasBeenSet = false;
263 bool m_statusHasBeenSet = false;
264 bool m_lastModifiedTimeHasBeenSet = false;
265 bool m_creationTimeHasBeenSet = false;
266 bool m_failureReasonHasBeenSet = false;
267 bool m_singleSignOnUserIdentifierHasBeenSet = false;
268 bool m_singleSignOnUserValueHasBeenSet = false;
269 bool m_userSettingsHasBeenSet = false;
270 bool m_requestIdHasBeenSet = false;
271};
272
273} // namespace Model
274} // namespace SageMaker
275} // namespace Aws
DescribeUserProfileResult & WithUserProfileName(UserProfileNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API DescribeUserProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUserProfileResult & WithRequestId(RequestIdT &&value)
DescribeUserProfileResult & WithStatus(UserProfileStatus value)
DescribeUserProfileResult & WithSingleSignOnUserValue(SingleSignOnUserValueT &&value)
DescribeUserProfileResult & WithCreationTime(CreationTimeT &&value)
void SetSingleSignOnUserValue(SingleSignOnUserValueT &&value)
DescribeUserProfileResult & WithUserSettings(UserSettingsT &&value)
DescribeUserProfileResult & WithHomeEfsFileSystemUid(HomeEfsFileSystemUidT &&value)
DescribeUserProfileResult & WithDomainId(DomainIdT &&value)
AWS_SAGEMAKER_API DescribeUserProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUserProfileResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeUserProfileResult()=default
void SetHomeEfsFileSystemUid(HomeEfsFileSystemUidT &&value)
DescribeUserProfileResult & WithUserProfileArn(UserProfileArnT &&value)
void SetSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT &&value)
DescribeUserProfileResult & WithSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT &&value)
DescribeUserProfileResult & WithFailureReason(FailureReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue