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();
51 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
80 inline void SetFirstName(
const char* value) { m_firstNameHasBeenSet =
true; m_firstName.assign(value); }
94 inline void SetLastName(
const char* value) { m_lastNameHasBeenSet =
true; m_lastName.assign(value); }
109 inline void SetEmailAddress(
const char* value) { m_emailAddressHasBeenSet =
true; m_emailAddress.assign(value); }
125 inline void SetType(
const UserType& value) { m_typeHasBeenSet =
true; m_type = value; }
126 inline void SetType(
UserType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
159 inline void SetApiAccessPrincipalArn(
const char* value) { m_apiAccessPrincipalArnHasBeenSet =
true; m_apiAccessPrincipalArn.assign(value); }
172 inline void SetCreateTime(
long long value) { m_createTimeHasBeenSet =
true; m_createTime = value; }
183 inline void SetLastEnabledTime(
long long value) { m_lastEnabledTimeHasBeenSet =
true; m_lastEnabledTime = value; }
194 inline void SetLastDisabledTime(
long long value) { m_lastDisabledTimeHasBeenSet =
true; m_lastDisabledTime = value; }
205 inline void SetLastModifiedTime(
long long value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = value; }
216 inline void SetLastLoginTime(
long long value) { m_lastLoginTimeHasBeenSet =
true; m_lastLoginTime = value; }
222 bool m_userIdHasBeenSet =
false;
225 bool m_statusHasBeenSet =
false;
228 bool m_firstNameHasBeenSet =
false;
231 bool m_lastNameHasBeenSet =
false;
234 bool m_emailAddressHasBeenSet =
false;
237 bool m_typeHasBeenSet =
false;
240 bool m_apiAccessHasBeenSet =
false;
243 bool m_apiAccessPrincipalArnHasBeenSet =
false;
245 long long m_createTime;
246 bool m_createTimeHasBeenSet =
false;
248 long long m_lastEnabledTime;
249 bool m_lastEnabledTimeHasBeenSet =
false;
251 long long m_lastDisabledTime;
252 bool m_lastDisabledTimeHasBeenSet =
false;
254 long long m_lastModifiedTime;
255 bool m_lastModifiedTimeHasBeenSet =
false;
257 long long m_lastLoginTime;
258 bool m_lastLoginTimeHasBeenSet =
false;
void SetFirstName(const Aws::String &value)
void SetEmailAddress(const char *value)
void SetLastModifiedTime(long long value)
void SetUserId(Aws::String &&value)
long long GetLastEnabledTime() const
User & WithStatus(const UserStatus &value)
void SetApiAccess(const ApiAccess &value)
User & WithEmailAddress(Aws::String &&value)
const Aws::String & GetFirstName() const
void SetLastName(Aws::String &&value)
User & WithApiAccessPrincipalArn(const char *value)
const UserStatus & GetStatus() const
User & WithFirstName(const Aws::String &value)
const Aws::String & GetLastName() const
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(UserType &&value)
User & WithLastDisabledTime(long long value)
User & WithStatus(UserStatus &&value)
User & WithLastLoginTime(long long value)
void SetLastLoginTime(long long value)
void SetApiAccessPrincipalArn(Aws::String &&value)
bool StatusHasBeenSet() const
User & WithApiAccessPrincipalArn(Aws::String &&value)
User & WithUserId(Aws::String &&value)
void SetLastName(const Aws::String &value)
bool LastNameHasBeenSet() const
const Aws::String & GetApiAccessPrincipalArn() const
long long GetLastDisabledTime() const
User & WithType(const UserType &value)
const Aws::String & GetUserId() const
User & WithCreateTime(long long value)
const ApiAccess & GetApiAccess() const
void SetUserId(const char *value)
void SetEmailAddress(const Aws::String &value)
void SetApiAccessPrincipalArn(const char *value)
void SetStatus(const UserStatus &value)
User & WithLastEnabledTime(long long value)
void SetType(const UserType &value)
AWS_FINSPACEDATA_API User(Aws::Utils::Json::JsonView jsonValue)
void SetUserId(const Aws::String &value)
void SetLastName(const char *value)
long long GetLastModifiedTime() const
User & WithApiAccessPrincipalArn(const Aws::String &value)
void SetEmailAddress(Aws::String &&value)
const Aws::String & GetEmailAddress() const
bool FirstNameHasBeenSet() const
void SetApiAccessPrincipalArn(const Aws::String &value)
bool ApiAccessPrincipalArnHasBeenSet() const
User & WithEmailAddress(const char *value)
void SetFirstName(const char *value)
User & WithLastName(const Aws::String &value)
const UserType & GetType() const
User & WithApiAccess(ApiAccess &&value)
AWS_FINSPACEDATA_API User()
User & WithApiAccess(const ApiAccess &value)
User & WithUserId(const char *value)
User & WithUserId(const Aws::String &value)
bool LastEnabledTimeHasBeenSet() const
User & WithFirstName(Aws::String &&value)
bool LastDisabledTimeHasBeenSet() const
User & WithLastName(Aws::String &&value)
AWS_FINSPACEDATA_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
User & WithType(UserType &&value)
User & WithFirstName(const char *value)
void SetFirstName(Aws::String &&value)
bool LastModifiedTimeHasBeenSet() const
User & WithLastName(const char *value)
void SetStatus(UserStatus &&value)
long long GetLastLoginTime() const
User & WithLastModifiedTime(long long value)
bool ApiAccessHasBeenSet() const
bool EmailAddressHasBeenSet() const
void SetApiAccess(ApiAccess &&value)
bool CreateTimeHasBeenSet() const
long long GetCreateTime() const
void SetLastEnabledTime(long long value)
bool TypeHasBeenSet() const
bool UserIdHasBeenSet() const
void SetCreateTime(long long value)
User & WithEmailAddress(const Aws::String &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