7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wickr/Wickr_EXPORTS.h>
33 AWS_WICKR_API
User() =
default;
44 template <
typename UserIdT = Aws::String>
46 m_userIdHasBeenSet =
true;
47 m_userId = std::forward<UserIdT>(value);
49 template <
typename UserIdT = Aws::String>
62 template <
typename FirstNameT = Aws::String>
64 m_firstNameHasBeenSet =
true;
65 m_firstName = std::forward<FirstNameT>(value);
67 template <
typename FirstNameT = Aws::String>
80 template <
typename LastNameT = Aws::String>
82 m_lastNameHasBeenSet =
true;
83 m_lastName = std::forward<LastNameT>(value);
85 template <
typename LastNameT = Aws::String>
99 template <
typename UsernameT = Aws::String>
101 m_usernameHasBeenSet =
true;
102 m_username = std::forward<UsernameT>(value);
104 template <
typename UsernameT = Aws::String>
118 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
120 m_securityGroupsHasBeenSet =
true;
121 m_securityGroups = std::forward<SecurityGroupsT>(value);
123 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
128 template <
typename SecurityGroupsT = Aws::String>
130 m_securityGroupsHasBeenSet =
true;
131 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
143 m_isAdminHasBeenSet =
true;
160 m_suspendedHasBeenSet =
true;
176 m_statusHasBeenSet =
true;
193 m_otpEnabledHasBeenSet =
true;
194 m_otpEnabled = value;
209 template <
typename ScimIdT = Aws::String>
211 m_scimIdHasBeenSet =
true;
212 m_scimId = std::forward<ScimIdT>(value);
214 template <
typename ScimIdT = Aws::String>
227 template <
typename TypeT = Aws::String>
229 m_typeHasBeenSet =
true;
230 m_type = std::forward<TypeT>(value);
232 template <
typename TypeT = Aws::String>
234 SetType(std::forward<TypeT>(value));
245 template <
typename CellT = Aws::String>
247 m_cellHasBeenSet =
true;
248 m_cell = std::forward<CellT>(value);
250 template <
typename CellT = Aws::String>
252 SetCell(std::forward<CellT>(value));
263 template <
typename CountryCodeT = Aws::String>
265 m_countryCodeHasBeenSet =
true;
266 m_countryCode = std::forward<CountryCodeT>(value);
268 template <
typename CountryCodeT = Aws::String>
283 m_challengeFailuresHasBeenSet =
true;
284 m_challengeFailures = value;
300 m_isInviteExpiredHasBeenSet =
true;
301 m_isInviteExpired = value;
317 m_isUserHasBeenSet =
true;
333 template <
typename InviteCodeT = Aws::String>
335 m_inviteCodeHasBeenSet =
true;
336 m_inviteCode = std::forward<InviteCodeT>(value);
338 template <
typename InviteCodeT = Aws::String>
352 m_codeValidationHasBeenSet =
true;
353 m_codeValidation = value;
367 template <
typename UnameT = Aws::String>
369 m_unameHasBeenSet =
true;
370 m_uname = std::forward<UnameT>(value);
372 template <
typename UnameT = Aws::String>
374 SetUname(std::forward<UnameT>(value));
389 bool m_isAdmin{
false};
391 bool m_suspended{
false};
395 bool m_otpEnabled{
false};
405 int m_challengeFailures{0};
407 bool m_isInviteExpired{
false};
409 bool m_isUser{
false};
413 bool m_codeValidation{
false};
416 bool m_userIdHasBeenSet =
false;
417 bool m_firstNameHasBeenSet =
false;
418 bool m_lastNameHasBeenSet =
false;
419 bool m_usernameHasBeenSet =
false;
420 bool m_securityGroupsHasBeenSet =
false;
421 bool m_isAdminHasBeenSet =
false;
422 bool m_suspendedHasBeenSet =
false;
423 bool m_statusHasBeenSet =
false;
424 bool m_otpEnabledHasBeenSet =
false;
425 bool m_scimIdHasBeenSet =
false;
426 bool m_typeHasBeenSet =
false;
427 bool m_cellHasBeenSet =
false;
428 bool m_countryCodeHasBeenSet =
false;
429 bool m_challengeFailuresHasBeenSet =
false;
430 bool m_isInviteExpiredHasBeenSet =
false;
431 bool m_isUserHasBeenSet =
false;
432 bool m_inviteCodeHasBeenSet =
false;
433 bool m_codeValidationHasBeenSet =
false;
434 bool m_unameHasBeenSet =
false;
bool StatusHasBeenSet() const
void SetCountryCode(CountryCodeT &&value)
User & WithSecurityGroups(SecurityGroupsT &&value)
User & WithCell(CellT &&value)
const Aws::String & GetFirstName() const
int GetChallengeFailures() const
bool FirstNameHasBeenSet() const
void SetType(TypeT &&value)
bool CellHasBeenSet() const
User & AddSecurityGroups(SecurityGroupsT &&value)
bool GetOtpEnabled() const
void SetFirstName(FirstNameT &&value)
User & WithUname(UnameT &&value)
bool CodeValidationHasBeenSet() const
void SetSuspended(bool value)
const Aws::String & GetUname() const
void SetUname(UnameT &&value)
bool UnameHasBeenSet() const
User & WithUsername(UsernameT &&value)
void SetUsername(UsernameT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
const Aws::String & GetInviteCode() const
void SetIsInviteExpired(bool value)
void SetLastName(LastNameT &&value)
User & WithSuspended(bool value)
bool UsernameHasBeenSet() const
void SetCodeValidation(bool value)
AWS_WICKR_API User(Aws::Utils::Json::JsonView jsonValue)
bool LastNameHasBeenSet() const
void SetIsAdmin(bool value)
const Aws::String & GetCountryCode() const
const Aws::String & GetType() const
User & WithCodeValidation(bool value)
const Aws::String & GetUsername() const
const Aws::String & GetUserId() const
void SetStatus(int value)
bool SuspendedHasBeenSet() const
bool InviteCodeHasBeenSet() const
bool OtpEnabledHasBeenSet() const
bool TypeHasBeenSet() const
void SetCell(CellT &&value)
bool SecurityGroupsHasBeenSet() const
User & WithType(TypeT &&value)
User & WithIsUser(bool value)
bool CountryCodeHasBeenSet() const
bool GetSuspended() const
void SetScimId(ScimIdT &&value)
void SetOtpEnabled(bool value)
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIsUser(bool value)
bool GetIsInviteExpired() const
bool UserIdHasBeenSet() const
User & WithStatus(int value)
bool IsAdminHasBeenSet() const
User & WithChallengeFailures(int value)
User & WithScimId(ScimIdT &&value)
const Aws::String & GetCell() const
User & WithInviteCode(InviteCodeT &&value)
bool ScimIdHasBeenSet() const
bool IsUserHasBeenSet() const
void SetChallengeFailures(int value)
const Aws::String & GetScimId() const
AWS_WICKR_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroups(SecurityGroupsT &&value)
User & WithUserId(UserIdT &&value)
AWS_WICKR_API User()=default
User & WithIsInviteExpired(bool value)
bool GetCodeValidation() const
void SetInviteCode(InviteCodeT &&value)
User & WithOtpEnabled(bool value)
User & WithLastName(LastNameT &&value)
void SetUserId(UserIdT &&value)
User & WithIsAdmin(bool value)
const Aws::String & GetLastName() const
User & WithCountryCode(CountryCodeT &&value)
User & WithFirstName(FirstNameT &&value)
bool ChallengeFailuresHasBeenSet() const
bool IsInviteExpiredHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue