AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserIdentityInfo.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
40 {
41 public:
42 AWS_CONNECT_API UserIdentityInfo();
43 AWS_CONNECT_API UserIdentityInfo(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetFirstName() const{ return m_firstName; }
54 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
55 inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
56 inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
57 inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
58 inline UserIdentityInfo& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
59 inline UserIdentityInfo& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
60 inline UserIdentityInfo& WithFirstName(const char* value) { SetFirstName(value); return *this;}
62
64
68 inline const Aws::String& GetLastName() const{ return m_lastName; }
69 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
70 inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
71 inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
72 inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
73 inline UserIdentityInfo& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
74 inline UserIdentityInfo& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
75 inline UserIdentityInfo& WithLastName(const char* value) { SetLastName(value); return *this;}
77
79
83 inline const Aws::String& GetEmail() const{ return m_email; }
84 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
85 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
86 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
87 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
88 inline UserIdentityInfo& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
89 inline UserIdentityInfo& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
90 inline UserIdentityInfo& WithEmail(const char* value) { SetEmail(value); return *this;}
92
94
100 inline const Aws::String& GetSecondaryEmail() const{ return m_secondaryEmail; }
101 inline bool SecondaryEmailHasBeenSet() const { return m_secondaryEmailHasBeenSet; }
102 inline void SetSecondaryEmail(const Aws::String& value) { m_secondaryEmailHasBeenSet = true; m_secondaryEmail = value; }
103 inline void SetSecondaryEmail(Aws::String&& value) { m_secondaryEmailHasBeenSet = true; m_secondaryEmail = std::move(value); }
104 inline void SetSecondaryEmail(const char* value) { m_secondaryEmailHasBeenSet = true; m_secondaryEmail.assign(value); }
105 inline UserIdentityInfo& WithSecondaryEmail(const Aws::String& value) { SetSecondaryEmail(value); return *this;}
106 inline UserIdentityInfo& WithSecondaryEmail(Aws::String&& value) { SetSecondaryEmail(std::move(value)); return *this;}
107 inline UserIdentityInfo& WithSecondaryEmail(const char* value) { SetSecondaryEmail(value); return *this;}
109
111
114 inline const Aws::String& GetMobile() const{ return m_mobile; }
115 inline bool MobileHasBeenSet() const { return m_mobileHasBeenSet; }
116 inline void SetMobile(const Aws::String& value) { m_mobileHasBeenSet = true; m_mobile = value; }
117 inline void SetMobile(Aws::String&& value) { m_mobileHasBeenSet = true; m_mobile = std::move(value); }
118 inline void SetMobile(const char* value) { m_mobileHasBeenSet = true; m_mobile.assign(value); }
119 inline UserIdentityInfo& WithMobile(const Aws::String& value) { SetMobile(value); return *this;}
120 inline UserIdentityInfo& WithMobile(Aws::String&& value) { SetMobile(std::move(value)); return *this;}
121 inline UserIdentityInfo& WithMobile(const char* value) { SetMobile(value); return *this;}
123 private:
124
125 Aws::String m_firstName;
126 bool m_firstNameHasBeenSet = false;
127
128 Aws::String m_lastName;
129 bool m_lastNameHasBeenSet = false;
130
131 Aws::String m_email;
132 bool m_emailHasBeenSet = false;
133
134 Aws::String m_secondaryEmail;
135 bool m_secondaryEmailHasBeenSet = false;
136
137 Aws::String m_mobile;
138 bool m_mobileHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Connect
143} // namespace Aws
AWS_CONNECT_API UserIdentityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
UserIdentityInfo & WithSecondaryEmail(const Aws::String &value)
UserIdentityInfo & WithMobile(Aws::String &&value)
UserIdentityInfo & WithFirstName(Aws::String &&value)
UserIdentityInfo & WithSecondaryEmail(Aws::String &&value)
void SetEmail(const Aws::String &value)
void SetLastName(Aws::String &&value)
const Aws::String & GetMobile() const
UserIdentityInfo & WithLastName(Aws::String &&value)
UserIdentityInfo & WithFirstName(const Aws::String &value)
const Aws::String & GetEmail() const
UserIdentityInfo & WithEmail(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMobile(const Aws::String &value)
UserIdentityInfo & WithLastName(const Aws::String &value)
UserIdentityInfo & WithFirstName(const char *value)
void SetSecondaryEmail(Aws::String &&value)
const Aws::String & GetLastName() const
UserIdentityInfo & WithSecondaryEmail(const char *value)
UserIdentityInfo & WithMobile(const Aws::String &value)
void SetSecondaryEmail(const Aws::String &value)
void SetFirstName(Aws::String &&value)
UserIdentityInfo & WithEmail(const char *value)
void SetFirstName(const Aws::String &value)
UserIdentityInfo & WithMobile(const char *value)
void SetLastName(const Aws::String &value)
UserIdentityInfo & WithLastName(const char *value)
const Aws::String & GetSecondaryEmail() const
UserIdentityInfo & WithEmail(Aws::String &&value)
void SetSecondaryEmail(const char *value)
const Aws::String & GetFirstName() const
AWS_CONNECT_API UserIdentityInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue