/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AlexaForBusiness { namespace Model { /** *

Information related to a user.

See Also:

AWS * API Reference

*/ class UserData { public: AWS_ALEXAFORBUSINESS_API UserData(); AWS_ALEXAFORBUSINESS_API UserData(Aws::Utils::Json::JsonView jsonValue); AWS_ALEXAFORBUSINESS_API UserData& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ALEXAFORBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ARN of a user.

*/ inline const Aws::String& GetUserArn() const{ return m_userArn; } /** *

The ARN of a user.

*/ inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; } /** *

The ARN of a user.

*/ inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; } /** *

The ARN of a user.

*/ inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); } /** *

The ARN of a user.

*/ inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); } /** *

The ARN of a user.

*/ inline UserData& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;} /** *

The ARN of a user.

*/ inline UserData& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;} /** *

The ARN of a user.

*/ inline UserData& WithUserArn(const char* value) { SetUserArn(value); return *this;} /** *

The first name of a user.

*/ inline const Aws::String& GetFirstName() const{ return m_firstName; } /** *

The first name of a user.

*/ inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; } /** *

The first name of a user.

*/ inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; } /** *

The first name of a user.

*/ inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); } /** *

The first name of a user.

*/ inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); } /** *

The first name of a user.

*/ inline UserData& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;} /** *

The first name of a user.

*/ inline UserData& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;} /** *

The first name of a user.

*/ inline UserData& WithFirstName(const char* value) { SetFirstName(value); return *this;} /** *

The last name of a user.

*/ inline const Aws::String& GetLastName() const{ return m_lastName; } /** *

The last name of a user.

*/ inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; } /** *

The last name of a user.

*/ inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; } /** *

The last name of a user.

*/ inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); } /** *

The last name of a user.

*/ inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); } /** *

The last name of a user.

*/ inline UserData& WithLastName(const Aws::String& value) { SetLastName(value); return *this;} /** *

The last name of a user.

*/ inline UserData& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;} /** *

The last name of a user.

*/ inline UserData& WithLastName(const char* value) { SetLastName(value); return *this;} /** *

The email of a user.

*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *

The email of a user.

*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *

The email of a user.

*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *

The email of a user.

*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *

The email of a user.

*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *

The email of a user.

*/ inline UserData& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *

The email of a user.

*/ inline UserData& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *

The email of a user.

*/ inline UserData& WithEmail(const char* value) { SetEmail(value); return *this;} /** *

The enrollment status of a user.

*/ inline const EnrollmentStatus& GetEnrollmentStatus() const{ return m_enrollmentStatus; } /** *

The enrollment status of a user.

*/ inline bool EnrollmentStatusHasBeenSet() const { return m_enrollmentStatusHasBeenSet; } /** *

The enrollment status of a user.

*/ inline void SetEnrollmentStatus(const EnrollmentStatus& value) { m_enrollmentStatusHasBeenSet = true; m_enrollmentStatus = value; } /** *

The enrollment status of a user.

*/ inline void SetEnrollmentStatus(EnrollmentStatus&& value) { m_enrollmentStatusHasBeenSet = true; m_enrollmentStatus = std::move(value); } /** *

The enrollment status of a user.

*/ inline UserData& WithEnrollmentStatus(const EnrollmentStatus& value) { SetEnrollmentStatus(value); return *this;} /** *

The enrollment status of a user.

*/ inline UserData& WithEnrollmentStatus(EnrollmentStatus&& value) { SetEnrollmentStatus(std::move(value)); return *this;} /** *

The enrollment ARN of a user.

*/ inline const Aws::String& GetEnrollmentId() const{ return m_enrollmentId; } /** *

The enrollment ARN of a user.

*/ inline bool EnrollmentIdHasBeenSet() const { return m_enrollmentIdHasBeenSet; } /** *

The enrollment ARN of a user.

*/ inline void SetEnrollmentId(const Aws::String& value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId = value; } /** *

The enrollment ARN of a user.

*/ inline void SetEnrollmentId(Aws::String&& value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId = std::move(value); } /** *

The enrollment ARN of a user.

*/ inline void SetEnrollmentId(const char* value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId.assign(value); } /** *

The enrollment ARN of a user.

*/ inline UserData& WithEnrollmentId(const Aws::String& value) { SetEnrollmentId(value); return *this;} /** *

The enrollment ARN of a user.

*/ inline UserData& WithEnrollmentId(Aws::String&& value) { SetEnrollmentId(std::move(value)); return *this;} /** *

The enrollment ARN of a user.

*/ inline UserData& WithEnrollmentId(const char* value) { SetEnrollmentId(value); return *this;} private: Aws::String m_userArn; bool m_userArnHasBeenSet = false; Aws::String m_firstName; bool m_firstNameHasBeenSet = false; Aws::String m_lastName; bool m_lastNameHasBeenSet = false; Aws::String m_email; bool m_emailHasBeenSet = false; EnrollmentStatus m_enrollmentStatus; bool m_enrollmentStatusHasBeenSet = false; Aws::String m_enrollmentId; bool m_enrollmentIdHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws