7#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace-data/model/UserStatus.h>
10#include <aws/finspace-data/model/UserType.h>
11#include <aws/finspace-data/model/ApiAccess.h>
37 AWS_FINSPACEDATA_API
User() =
default;
49 template<
typename UserIdT = Aws::String>
50 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
51 template<
typename UserIdT = Aws::String>
74 template<
typename FirstNameT = Aws::String>
75 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet =
true; m_firstName = std::forward<FirstNameT>(value); }
76 template<
typename FirstNameT = Aws::String>
86 template<
typename LastNameT = Aws::String>
87 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet =
true; m_lastName = std::forward<LastNameT>(value); }
88 template<
typename LastNameT = Aws::String>
99 template<
typename EmailAddressT = Aws::String>
100 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet =
true; m_emailAddress = std::forward<EmailAddressT>(value); }
101 template<
typename EmailAddressT = Aws::String>
143 template<
typename ApiAccessPrincipalArnT = Aws::String>
144 void SetApiAccessPrincipalArn(ApiAccessPrincipalArnT&& value) { m_apiAccessPrincipalArnHasBeenSet =
true; m_apiAccessPrincipalArn = std::forward<ApiAccessPrincipalArnT>(value); }
145 template<
typename ApiAccessPrincipalArnT = Aws::String>
156 inline void SetCreateTime(
long long value) { m_createTimeHasBeenSet =
true; m_createTime = value; }
167 inline void SetLastEnabledTime(
long long value) { m_lastEnabledTimeHasBeenSet =
true; m_lastEnabledTime = value; }
178 inline void SetLastDisabledTime(
long long value) { m_lastDisabledTimeHasBeenSet =
true; m_lastDisabledTime = value; }
189 inline void SetLastModifiedTime(
long long value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = value; }
200 inline void SetLastLoginTime(
long long value) { m_lastLoginTimeHasBeenSet =
true; m_lastLoginTime = value; }
206 bool m_userIdHasBeenSet =
false;
209 bool m_statusHasBeenSet =
false;
212 bool m_firstNameHasBeenSet =
false;
215 bool m_lastNameHasBeenSet =
false;
218 bool m_emailAddressHasBeenSet =
false;
221 bool m_typeHasBeenSet =
false;
224 bool m_apiAccessHasBeenSet =
false;
227 bool m_apiAccessPrincipalArnHasBeenSet =
false;
229 long long m_createTime{0};
230 bool m_createTimeHasBeenSet =
false;
232 long long m_lastEnabledTime{0};
233 bool m_lastEnabledTimeHasBeenSet =
false;
235 long long m_lastDisabledTime{0};
236 bool m_lastDisabledTimeHasBeenSet =
false;
238 long long m_lastModifiedTime{0};
239 bool m_lastModifiedTimeHasBeenSet =
false;
241 long long m_lastLoginTime{0};
242 bool m_lastLoginTimeHasBeenSet =
false;
void SetLastModifiedTime(long long value)
long long GetLastEnabledTime() const
User & WithStatus(UserStatus value)
const Aws::String & GetFirstName() const
User & WithUserId(UserIdT &&value)
void SetFirstName(FirstNameT &&value)
const Aws::String & GetLastName() const
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
User & WithLastDisabledTime(long long value)
User & WithType(UserType value)
User & WithLastLoginTime(long long value)
void SetLastLoginTime(long long value)
bool StatusHasBeenSet() const
void SetApiAccess(ApiAccess value)
bool LastNameHasBeenSet() const
const Aws::String & GetApiAccessPrincipalArn() const
long long GetLastDisabledTime() const
UserStatus GetStatus() const
const Aws::String & GetUserId() const
User & WithCreateTime(long long value)
User & WithLastName(LastNameT &&value)
void SetLastName(LastNameT &&value)
User & WithFirstName(FirstNameT &&value)
User & WithLastEnabledTime(long long value)
AWS_FINSPACEDATA_API User(Aws::Utils::Json::JsonView jsonValue)
long long GetLastModifiedTime() const
void SetType(UserType value)
const Aws::String & GetEmailAddress() const
bool FirstNameHasBeenSet() const
bool ApiAccessPrincipalArnHasBeenSet() const
ApiAccess GetApiAccess() const
User & WithEmailAddress(EmailAddressT &&value)
bool LastEnabledTimeHasBeenSet() const
bool LastDisabledTimeHasBeenSet() const
AWS_FINSPACEDATA_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACEDATA_API User()=default
bool LastModifiedTimeHasBeenSet() const
User & WithApiAccess(ApiAccess value)
long long GetLastLoginTime() const
User & WithLastModifiedTime(long long value)
User & WithApiAccessPrincipalArn(ApiAccessPrincipalArnT &&value)
bool ApiAccessHasBeenSet() const
bool EmailAddressHasBeenSet() const
bool CreateTimeHasBeenSet() const
long long GetCreateTime() const
void SetApiAccessPrincipalArn(ApiAccessPrincipalArnT &&value)
void SetEmailAddress(EmailAddressT &&value)
void SetLastEnabledTime(long long value)
bool TypeHasBeenSet() const
void SetStatus(UserStatus value)
bool UserIdHasBeenSet() const
void SetCreateTime(long long value)
void SetUserId(UserIdT &&value)
bool LastLoginTimeHasBeenSet() const
void SetLastDisabledTime(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue