AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeUserResult.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/identitystore/model/Name.h>
11#include <aws/identitystore/model/ExternalId.h>
12#include <aws/identitystore/model/Email.h>
13#include <aws/identitystore/model/Address.h>
14#include <aws/identitystore/model/PhoneNumber.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace IdentityStore
30{
31namespace Model
32{
34 {
35 public:
36 AWS_IDENTITYSTORE_API DescribeUserResult() = default;
39
40
42
48 inline const Aws::String& GetUserName() const { return m_userName; }
49 template<typename UserNameT = Aws::String>
50 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
51 template<typename UserNameT = Aws::String>
52 DescribeUserResult& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetUserId() const { return m_userId; }
60 template<typename UserIdT = Aws::String>
61 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
62 template<typename UserIdT = Aws::String>
63 DescribeUserResult& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
65
67
71 inline const Aws::Vector<ExternalId>& GetExternalIds() const { return m_externalIds; }
72 template<typename ExternalIdsT = Aws::Vector<ExternalId>>
73 void SetExternalIds(ExternalIdsT&& value) { m_externalIdsHasBeenSet = true; m_externalIds = std::forward<ExternalIdsT>(value); }
74 template<typename ExternalIdsT = Aws::Vector<ExternalId>>
75 DescribeUserResult& WithExternalIds(ExternalIdsT&& value) { SetExternalIds(std::forward<ExternalIdsT>(value)); return *this;}
76 template<typename ExternalIdsT = ExternalId>
77 DescribeUserResult& AddExternalIds(ExternalIdsT&& value) { m_externalIdsHasBeenSet = true; m_externalIds.emplace_back(std::forward<ExternalIdsT>(value)); return *this; }
79
81
84 inline const Name& GetName() const { return m_name; }
85 template<typename NameT = Name>
86 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
87 template<typename NameT = Name>
88 DescribeUserResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDisplayName() const { return m_displayName; }
96 template<typename DisplayNameT = Aws::String>
97 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
98 template<typename DisplayNameT = Aws::String>
99 DescribeUserResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
101
103
106 inline const Aws::String& GetNickName() const { return m_nickName; }
107 template<typename NickNameT = Aws::String>
108 void SetNickName(NickNameT&& value) { m_nickNameHasBeenSet = true; m_nickName = std::forward<NickNameT>(value); }
109 template<typename NickNameT = Aws::String>
110 DescribeUserResult& WithNickName(NickNameT&& value) { SetNickName(std::forward<NickNameT>(value)); return *this;}
112
114
117 inline const Aws::String& GetProfileUrl() const { return m_profileUrl; }
118 template<typename ProfileUrlT = Aws::String>
119 void SetProfileUrl(ProfileUrlT&& value) { m_profileUrlHasBeenSet = true; m_profileUrl = std::forward<ProfileUrlT>(value); }
120 template<typename ProfileUrlT = Aws::String>
121 DescribeUserResult& WithProfileUrl(ProfileUrlT&& value) { SetProfileUrl(std::forward<ProfileUrlT>(value)); return *this;}
123
125
128 inline const Aws::Vector<Email>& GetEmails() const { return m_emails; }
129 template<typename EmailsT = Aws::Vector<Email>>
130 void SetEmails(EmailsT&& value) { m_emailsHasBeenSet = true; m_emails = std::forward<EmailsT>(value); }
131 template<typename EmailsT = Aws::Vector<Email>>
132 DescribeUserResult& WithEmails(EmailsT&& value) { SetEmails(std::forward<EmailsT>(value)); return *this;}
133 template<typename EmailsT = Email>
134 DescribeUserResult& AddEmails(EmailsT&& value) { m_emailsHasBeenSet = true; m_emails.emplace_back(std::forward<EmailsT>(value)); return *this; }
136
138
141 inline const Aws::Vector<Address>& GetAddresses() const { return m_addresses; }
142 template<typename AddressesT = Aws::Vector<Address>>
143 void SetAddresses(AddressesT&& value) { m_addressesHasBeenSet = true; m_addresses = std::forward<AddressesT>(value); }
144 template<typename AddressesT = Aws::Vector<Address>>
145 DescribeUserResult& WithAddresses(AddressesT&& value) { SetAddresses(std::forward<AddressesT>(value)); return *this;}
146 template<typename AddressesT = Address>
147 DescribeUserResult& AddAddresses(AddressesT&& value) { m_addressesHasBeenSet = true; m_addresses.emplace_back(std::forward<AddressesT>(value)); return *this; }
149
151
154 inline const Aws::Vector<PhoneNumber>& GetPhoneNumbers() const { return m_phoneNumbers; }
155 template<typename PhoneNumbersT = Aws::Vector<PhoneNumber>>
156 void SetPhoneNumbers(PhoneNumbersT&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = std::forward<PhoneNumbersT>(value); }
157 template<typename PhoneNumbersT = Aws::Vector<PhoneNumber>>
158 DescribeUserResult& WithPhoneNumbers(PhoneNumbersT&& value) { SetPhoneNumbers(std::forward<PhoneNumbersT>(value)); return *this;}
159 template<typename PhoneNumbersT = PhoneNumber>
160 DescribeUserResult& AddPhoneNumbers(PhoneNumbersT&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.emplace_back(std::forward<PhoneNumbersT>(value)); return *this; }
162
164
167 inline const Aws::String& GetUserType() const { return m_userType; }
168 template<typename UserTypeT = Aws::String>
169 void SetUserType(UserTypeT&& value) { m_userTypeHasBeenSet = true; m_userType = std::forward<UserTypeT>(value); }
170 template<typename UserTypeT = Aws::String>
171 DescribeUserResult& WithUserType(UserTypeT&& value) { SetUserType(std::forward<UserTypeT>(value)); return *this;}
173
175
178 inline const Aws::String& GetTitle() const { return m_title; }
179 template<typename TitleT = Aws::String>
180 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
181 template<typename TitleT = Aws::String>
182 DescribeUserResult& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
184
186
189 inline const Aws::String& GetPreferredLanguage() const { return m_preferredLanguage; }
190 template<typename PreferredLanguageT = Aws::String>
191 void SetPreferredLanguage(PreferredLanguageT&& value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage = std::forward<PreferredLanguageT>(value); }
192 template<typename PreferredLanguageT = Aws::String>
193 DescribeUserResult& WithPreferredLanguage(PreferredLanguageT&& value) { SetPreferredLanguage(std::forward<PreferredLanguageT>(value)); return *this;}
195
197
200 inline const Aws::String& GetLocale() const { return m_locale; }
201 template<typename LocaleT = Aws::String>
202 void SetLocale(LocaleT&& value) { m_localeHasBeenSet = true; m_locale = std::forward<LocaleT>(value); }
203 template<typename LocaleT = Aws::String>
204 DescribeUserResult& WithLocale(LocaleT&& value) { SetLocale(std::forward<LocaleT>(value)); return *this;}
206
208
211 inline const Aws::String& GetTimezone() const { return m_timezone; }
212 template<typename TimezoneT = Aws::String>
213 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
214 template<typename TimezoneT = Aws::String>
215 DescribeUserResult& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
217
219
222 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
223 template<typename IdentityStoreIdT = Aws::String>
224 void SetIdentityStoreId(IdentityStoreIdT&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::forward<IdentityStoreIdT>(value); }
225 template<typename IdentityStoreIdT = Aws::String>
226 DescribeUserResult& WithIdentityStoreId(IdentityStoreIdT&& value) { SetIdentityStoreId(std::forward<IdentityStoreIdT>(value)); return *this;}
228
230
231 inline const Aws::String& GetRequestId() const { return m_requestId; }
232 template<typename RequestIdT = Aws::String>
233 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
234 template<typename RequestIdT = Aws::String>
235 DescribeUserResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
237 private:
238
239 Aws::String m_userName;
240 bool m_userNameHasBeenSet = false;
241
242 Aws::String m_userId;
243 bool m_userIdHasBeenSet = false;
244
245 Aws::Vector<ExternalId> m_externalIds;
246 bool m_externalIdsHasBeenSet = false;
247
248 Name m_name;
249 bool m_nameHasBeenSet = false;
250
251 Aws::String m_displayName;
252 bool m_displayNameHasBeenSet = false;
253
254 Aws::String m_nickName;
255 bool m_nickNameHasBeenSet = false;
256
257 Aws::String m_profileUrl;
258 bool m_profileUrlHasBeenSet = false;
259
260 Aws::Vector<Email> m_emails;
261 bool m_emailsHasBeenSet = false;
262
263 Aws::Vector<Address> m_addresses;
264 bool m_addressesHasBeenSet = false;
265
266 Aws::Vector<PhoneNumber> m_phoneNumbers;
267 bool m_phoneNumbersHasBeenSet = false;
268
269 Aws::String m_userType;
270 bool m_userTypeHasBeenSet = false;
271
272 Aws::String m_title;
273 bool m_titleHasBeenSet = false;
274
275 Aws::String m_preferredLanguage;
276 bool m_preferredLanguageHasBeenSet = false;
277
278 Aws::String m_locale;
279 bool m_localeHasBeenSet = false;
280
281 Aws::String m_timezone;
282 bool m_timezoneHasBeenSet = false;
283
284 Aws::String m_identityStoreId;
285 bool m_identityStoreIdHasBeenSet = false;
286
287 Aws::String m_requestId;
288 bool m_requestIdHasBeenSet = false;
289 };
290
291} // namespace Model
292} // namespace IdentityStore
293} // namespace Aws
const Aws::Vector< Address > & GetAddresses() const
DescribeUserResult & WithUserId(UserIdT &&value)
AWS_IDENTITYSTORE_API DescribeUserResult()=default
DescribeUserResult & WithTitle(TitleT &&value)
AWS_IDENTITYSTORE_API DescribeUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUserResult & WithName(NameT &&value)
DescribeUserResult & WithAddresses(AddressesT &&value)
DescribeUserResult & WithNickName(NickNameT &&value)
DescribeUserResult & WithProfileUrl(ProfileUrlT &&value)
DescribeUserResult & AddAddresses(AddressesT &&value)
DescribeUserResult & AddEmails(EmailsT &&value)
DescribeUserResult & WithUserName(UserNameT &&value)
DescribeUserResult & WithTimezone(TimezoneT &&value)
DescribeUserResult & AddPhoneNumbers(PhoneNumbersT &&value)
const Aws::Vector< PhoneNumber > & GetPhoneNumbers() const
AWS_IDENTITYSTORE_API DescribeUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUserResult & WithPreferredLanguage(PreferredLanguageT &&value)
const Aws::Vector< Email > & GetEmails() const
DescribeUserResult & WithDisplayName(DisplayNameT &&value)
DescribeUserResult & WithRequestId(RequestIdT &&value)
void SetIdentityStoreId(IdentityStoreIdT &&value)
DescribeUserResult & WithUserType(UserTypeT &&value)
DescribeUserResult & WithEmails(EmailsT &&value)
DescribeUserResult & WithLocale(LocaleT &&value)
const Aws::Vector< ExternalId > & GetExternalIds() const
DescribeUserResult & AddExternalIds(ExternalIdsT &&value)
DescribeUserResult & WithPhoneNumbers(PhoneNumbersT &&value)
void SetPreferredLanguage(PreferredLanguageT &&value)
DescribeUserResult & WithExternalIds(ExternalIdsT &&value)
DescribeUserResult & WithIdentityStoreId(IdentityStoreIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue