AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserIdentityInfoLite.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECT_API UserIdentityInfoLite();
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetFirstName() const{ return m_firstName; }
45 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
46 inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
47 inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
48 inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
49 inline UserIdentityInfoLite& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
50 inline UserIdentityInfoLite& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
51 inline UserIdentityInfoLite& WithFirstName(const char* value) { SetFirstName(value); return *this;}
53
55
58 inline const Aws::String& GetLastName() const{ return m_lastName; }
59 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
60 inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
61 inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
62 inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
63 inline UserIdentityInfoLite& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
64 inline UserIdentityInfoLite& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
65 inline UserIdentityInfoLite& WithLastName(const char* value) { SetLastName(value); return *this;}
67 private:
68
69 Aws::String m_firstName;
70 bool m_firstNameHasBeenSet = false;
71
72 Aws::String m_lastName;
73 bool m_lastNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Connect
78} // namespace Aws
AWS_CONNECT_API UserIdentityInfoLite & operator=(Aws::Utils::Json::JsonView jsonValue)
UserIdentityInfoLite & WithFirstName(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UserIdentityInfoLite & WithLastName(Aws::String &&value)
UserIdentityInfoLite & WithFirstName(Aws::String &&value)
void SetLastName(const Aws::String &value)
UserIdentityInfoLite & WithLastName(const Aws::String &value)
UserIdentityInfoLite & WithFirstName(const char *value)
AWS_CONNECT_API UserIdentityInfoLite(Aws::Utils::Json::JsonView jsonValue)
UserIdentityInfoLite & WithLastName(const char *value)
void SetFirstName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue