/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the metadata of the user.See Also:
AWS
* API Reference
The ID of the user.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the user.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the user.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the user.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the user.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the user.
*/ inline UserMetadata& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the user.
*/ inline UserMetadata& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the user.
*/ inline UserMetadata& WithId(const char* value) { SetId(value); return *this;} /** *The name of the user.
*/ inline const Aws::String& GetUsername() const{ return m_username; } /** *The name of the user.
*/ inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } /** *The name of the user.
*/ inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } /** *The name of the user.
*/ inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } /** *The name of the user.
*/ inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } /** *The name of the user.
*/ inline UserMetadata& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} /** *The name of the user.
*/ inline UserMetadata& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} /** *The name of the user.
*/ inline UserMetadata& WithUsername(const char* value) { SetUsername(value); return *this;} /** *The given name of the user before a rename operation.
*/ inline const Aws::String& GetGivenName() const{ return m_givenName; } /** *The given name of the user before a rename operation.
*/ inline bool GivenNameHasBeenSet() const { return m_givenNameHasBeenSet; } /** *The given name of the user before a rename operation.
*/ inline void SetGivenName(const Aws::String& value) { m_givenNameHasBeenSet = true; m_givenName = value; } /** *The given name of the user before a rename operation.
*/ inline void SetGivenName(Aws::String&& value) { m_givenNameHasBeenSet = true; m_givenName = std::move(value); } /** *The given name of the user before a rename operation.
*/ inline void SetGivenName(const char* value) { m_givenNameHasBeenSet = true; m_givenName.assign(value); } /** *The given name of the user before a rename operation.
*/ inline UserMetadata& WithGivenName(const Aws::String& value) { SetGivenName(value); return *this;} /** *The given name of the user before a rename operation.
*/ inline UserMetadata& WithGivenName(Aws::String&& value) { SetGivenName(std::move(value)); return *this;} /** *The given name of the user before a rename operation.
*/ inline UserMetadata& WithGivenName(const char* value) { SetGivenName(value); return *this;} /** *The surname of the user.
*/ inline const Aws::String& GetSurname() const{ return m_surname; } /** *The surname of the user.
*/ inline bool SurnameHasBeenSet() const { return m_surnameHasBeenSet; } /** *The surname of the user.
*/ inline void SetSurname(const Aws::String& value) { m_surnameHasBeenSet = true; m_surname = value; } /** *The surname of the user.
*/ inline void SetSurname(Aws::String&& value) { m_surnameHasBeenSet = true; m_surname = std::move(value); } /** *The surname of the user.
*/ inline void SetSurname(const char* value) { m_surnameHasBeenSet = true; m_surname.assign(value); } /** *The surname of the user.
*/ inline UserMetadata& WithSurname(const Aws::String& value) { SetSurname(value); return *this;} /** *The surname of the user.
*/ inline UserMetadata& WithSurname(Aws::String&& value) { SetSurname(std::move(value)); return *this;} /** *The surname of the user.
*/ inline UserMetadata& WithSurname(const char* value) { SetSurname(value); return *this;} /** *The email address of the user.
*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** *The email address of the user.
*/ inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } /** *The email address of the user.
*/ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** *The email address of the user.
*/ inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); } /** *The email address of the user.
*/ inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); } /** *The email address of the user.
*/ inline UserMetadata& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** *The email address of the user.
*/ inline UserMetadata& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** *The email address of the user.
*/ inline UserMetadata& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_username; bool m_usernameHasBeenSet = false; Aws::String m_givenName; bool m_givenNameHasBeenSet = false; Aws::String m_surname; bool m_surnameHasBeenSet = false; Aws::String m_emailAddress; bool m_emailAddressHasBeenSet = false; }; } // namespace Model } // namespace WorkDocs } // namespace Aws