1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/workdocs/WorkDocs_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <aws/workdocs/model/UserStatusType.h>
10 #include <aws/workdocs/model/UserType.h>
11 #include <aws/core/utils/DateTime.h>
12 #include <aws/workdocs/model/LocaleType.h>
13 #include <aws/workdocs/model/UserStorageMetadata.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22   class JsonValue;
23   class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace WorkDocs
27 {
28 namespace Model
29 {
30 
31   /**
32    * <p>Describes a user.</p><p><h3>See Also:</h3>   <a
33    * href="http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/User">AWS API
34    * Reference</a></p>
35    */
36   class AWS_WORKDOCS_API User
37   {
38   public:
39     User();
40     User(Aws::Utils::Json::JsonView jsonValue);
41     User& operator=(Aws::Utils::Json::JsonView jsonValue);
42     Aws::Utils::Json::JsonValue Jsonize() const;
43 
44 
45     /**
46      * <p>The ID of the user.</p>
47      */
GetId()48     inline const Aws::String& GetId() const{ return m_id; }
49 
50     /**
51      * <p>The ID of the user.</p>
52      */
IdHasBeenSet()53     inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 
55     /**
56      * <p>The ID of the user.</p>
57      */
SetId(const Aws::String & value)58     inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 
60     /**
61      * <p>The ID of the user.</p>
62      */
SetId(Aws::String && value)63     inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 
65     /**
66      * <p>The ID of the user.</p>
67      */
SetId(const char * value)68     inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 
70     /**
71      * <p>The ID of the user.</p>
72      */
WithId(const Aws::String & value)73     inline User& WithId(const Aws::String& value) { SetId(value); return *this;}
74 
75     /**
76      * <p>The ID of the user.</p>
77      */
WithId(Aws::String && value)78     inline User& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
79 
80     /**
81      * <p>The ID of the user.</p>
82      */
WithId(const char * value)83     inline User& WithId(const char* value) { SetId(value); return *this;}
84 
85 
86     /**
87      * <p>The login name of the user.</p>
88      */
GetUsername()89     inline const Aws::String& GetUsername() const{ return m_username; }
90 
91     /**
92      * <p>The login name of the user.</p>
93      */
UsernameHasBeenSet()94     inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
95 
96     /**
97      * <p>The login name of the user.</p>
98      */
SetUsername(const Aws::String & value)99     inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
100 
101     /**
102      * <p>The login name of the user.</p>
103      */
SetUsername(Aws::String && value)104     inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
105 
106     /**
107      * <p>The login name of the user.</p>
108      */
SetUsername(const char * value)109     inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
110 
111     /**
112      * <p>The login name of the user.</p>
113      */
WithUsername(const Aws::String & value)114     inline User& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
115 
116     /**
117      * <p>The login name of the user.</p>
118      */
WithUsername(Aws::String && value)119     inline User& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
120 
121     /**
122      * <p>The login name of the user.</p>
123      */
WithUsername(const char * value)124     inline User& WithUsername(const char* value) { SetUsername(value); return *this;}
125 
126 
127     /**
128      * <p>The email address of the user.</p>
129      */
GetEmailAddress()130     inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
131 
132     /**
133      * <p>The email address of the user.</p>
134      */
EmailAddressHasBeenSet()135     inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
136 
137     /**
138      * <p>The email address of the user.</p>
139      */
SetEmailAddress(const Aws::String & value)140     inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
141 
142     /**
143      * <p>The email address of the user.</p>
144      */
SetEmailAddress(Aws::String && value)145     inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
146 
147     /**
148      * <p>The email address of the user.</p>
149      */
SetEmailAddress(const char * value)150     inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
151 
152     /**
153      * <p>The email address of the user.</p>
154      */
WithEmailAddress(const Aws::String & value)155     inline User& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
156 
157     /**
158      * <p>The email address of the user.</p>
159      */
WithEmailAddress(Aws::String && value)160     inline User& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
161 
162     /**
163      * <p>The email address of the user.</p>
164      */
WithEmailAddress(const char * value)165     inline User& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
166 
167 
168     /**
169      * <p>The given name of the user.</p>
170      */
GetGivenName()171     inline const Aws::String& GetGivenName() const{ return m_givenName; }
172 
173     /**
174      * <p>The given name of the user.</p>
175      */
GivenNameHasBeenSet()176     inline bool GivenNameHasBeenSet() const { return m_givenNameHasBeenSet; }
177 
178     /**
179      * <p>The given name of the user.</p>
180      */
SetGivenName(const Aws::String & value)181     inline void SetGivenName(const Aws::String& value) { m_givenNameHasBeenSet = true; m_givenName = value; }
182 
183     /**
184      * <p>The given name of the user.</p>
185      */
SetGivenName(Aws::String && value)186     inline void SetGivenName(Aws::String&& value) { m_givenNameHasBeenSet = true; m_givenName = std::move(value); }
187 
188     /**
189      * <p>The given name of the user.</p>
190      */
SetGivenName(const char * value)191     inline void SetGivenName(const char* value) { m_givenNameHasBeenSet = true; m_givenName.assign(value); }
192 
193     /**
194      * <p>The given name of the user.</p>
195      */
WithGivenName(const Aws::String & value)196     inline User& WithGivenName(const Aws::String& value) { SetGivenName(value); return *this;}
197 
198     /**
199      * <p>The given name of the user.</p>
200      */
WithGivenName(Aws::String && value)201     inline User& WithGivenName(Aws::String&& value) { SetGivenName(std::move(value)); return *this;}
202 
203     /**
204      * <p>The given name of the user.</p>
205      */
WithGivenName(const char * value)206     inline User& WithGivenName(const char* value) { SetGivenName(value); return *this;}
207 
208 
209     /**
210      * <p>The surname of the user.</p>
211      */
GetSurname()212     inline const Aws::String& GetSurname() const{ return m_surname; }
213 
214     /**
215      * <p>The surname of the user.</p>
216      */
SurnameHasBeenSet()217     inline bool SurnameHasBeenSet() const { return m_surnameHasBeenSet; }
218 
219     /**
220      * <p>The surname of the user.</p>
221      */
SetSurname(const Aws::String & value)222     inline void SetSurname(const Aws::String& value) { m_surnameHasBeenSet = true; m_surname = value; }
223 
224     /**
225      * <p>The surname of the user.</p>
226      */
SetSurname(Aws::String && value)227     inline void SetSurname(Aws::String&& value) { m_surnameHasBeenSet = true; m_surname = std::move(value); }
228 
229     /**
230      * <p>The surname of the user.</p>
231      */
SetSurname(const char * value)232     inline void SetSurname(const char* value) { m_surnameHasBeenSet = true; m_surname.assign(value); }
233 
234     /**
235      * <p>The surname of the user.</p>
236      */
WithSurname(const Aws::String & value)237     inline User& WithSurname(const Aws::String& value) { SetSurname(value); return *this;}
238 
239     /**
240      * <p>The surname of the user.</p>
241      */
WithSurname(Aws::String && value)242     inline User& WithSurname(Aws::String&& value) { SetSurname(std::move(value)); return *this;}
243 
244     /**
245      * <p>The surname of the user.</p>
246      */
WithSurname(const char * value)247     inline User& WithSurname(const char* value) { SetSurname(value); return *this;}
248 
249 
250     /**
251      * <p>The ID of the organization.</p>
252      */
GetOrganizationId()253     inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
254 
255     /**
256      * <p>The ID of the organization.</p>
257      */
OrganizationIdHasBeenSet()258     inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
259 
260     /**
261      * <p>The ID of the organization.</p>
262      */
SetOrganizationId(const Aws::String & value)263     inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
264 
265     /**
266      * <p>The ID of the organization.</p>
267      */
SetOrganizationId(Aws::String && value)268     inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
269 
270     /**
271      * <p>The ID of the organization.</p>
272      */
SetOrganizationId(const char * value)273     inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
274 
275     /**
276      * <p>The ID of the organization.</p>
277      */
WithOrganizationId(const Aws::String & value)278     inline User& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
279 
280     /**
281      * <p>The ID of the organization.</p>
282      */
WithOrganizationId(Aws::String && value)283     inline User& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
284 
285     /**
286      * <p>The ID of the organization.</p>
287      */
WithOrganizationId(const char * value)288     inline User& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
289 
290 
291     /**
292      * <p>The ID of the root folder.</p>
293      */
GetRootFolderId()294     inline const Aws::String& GetRootFolderId() const{ return m_rootFolderId; }
295 
296     /**
297      * <p>The ID of the root folder.</p>
298      */
RootFolderIdHasBeenSet()299     inline bool RootFolderIdHasBeenSet() const { return m_rootFolderIdHasBeenSet; }
300 
301     /**
302      * <p>The ID of the root folder.</p>
303      */
SetRootFolderId(const Aws::String & value)304     inline void SetRootFolderId(const Aws::String& value) { m_rootFolderIdHasBeenSet = true; m_rootFolderId = value; }
305 
306     /**
307      * <p>The ID of the root folder.</p>
308      */
SetRootFolderId(Aws::String && value)309     inline void SetRootFolderId(Aws::String&& value) { m_rootFolderIdHasBeenSet = true; m_rootFolderId = std::move(value); }
310 
311     /**
312      * <p>The ID of the root folder.</p>
313      */
SetRootFolderId(const char * value)314     inline void SetRootFolderId(const char* value) { m_rootFolderIdHasBeenSet = true; m_rootFolderId.assign(value); }
315 
316     /**
317      * <p>The ID of the root folder.</p>
318      */
WithRootFolderId(const Aws::String & value)319     inline User& WithRootFolderId(const Aws::String& value) { SetRootFolderId(value); return *this;}
320 
321     /**
322      * <p>The ID of the root folder.</p>
323      */
WithRootFolderId(Aws::String && value)324     inline User& WithRootFolderId(Aws::String&& value) { SetRootFolderId(std::move(value)); return *this;}
325 
326     /**
327      * <p>The ID of the root folder.</p>
328      */
WithRootFolderId(const char * value)329     inline User& WithRootFolderId(const char* value) { SetRootFolderId(value); return *this;}
330 
331 
332     /**
333      * <p>The ID of the recycle bin folder.</p>
334      */
GetRecycleBinFolderId()335     inline const Aws::String& GetRecycleBinFolderId() const{ return m_recycleBinFolderId; }
336 
337     /**
338      * <p>The ID of the recycle bin folder.</p>
339      */
RecycleBinFolderIdHasBeenSet()340     inline bool RecycleBinFolderIdHasBeenSet() const { return m_recycleBinFolderIdHasBeenSet; }
341 
342     /**
343      * <p>The ID of the recycle bin folder.</p>
344      */
SetRecycleBinFolderId(const Aws::String & value)345     inline void SetRecycleBinFolderId(const Aws::String& value) { m_recycleBinFolderIdHasBeenSet = true; m_recycleBinFolderId = value; }
346 
347     /**
348      * <p>The ID of the recycle bin folder.</p>
349      */
SetRecycleBinFolderId(Aws::String && value)350     inline void SetRecycleBinFolderId(Aws::String&& value) { m_recycleBinFolderIdHasBeenSet = true; m_recycleBinFolderId = std::move(value); }
351 
352     /**
353      * <p>The ID of the recycle bin folder.</p>
354      */
SetRecycleBinFolderId(const char * value)355     inline void SetRecycleBinFolderId(const char* value) { m_recycleBinFolderIdHasBeenSet = true; m_recycleBinFolderId.assign(value); }
356 
357     /**
358      * <p>The ID of the recycle bin folder.</p>
359      */
WithRecycleBinFolderId(const Aws::String & value)360     inline User& WithRecycleBinFolderId(const Aws::String& value) { SetRecycleBinFolderId(value); return *this;}
361 
362     /**
363      * <p>The ID of the recycle bin folder.</p>
364      */
WithRecycleBinFolderId(Aws::String && value)365     inline User& WithRecycleBinFolderId(Aws::String&& value) { SetRecycleBinFolderId(std::move(value)); return *this;}
366 
367     /**
368      * <p>The ID of the recycle bin folder.</p>
369      */
WithRecycleBinFolderId(const char * value)370     inline User& WithRecycleBinFolderId(const char* value) { SetRecycleBinFolderId(value); return *this;}
371 
372 
373     /**
374      * <p>The status of the user.</p>
375      */
GetStatus()376     inline const UserStatusType& GetStatus() const{ return m_status; }
377 
378     /**
379      * <p>The status of the user.</p>
380      */
StatusHasBeenSet()381     inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
382 
383     /**
384      * <p>The status of the user.</p>
385      */
SetStatus(const UserStatusType & value)386     inline void SetStatus(const UserStatusType& value) { m_statusHasBeenSet = true; m_status = value; }
387 
388     /**
389      * <p>The status of the user.</p>
390      */
SetStatus(UserStatusType && value)391     inline void SetStatus(UserStatusType&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
392 
393     /**
394      * <p>The status of the user.</p>
395      */
WithStatus(const UserStatusType & value)396     inline User& WithStatus(const UserStatusType& value) { SetStatus(value); return *this;}
397 
398     /**
399      * <p>The status of the user.</p>
400      */
WithStatus(UserStatusType && value)401     inline User& WithStatus(UserStatusType&& value) { SetStatus(std::move(value)); return *this;}
402 
403 
404     /**
405      * <p>The type of user.</p>
406      */
GetType()407     inline const UserType& GetType() const{ return m_type; }
408 
409     /**
410      * <p>The type of user.</p>
411      */
TypeHasBeenSet()412     inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
413 
414     /**
415      * <p>The type of user.</p>
416      */
SetType(const UserType & value)417     inline void SetType(const UserType& value) { m_typeHasBeenSet = true; m_type = value; }
418 
419     /**
420      * <p>The type of user.</p>
421      */
SetType(UserType && value)422     inline void SetType(UserType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
423 
424     /**
425      * <p>The type of user.</p>
426      */
WithType(const UserType & value)427     inline User& WithType(const UserType& value) { SetType(value); return *this;}
428 
429     /**
430      * <p>The type of user.</p>
431      */
WithType(UserType && value)432     inline User& WithType(UserType&& value) { SetType(std::move(value)); return *this;}
433 
434 
435     /**
436      * <p>The time when the user was created.</p>
437      */
GetCreatedTimestamp()438     inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
439 
440     /**
441      * <p>The time when the user was created.</p>
442      */
CreatedTimestampHasBeenSet()443     inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
444 
445     /**
446      * <p>The time when the user was created.</p>
447      */
SetCreatedTimestamp(const Aws::Utils::DateTime & value)448     inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
449 
450     /**
451      * <p>The time when the user was created.</p>
452      */
SetCreatedTimestamp(Aws::Utils::DateTime && value)453     inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
454 
455     /**
456      * <p>The time when the user was created.</p>
457      */
WithCreatedTimestamp(const Aws::Utils::DateTime & value)458     inline User& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
459 
460     /**
461      * <p>The time when the user was created.</p>
462      */
WithCreatedTimestamp(Aws::Utils::DateTime && value)463     inline User& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
464 
465 
466     /**
467      * <p>The time when the user was modified.</p>
468      */
GetModifiedTimestamp()469     inline const Aws::Utils::DateTime& GetModifiedTimestamp() const{ return m_modifiedTimestamp; }
470 
471     /**
472      * <p>The time when the user was modified.</p>
473      */
ModifiedTimestampHasBeenSet()474     inline bool ModifiedTimestampHasBeenSet() const { return m_modifiedTimestampHasBeenSet; }
475 
476     /**
477      * <p>The time when the user was modified.</p>
478      */
SetModifiedTimestamp(const Aws::Utils::DateTime & value)479     inline void SetModifiedTimestamp(const Aws::Utils::DateTime& value) { m_modifiedTimestampHasBeenSet = true; m_modifiedTimestamp = value; }
480 
481     /**
482      * <p>The time when the user was modified.</p>
483      */
SetModifiedTimestamp(Aws::Utils::DateTime && value)484     inline void SetModifiedTimestamp(Aws::Utils::DateTime&& value) { m_modifiedTimestampHasBeenSet = true; m_modifiedTimestamp = std::move(value); }
485 
486     /**
487      * <p>The time when the user was modified.</p>
488      */
WithModifiedTimestamp(const Aws::Utils::DateTime & value)489     inline User& WithModifiedTimestamp(const Aws::Utils::DateTime& value) { SetModifiedTimestamp(value); return *this;}
490 
491     /**
492      * <p>The time when the user was modified.</p>
493      */
WithModifiedTimestamp(Aws::Utils::DateTime && value)494     inline User& WithModifiedTimestamp(Aws::Utils::DateTime&& value) { SetModifiedTimestamp(std::move(value)); return *this;}
495 
496 
497     /**
498      * <p>The time zone ID of the user.</p>
499      */
GetTimeZoneId()500     inline const Aws::String& GetTimeZoneId() const{ return m_timeZoneId; }
501 
502     /**
503      * <p>The time zone ID of the user.</p>
504      */
TimeZoneIdHasBeenSet()505     inline bool TimeZoneIdHasBeenSet() const { return m_timeZoneIdHasBeenSet; }
506 
507     /**
508      * <p>The time zone ID of the user.</p>
509      */
SetTimeZoneId(const Aws::String & value)510     inline void SetTimeZoneId(const Aws::String& value) { m_timeZoneIdHasBeenSet = true; m_timeZoneId = value; }
511 
512     /**
513      * <p>The time zone ID of the user.</p>
514      */
SetTimeZoneId(Aws::String && value)515     inline void SetTimeZoneId(Aws::String&& value) { m_timeZoneIdHasBeenSet = true; m_timeZoneId = std::move(value); }
516 
517     /**
518      * <p>The time zone ID of the user.</p>
519      */
SetTimeZoneId(const char * value)520     inline void SetTimeZoneId(const char* value) { m_timeZoneIdHasBeenSet = true; m_timeZoneId.assign(value); }
521 
522     /**
523      * <p>The time zone ID of the user.</p>
524      */
WithTimeZoneId(const Aws::String & value)525     inline User& WithTimeZoneId(const Aws::String& value) { SetTimeZoneId(value); return *this;}
526 
527     /**
528      * <p>The time zone ID of the user.</p>
529      */
WithTimeZoneId(Aws::String && value)530     inline User& WithTimeZoneId(Aws::String&& value) { SetTimeZoneId(std::move(value)); return *this;}
531 
532     /**
533      * <p>The time zone ID of the user.</p>
534      */
WithTimeZoneId(const char * value)535     inline User& WithTimeZoneId(const char* value) { SetTimeZoneId(value); return *this;}
536 
537 
538     /**
539      * <p>The locale of the user.</p>
540      */
GetLocale()541     inline const LocaleType& GetLocale() const{ return m_locale; }
542 
543     /**
544      * <p>The locale of the user.</p>
545      */
LocaleHasBeenSet()546     inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
547 
548     /**
549      * <p>The locale of the user.</p>
550      */
SetLocale(const LocaleType & value)551     inline void SetLocale(const LocaleType& value) { m_localeHasBeenSet = true; m_locale = value; }
552 
553     /**
554      * <p>The locale of the user.</p>
555      */
SetLocale(LocaleType && value)556     inline void SetLocale(LocaleType&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
557 
558     /**
559      * <p>The locale of the user.</p>
560      */
WithLocale(const LocaleType & value)561     inline User& WithLocale(const LocaleType& value) { SetLocale(value); return *this;}
562 
563     /**
564      * <p>The locale of the user.</p>
565      */
WithLocale(LocaleType && value)566     inline User& WithLocale(LocaleType&& value) { SetLocale(std::move(value)); return *this;}
567 
568 
569     /**
570      * <p>The storage for the user.</p>
571      */
GetStorage()572     inline const UserStorageMetadata& GetStorage() const{ return m_storage; }
573 
574     /**
575      * <p>The storage for the user.</p>
576      */
StorageHasBeenSet()577     inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
578 
579     /**
580      * <p>The storage for the user.</p>
581      */
SetStorage(const UserStorageMetadata & value)582     inline void SetStorage(const UserStorageMetadata& value) { m_storageHasBeenSet = true; m_storage = value; }
583 
584     /**
585      * <p>The storage for the user.</p>
586      */
SetStorage(UserStorageMetadata && value)587     inline void SetStorage(UserStorageMetadata&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
588 
589     /**
590      * <p>The storage for the user.</p>
591      */
WithStorage(const UserStorageMetadata & value)592     inline User& WithStorage(const UserStorageMetadata& value) { SetStorage(value); return *this;}
593 
594     /**
595      * <p>The storage for the user.</p>
596      */
WithStorage(UserStorageMetadata && value)597     inline User& WithStorage(UserStorageMetadata&& value) { SetStorage(std::move(value)); return *this;}
598 
599   private:
600 
601     Aws::String m_id;
602     bool m_idHasBeenSet;
603 
604     Aws::String m_username;
605     bool m_usernameHasBeenSet;
606 
607     Aws::String m_emailAddress;
608     bool m_emailAddressHasBeenSet;
609 
610     Aws::String m_givenName;
611     bool m_givenNameHasBeenSet;
612 
613     Aws::String m_surname;
614     bool m_surnameHasBeenSet;
615 
616     Aws::String m_organizationId;
617     bool m_organizationIdHasBeenSet;
618 
619     Aws::String m_rootFolderId;
620     bool m_rootFolderIdHasBeenSet;
621 
622     Aws::String m_recycleBinFolderId;
623     bool m_recycleBinFolderIdHasBeenSet;
624 
625     UserStatusType m_status;
626     bool m_statusHasBeenSet;
627 
628     UserType m_type;
629     bool m_typeHasBeenSet;
630 
631     Aws::Utils::DateTime m_createdTimestamp;
632     bool m_createdTimestampHasBeenSet;
633 
634     Aws::Utils::DateTime m_modifiedTimestamp;
635     bool m_modifiedTimestampHasBeenSet;
636 
637     Aws::String m_timeZoneId;
638     bool m_timeZoneIdHasBeenSet;
639 
640     LocaleType m_locale;
641     bool m_localeHasBeenSet;
642 
643     UserStorageMetadata m_storage;
644     bool m_storageHasBeenSet;
645   };
646 
647 } // namespace Model
648 } // namespace WorkDocs
649 } // namespace Aws
650