7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wickr/Wickr_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename UserIdT = Aws::String>
38 m_userIdHasBeenSet =
true;
39 m_userId = std::forward<UserIdT>(value);
41 template <
typename UserIdT = Aws::String>
53 template <
typename FirstNameT = Aws::String>
55 m_firstNameHasBeenSet =
true;
56 m_firstName = std::forward<FirstNameT>(value);
58 template <
typename FirstNameT = Aws::String>
70 template <
typename LastNameT = Aws::String>
72 m_lastNameHasBeenSet =
true;
73 m_lastName = std::forward<LastNameT>(value);
75 template <
typename LastNameT = Aws::String>
87 template <
typename UsernameT = Aws::String>
89 m_usernameHasBeenSet =
true;
90 m_username = std::forward<UsernameT>(value);
92 template <
typename UsernameT = Aws::String>
105 m_isAdminHasBeenSet =
true;
120 m_suspendedHasBeenSet =
true;
135 m_statusHasBeenSet =
true;
151 m_lastActivityHasBeenSet =
true;
152 m_lastActivity = value;
167 m_lastLoginHasBeenSet =
true;
181 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
183 m_securityGroupIdsHasBeenSet =
true;
184 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
186 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
191 template <
typename SecurityGroupIdsT = Aws::String>
193 m_securityGroupIdsHasBeenSet =
true;
194 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
202 template <
typename RequestIdT = Aws::String>
204 m_requestIdHasBeenSet =
true;
205 m_requestId = std::forward<RequestIdT>(value);
207 template <
typename RequestIdT = Aws::String>
224 bool m_isAdmin{
false};
226 bool m_suspended{
false};
230 int m_lastActivity{0};
238 bool m_userIdHasBeenSet =
false;
239 bool m_firstNameHasBeenSet =
false;
240 bool m_lastNameHasBeenSet =
false;
241 bool m_usernameHasBeenSet =
false;
242 bool m_isAdminHasBeenSet =
false;
243 bool m_suspendedHasBeenSet =
false;
244 bool m_statusHasBeenSet =
false;
245 bool m_lastActivityHasBeenSet =
false;
246 bool m_lastLoginHasBeenSet =
false;
247 bool m_securityGroupIdsHasBeenSet =
false;
248 bool m_requestIdHasBeenSet =
false;
GetUserResult & WithStatus(int value)
const Aws::String & GetLastName() const
GetUserResult & WithFirstName(FirstNameT &&value)
void SetLastActivity(int value)
AWS_WICKR_API GetUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
bool GetSuspended() const
GetUserResult & WithLastActivity(int value)
AWS_WICKR_API GetUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetUserResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
GetUserResult & WithLastName(LastNameT &&value)
void SetSuspended(bool value)
GetUserResult & WithUserId(UserIdT &&value)
void SetLastName(LastNameT &&value)
AWS_WICKR_API GetUserResult()=default
void SetRequestId(RequestIdT &&value)
void SetUserId(UserIdT &&value)
GetUserResult & WithRequestId(RequestIdT &&value)
int GetLastActivity() const
GetUserResult & WithUsername(UsernameT &&value)
GetUserResult & WithLastLogin(int value)
GetUserResult & WithSuspended(bool value)
const Aws::String & GetUserId() const
const Aws::String & GetFirstName() const
void SetStatus(int value)
void SetUsername(UsernameT &&value)
GetUserResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
GetUserResult & WithIsAdmin(bool value)
const Aws::String & GetUsername() const
void SetFirstName(FirstNameT &&value)
const Aws::String & GetRequestId() const
void SetLastLogin(int value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetIsAdmin(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue