7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/appstream/model/AuthenticationType.h>
36 AWS_APPSTREAM_API
User() =
default;
48 template<
typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
50 template<
typename ArnT = Aws::String>
61 template<
typename UserNameT = Aws::String>
62 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
63 template<
typename UserNameT = Aws::String>
73 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
88 template<
typename StatusT = Aws::String>
89 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
90 template<
typename StatusT = Aws::String>
100 template<
typename FirstNameT = Aws::String>
101 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet =
true; m_firstName = std::forward<FirstNameT>(value); }
102 template<
typename FirstNameT = Aws::String>
112 template<
typename LastNameT = Aws::String>
113 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet =
true; m_lastName = std::forward<LastNameT>(value); }
114 template<
typename LastNameT = Aws::String>
124 template<
typename CreatedTimeT = Aws::Utils::DateTime>
125 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
126 template<
typename CreatedTimeT = Aws::Utils::DateTime>
142 bool m_arnHasBeenSet =
false;
145 bool m_userNameHasBeenSet =
false;
147 bool m_enabled{
false};
148 bool m_enabledHasBeenSet =
false;
151 bool m_statusHasBeenSet =
false;
154 bool m_firstNameHasBeenSet =
false;
157 bool m_lastNameHasBeenSet =
false;
160 bool m_createdTimeHasBeenSet =
false;
163 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