7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AuthenticationType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
31 AWS_APPSTREAM_API
User() =
default;
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
61 template <
typename UserNameT = Aws::String>
63 m_userNameHasBeenSet =
true;
64 m_userName = std::forward<UserNameT>(value);
66 template <
typename UserNameT = Aws::String>
80 m_enabledHasBeenSet =
true;
100 template <
typename StatusT = Aws::String>
102 m_statusHasBeenSet =
true;
103 m_status = std::forward<StatusT>(value);
105 template <
typename StatusT = Aws::String>
118 template <
typename FirstNameT = Aws::String>
120 m_firstNameHasBeenSet =
true;
121 m_firstName = std::forward<FirstNameT>(value);
123 template <
typename FirstNameT = Aws::String>
136 template <
typename LastNameT = Aws::String>
138 m_lastNameHasBeenSet =
true;
139 m_lastName = std::forward<LastNameT>(value);
141 template <
typename LastNameT = Aws::String>
154 template <
typename CreatedTimeT = Aws::Utils::DateTime>
156 m_createdTimeHasBeenSet =
true;
157 m_createdTime = std::forward<CreatedTimeT>(value);
159 template <
typename CreatedTimeT = Aws::Utils::DateTime>
173 m_authenticationTypeHasBeenSet =
true;
174 m_authenticationType = value;
186 bool m_enabled{
false};
197 bool m_arnHasBeenSet =
false;
198 bool m_userNameHasBeenSet =
false;
199 bool m_enabledHasBeenSet =
false;
200 bool m_statusHasBeenSet =
false;
201 bool m_firstNameHasBeenSet =
false;
202 bool m_lastNameHasBeenSet =
false;
203 bool m_createdTimeHasBeenSet =
false;
204 bool m_authenticationTypeHasBeenSet =
false;
const Aws::String & GetStatus() const
bool EnabledHasBeenSet() const
User & WithCreatedTime(CreatedTimeT &&value)
bool AuthenticationTypeHasBeenSet() const
void SetLastName(LastNameT &&value)
const Aws::String & GetLastName() const
User & WithFirstName(FirstNameT &&value)
void SetUserName(UserNameT &&value)
const Aws::String & GetUserName() const
User & WithLastName(LastNameT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
User & WithAuthenticationType(AuthenticationType value)
User & WithStatus(StatusT &&value)
bool LastNameHasBeenSet() const
User & WithArn(ArnT &&value)
AWS_APPSTREAM_API User()=default
bool UserNameHasBeenSet() const
bool FirstNameHasBeenSet() const
AuthenticationType GetAuthenticationType() const
void SetEnabled(bool value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
bool ArnHasBeenSet() const
bool CreatedTimeHasBeenSet() const
void SetArn(ArnT &&value)
void SetAuthenticationType(AuthenticationType value)
User & WithEnabled(bool value)
const Aws::String & GetArn() const
AWS_APPSTREAM_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFirstName() const
User & WithUserName(UserNameT &&value)
AWS_APPSTREAM_API User(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
void SetStatus(StatusT &&value)
void SetFirstName(FirstNameT &&value)
void SetCreatedTime(CreatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue