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

The user's first name and last name.

See Also:

AWS * API Reference

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

The user's first name.

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

The user's first name.

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

The user's first name.

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

The user's first name.

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

The user's first name.

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

The user's first name.

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

The user's first name.

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

The user's first name.

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

The user's last name.

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

The user's last name.

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

The user's last name.

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

The user's last name.

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

The user's last name.

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

The user's last name.

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

The user's last name.

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

The user's last name.

*/ inline UserIdentityInfoLite& WithLastName(const char* value) { SetLastName(value); return *this;} private: Aws::String m_firstName; bool m_firstNameHasBeenSet = false; Aws::String m_lastName; bool m_lastNameHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws