AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeUserProfileResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/UserProfileStatus.h>
11#include <aws/sagemaker/model/UserSettings.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
27 public:
28 AWS_SAGEMAKER_API DescribeUserProfileResult() = default;
31
33
36 inline const Aws::String& GetDomainId() const { return m_domainId; }
37 template <typename DomainIdT = Aws::String>
38 void SetDomainId(DomainIdT&& value) {
39 m_domainIdHasBeenSet = true;
40 m_domainId = std::forward<DomainIdT>(value);
41 }
42 template <typename DomainIdT = Aws::String>
44 SetDomainId(std::forward<DomainIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetUserProfileArn() const { return m_userProfileArn; }
54 template <typename UserProfileArnT = Aws::String>
55 void SetUserProfileArn(UserProfileArnT&& value) {
56 m_userProfileArnHasBeenSet = true;
57 m_userProfileArn = std::forward<UserProfileArnT>(value);
58 }
59 template <typename UserProfileArnT = Aws::String>
61 SetUserProfileArn(std::forward<UserProfileArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
71 template <typename UserProfileNameT = Aws::String>
72 void SetUserProfileName(UserProfileNameT&& value) {
73 m_userProfileNameHasBeenSet = true;
74 m_userProfileName = std::forward<UserProfileNameT>(value);
75 }
76 template <typename UserProfileNameT = Aws::String>
78 SetUserProfileName(std::forward<UserProfileNameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetHomeEfsFileSystemUid() const { return m_homeEfsFileSystemUid; }
88 template <typename HomeEfsFileSystemUidT = Aws::String>
89 void SetHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) {
90 m_homeEfsFileSystemUidHasBeenSet = true;
91 m_homeEfsFileSystemUid = std::forward<HomeEfsFileSystemUidT>(value);
92 }
93 template <typename HomeEfsFileSystemUidT = Aws::String>
94 DescribeUserProfileResult& WithHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) {
95 SetHomeEfsFileSystemUid(std::forward<HomeEfsFileSystemUidT>(value));
96 return *this;
97 }
99
101
104 inline UserProfileStatus GetStatus() const { return m_status; }
105 inline void SetStatus(UserProfileStatus value) {
106 m_statusHasBeenSet = true;
107 m_status = value;
108 }
110 SetStatus(value);
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
120 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
121 void SetLastModifiedTime(LastModifiedTimeT&& value) {
122 m_lastModifiedTimeHasBeenSet = true;
123 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
124 }
125 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
127 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
137 template <typename CreationTimeT = Aws::Utils::DateTime>
138 void SetCreationTime(CreationTimeT&& value) {
139 m_creationTimeHasBeenSet = true;
140 m_creationTime = std::forward<CreationTimeT>(value);
141 }
142 template <typename CreationTimeT = Aws::Utils::DateTime>
144 SetCreationTime(std::forward<CreationTimeT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
154 template <typename FailureReasonT = Aws::String>
155 void SetFailureReason(FailureReasonT&& value) {
156 m_failureReasonHasBeenSet = true;
157 m_failureReason = std::forward<FailureReasonT>(value);
158 }
159 template <typename FailureReasonT = Aws::String>
161 SetFailureReason(std::forward<FailureReasonT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetSingleSignOnUserIdentifier() const { return m_singleSignOnUserIdentifier; }
171 template <typename SingleSignOnUserIdentifierT = Aws::String>
172 void SetSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT&& value) {
173 m_singleSignOnUserIdentifierHasBeenSet = true;
174 m_singleSignOnUserIdentifier = std::forward<SingleSignOnUserIdentifierT>(value);
175 }
176 template <typename SingleSignOnUserIdentifierT = Aws::String>
177 DescribeUserProfileResult& WithSingleSignOnUserIdentifier(SingleSignOnUserIdentifierT&& value) {
178 SetSingleSignOnUserIdentifier(std::forward<SingleSignOnUserIdentifierT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetSingleSignOnUserValue() const { return m_singleSignOnUserValue; }
188 template <typename SingleSignOnUserValueT = Aws::String>
189 void SetSingleSignOnUserValue(SingleSignOnUserValueT&& value) {
190 m_singleSignOnUserValueHasBeenSet = true;
191 m_singleSignOnUserValue = std::forward<SingleSignOnUserValueT>(value);
192 }
193 template <typename SingleSignOnUserValueT = Aws::String>
194 DescribeUserProfileResult& WithSingleSignOnUserValue(SingleSignOnUserValueT&& value) {
195 SetSingleSignOnUserValue(std::forward<SingleSignOnUserValueT>(value));
196 return *this;
197 }
199
201
204 inline const UserSettings& GetUserSettings() const { return m_userSettings; }
205 template <typename UserSettingsT = UserSettings>
206 void SetUserSettings(UserSettingsT&& value) {
207 m_userSettingsHasBeenSet = true;
208 m_userSettings = std::forward<UserSettingsT>(value);
209 }
210 template <typename UserSettingsT = UserSettings>
212 SetUserSettings(std::forward<UserSettingsT>(value));
213 return *this;
214 }
216
218
219 inline const Aws::String& GetRequestId() const { return m_requestId; }
220 template <typename RequestIdT = Aws::String>
221 void SetRequestId(RequestIdT&& value) {
222 m_requestIdHasBeenSet = true;
223 m_requestId = std::forward<RequestIdT>(value);
224 }
225 template <typename RequestIdT = Aws::String>
227 SetRequestId(std::forward<RequestIdT>(value));
228 return *this;
229 }
231 private:
232 Aws::String m_domainId;
233
234 Aws::String m_userProfileArn;
235
236 Aws::String m_userProfileName;
237
238 Aws::String m_homeEfsFileSystemUid;
239
241
242 Aws::Utils::DateTime m_lastModifiedTime{};
243
244 Aws::Utils::DateTime m_creationTime{};
245
246 Aws::String m_failureReason;
247
248 Aws::String m_singleSignOnUserIdentifier;
249
250 Aws::String m_singleSignOnUserValue;
251
252 UserSettings m_userSettings;
253
254 Aws::String m_requestId;
255 bool m_domainIdHasBeenSet = false;
256 bool m_userProfileArnHasBeenSet = false;
257 bool m_userProfileNameHasBeenSet = false;
258 bool m_homeEfsFileSystemUidHasBeenSet = false;
259 bool m_statusHasBeenSet = false;
260 bool m_lastModifiedTimeHasBeenSet = false;
261 bool m_creationTimeHasBeenSet = false;
262 bool m_failureReasonHasBeenSet = false;
263 bool m_singleSignOnUserIdentifierHasBeenSet = false;
264 bool m_singleSignOnUserValueHasBeenSet = false;
265 bool m_userSettingsHasBeenSet = false;
266 bool m_requestIdHasBeenSet = false;
267};
268
269} // namespace Model
270} // namespace SageMaker
271} // 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