AWS SDK for C++  1.9.153
AWS SDK for C++
UserIdentityInfo.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetFirstName() const{ return m_firstName; }
46 
51  inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
52 
57  inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
58 
63  inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
64 
69  inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
70 
75  inline UserIdentityInfo& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
76 
81  inline UserIdentityInfo& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
82 
87  inline UserIdentityInfo& WithFirstName(const char* value) { SetFirstName(value); return *this;}
88 
89 
94  inline const Aws::String& GetLastName() const{ return m_lastName; }
95 
100  inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
101 
106  inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
107 
112  inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
113 
118  inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
119 
124  inline UserIdentityInfo& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
125 
130  inline UserIdentityInfo& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
131 
136  inline UserIdentityInfo& WithLastName(const char* value) { SetLastName(value); return *this;}
137 
138 
143  inline const Aws::String& GetEmail() const{ return m_email; }
144 
149  inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
150 
155  inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
156 
161  inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
162 
167  inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
168 
173  inline UserIdentityInfo& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
174 
179  inline UserIdentityInfo& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
180 
185  inline UserIdentityInfo& WithEmail(const char* value) { SetEmail(value); return *this;}
186 
187  private:
188 
189  Aws::String m_firstName;
190  bool m_firstNameHasBeenSet;
191 
192  Aws::String m_lastName;
193  bool m_lastNameHasBeenSet;
194 
195  Aws::String m_email;
196  bool m_emailHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace Connect
201 } // namespace Aws
Aws::Connect::Model::UserIdentityInfo::SetEmail
void SetEmail(const Aws::String &value)
Definition: UserIdentityInfo.h:155
Aws::Connect::Model::UserIdentityInfo::operator=
UserIdentityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::UserIdentityInfo::GetLastName
const Aws::String & GetLastName() const
Definition: UserIdentityInfo.h:94
Aws::Connect::Model::UserIdentityInfo::SetLastName
void SetLastName(Aws::String &&value)
Definition: UserIdentityInfo.h:112
Aws::Connect::Model::UserIdentityInfo::UserIdentityInfo
UserIdentityInfo()
Aws::Connect::Model::UserIdentityInfo::WithFirstName
UserIdentityInfo & WithFirstName(const char *value)
Definition: UserIdentityInfo.h:87
Aws::Connect::Model::UserIdentityInfo::SetEmail
void SetEmail(const char *value)
Definition: UserIdentityInfo.h:167
Aws::Connect::Model::UserIdentityInfo::EmailHasBeenSet
bool EmailHasBeenSet() const
Definition: UserIdentityInfo.h:149
Aws::Connect::Model::UserIdentityInfo::SetFirstName
void SetFirstName(const Aws::String &value)
Definition: UserIdentityInfo.h:57
Aws::Connect::Model::UserIdentityInfo::GetEmail
const Aws::String & GetEmail() const
Definition: UserIdentityInfo.h:143
Aws::Connect::Model::UserIdentityInfo::GetFirstName
const Aws::String & GetFirstName() const
Definition: UserIdentityInfo.h:45
Aws::Connect::Model::UserIdentityInfo
Definition: UserIdentityInfo.h:33
Aws::Connect::Model::UserIdentityInfo::LastNameHasBeenSet
bool LastNameHasBeenSet() const
Definition: UserIdentityInfo.h:100
Aws::Connect::Model::UserIdentityInfo::UserIdentityInfo
UserIdentityInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::UserIdentityInfo::WithEmail
UserIdentityInfo & WithEmail(const Aws::String &value)
Definition: UserIdentityInfo.h:173
Aws::Connect::Model::UserIdentityInfo::WithEmail
UserIdentityInfo & WithEmail(const char *value)
Definition: UserIdentityInfo.h:185
Aws::Connect::Model::UserIdentityInfo::SetEmail
void SetEmail(Aws::String &&value)
Definition: UserIdentityInfo.h:161
Aws::Connect::Model::UserIdentityInfo::SetFirstName
void SetFirstName(Aws::String &&value)
Definition: UserIdentityInfo.h:63
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UserIdentityInfo::SetFirstName
void SetFirstName(const char *value)
Definition: UserIdentityInfo.h:69
Aws::Connect::Model::UserIdentityInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::UserIdentityInfo::WithLastName
UserIdentityInfo & WithLastName(const char *value)
Definition: UserIdentityInfo.h:136
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UserIdentityInfo::WithLastName
UserIdentityInfo & WithLastName(Aws::String &&value)
Definition: UserIdentityInfo.h:130
Aws::Connect::Model::UserIdentityInfo::FirstNameHasBeenSet
bool FirstNameHasBeenSet() const
Definition: UserIdentityInfo.h:51
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UserIdentityInfo::SetLastName
void SetLastName(const Aws::String &value)
Definition: UserIdentityInfo.h:106
Connect_EXPORTS.h
Aws::Connect::Model::UserIdentityInfo::WithFirstName
UserIdentityInfo & WithFirstName(const Aws::String &value)
Definition: UserIdentityInfo.h:75
Aws::Connect::Model::UserIdentityInfo::WithEmail
UserIdentityInfo & WithEmail(Aws::String &&value)
Definition: UserIdentityInfo.h:179
Aws::Connect::Model::UserIdentityInfo::WithFirstName
UserIdentityInfo & WithFirstName(Aws::String &&value)
Definition: UserIdentityInfo.h:81
Aws::Connect::Model::UserIdentityInfo::SetLastName
void SetLastName(const char *value)
Definition: UserIdentityInfo.h:118
Aws::Connect::Model::UserIdentityInfo::WithLastName
UserIdentityInfo & WithLastName(const Aws::String &value)
Definition: UserIdentityInfo.h:124