/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a user's access to an application.See
* Also:
AWS
* API Reference
The name of the application.
*/ inline const Aws::String& GetApp() const{ return m_app; } /** *The name of the application.
*/ inline bool AppHasBeenSet() const { return m_appHasBeenSet; } /** *The name of the application.
*/ inline void SetApp(const Aws::String& value) { m_appHasBeenSet = true; m_app = value; } /** *The name of the application.
*/ inline void SetApp(Aws::String&& value) { m_appHasBeenSet = true; m_app = std::move(value); } /** *The name of the application.
*/ inline void SetApp(const char* value) { m_appHasBeenSet = true; m_app.assign(value); } /** *The name of the application.
*/ inline UserAccessResultItem& WithApp(const Aws::String& value) { SetApp(value); return *this;} /** *The name of the application.
*/ inline UserAccessResultItem& WithApp(Aws::String&& value) { SetApp(std::move(value)); return *this;} /** *The name of the application.
*/ inline UserAccessResultItem& WithApp(const char* value) { SetApp(value); return *this;} /** *The ID of the application tenant.
*/ inline const Aws::String& GetTenantId() const{ return m_tenantId; } /** *The ID of the application tenant.
*/ inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; } /** *The ID of the application tenant.
*/ inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; } /** *The ID of the application tenant.
*/ inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); } /** *The ID of the application tenant.
*/ inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); } /** *The ID of the application tenant.
*/ inline UserAccessResultItem& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;} /** *The ID of the application tenant.
*/ inline UserAccessResultItem& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;} /** *The ID of the application tenant.
*/ inline UserAccessResultItem& WithTenantId(const char* value) { SetTenantId(value); return *this;} /** *The display name of the tenant.
*/ inline const Aws::String& GetTenantDisplayName() const{ return m_tenantDisplayName; } /** *The display name of the tenant.
*/ inline bool TenantDisplayNameHasBeenSet() const { return m_tenantDisplayNameHasBeenSet; } /** *The display name of the tenant.
*/ inline void SetTenantDisplayName(const Aws::String& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = value; } /** *The display name of the tenant.
*/ inline void SetTenantDisplayName(Aws::String&& value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName = std::move(value); } /** *The display name of the tenant.
*/ inline void SetTenantDisplayName(const char* value) { m_tenantDisplayNameHasBeenSet = true; m_tenantDisplayName.assign(value); } /** *The display name of the tenant.
*/ inline UserAccessResultItem& WithTenantDisplayName(const Aws::String& value) { SetTenantDisplayName(value); return *this;} /** *The display name of the tenant.
*/ inline UserAccessResultItem& WithTenantDisplayName(Aws::String&& value) { SetTenantDisplayName(std::move(value)); return *this;} /** *The display name of the tenant.
*/ inline UserAccessResultItem& WithTenantDisplayName(const char* value) { SetTenantDisplayName(value); return *this;} /** *The unique ID of the task.
*/ inline const Aws::String& GetTaskId() const{ return m_taskId; } /** *The unique ID of the task.
*/ inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } /** *The unique ID of the task.
*/ inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } /** *The unique ID of the task.
*/ inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } /** *The unique ID of the task.
*/ inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } /** *The unique ID of the task.
*/ inline UserAccessResultItem& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} /** *The unique ID of the task.
*/ inline UserAccessResultItem& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} /** *The unique ID of the task.
*/ inline UserAccessResultItem& WithTaskId(const char* value) { SetTaskId(value); return *this;} /** *The status of the user access result item.
The following states are * possible:
IN_PROGRESS
: The user access task is in
* progress.
COMPLETED
: The user access task
* completed successfully.
FAILED
: The user access
* task failed.
EXPIRED
: The user access task
* expired.
The status of the user access result item.
The following states are * possible:
IN_PROGRESS
: The user access task is in
* progress.
COMPLETED
: The user access task
* completed successfully.
FAILED
: The user access
* task failed.
EXPIRED
: The user access task
* expired.
The status of the user access result item.
The following states are * possible:
IN_PROGRESS
: The user access task is in
* progress.
COMPLETED
: The user access task
* completed successfully.
FAILED
: The user access
* task failed.
EXPIRED
: The user access task
* expired.
The status of the user access result item.
The following states are * possible:
IN_PROGRESS
: The user access task is in
* progress.
COMPLETED
: The user access task
* completed successfully.
FAILED
: The user access
* task failed.
EXPIRED
: The user access task
* expired.
The status of the user access result item.
The following states are * possible:
IN_PROGRESS
: The user access task is in
* progress.
COMPLETED
: The user access task
* completed successfully.
FAILED
: The user access
* task failed.
EXPIRED
: The user access task
* expired.
The status of the user access result item.
The following states are * possible:
IN_PROGRESS
: The user access task is in
* progress.
COMPLETED
: The user access task
* completed successfully.
FAILED
: The user access
* task failed.
EXPIRED
: The user access task
* expired.
The email address of the target user.
*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *The email address of the target user.
*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *The email address of the target user.
*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *The email address of the target user.
*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *The email address of the target user.
*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *The email address of the target user.
*/ inline UserAccessResultItem& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *The email address of the target user.
*/ inline UserAccessResultItem& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *The email address of the target user.
*/ inline UserAccessResultItem& WithEmail(const char* value) { SetEmail(value); return *this;} /** *The unique ID of user.
*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *The unique ID of user.
*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *The unique ID of user.
*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *The unique ID of user.
*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *The unique ID of user.
*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *The unique ID of user.
*/ inline UserAccessResultItem& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *The unique ID of user.
*/ inline UserAccessResultItem& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *The unique ID of user.
*/ inline UserAccessResultItem& WithUserId(const char* value) { SetUserId(value); return *this;} /** *The full name of the user.
*/ inline const Aws::String& GetUserFullName() const{ return m_userFullName; } /** *The full name of the user.
*/ inline bool UserFullNameHasBeenSet() const { return m_userFullNameHasBeenSet; } /** *The full name of the user.
*/ inline void SetUserFullName(const Aws::String& value) { m_userFullNameHasBeenSet = true; m_userFullName = value; } /** *The full name of the user.
*/ inline void SetUserFullName(Aws::String&& value) { m_userFullNameHasBeenSet = true; m_userFullName = std::move(value); } /** *The full name of the user.
*/ inline void SetUserFullName(const char* value) { m_userFullNameHasBeenSet = true; m_userFullName.assign(value); } /** *The full name of the user.
*/ inline UserAccessResultItem& WithUserFullName(const Aws::String& value) { SetUserFullName(value); return *this;} /** *The full name of the user.
*/ inline UserAccessResultItem& WithUserFullName(Aws::String&& value) { SetUserFullName(std::move(value)); return *this;} /** *The full name of the user.
*/ inline UserAccessResultItem& WithUserFullName(const char* value) { SetUserFullName(value); return *this;} /** *The first name of the user.
*/ inline const Aws::String& GetUserFirstName() const{ return m_userFirstName; } /** *The first name of the user.
*/ inline bool UserFirstNameHasBeenSet() const { return m_userFirstNameHasBeenSet; } /** *The first name of the user.
*/ inline void SetUserFirstName(const Aws::String& value) { m_userFirstNameHasBeenSet = true; m_userFirstName = value; } /** *The first name of the user.
*/ inline void SetUserFirstName(Aws::String&& value) { m_userFirstNameHasBeenSet = true; m_userFirstName = std::move(value); } /** *The first name of the user.
*/ inline void SetUserFirstName(const char* value) { m_userFirstNameHasBeenSet = true; m_userFirstName.assign(value); } /** *The first name of the user.
*/ inline UserAccessResultItem& WithUserFirstName(const Aws::String& value) { SetUserFirstName(value); return *this;} /** *The first name of the user.
*/ inline UserAccessResultItem& WithUserFirstName(Aws::String&& value) { SetUserFirstName(std::move(value)); return *this;} /** *The first name of the user.
*/ inline UserAccessResultItem& WithUserFirstName(const char* value) { SetUserFirstName(value); return *this;} /** *The last name of the user.
*/ inline const Aws::String& GetUserLastName() const{ return m_userLastName; } /** *The last name of the user.
*/ inline bool UserLastNameHasBeenSet() const { return m_userLastNameHasBeenSet; } /** *The last name of the user.
*/ inline void SetUserLastName(const Aws::String& value) { m_userLastNameHasBeenSet = true; m_userLastName = value; } /** *The last name of the user.
*/ inline void SetUserLastName(Aws::String&& value) { m_userLastNameHasBeenSet = true; m_userLastName = std::move(value); } /** *The last name of the user.
*/ inline void SetUserLastName(const char* value) { m_userLastNameHasBeenSet = true; m_userLastName.assign(value); } /** *The last name of the user.
*/ inline UserAccessResultItem& WithUserLastName(const Aws::String& value) { SetUserLastName(value); return *this;} /** *The last name of the user.
*/ inline UserAccessResultItem& WithUserLastName(Aws::String&& value) { SetUserLastName(std::move(value)); return *this;} /** *The last name of the user.
*/ inline UserAccessResultItem& WithUserLastName(const char* value) { SetUserLastName(value); return *this;} /** *The status of the user returned by the application.
*/ inline const Aws::String& GetUserStatus() const{ return m_userStatus; } /** *The status of the user returned by the application.
*/ inline bool UserStatusHasBeenSet() const { return m_userStatusHasBeenSet; } /** *The status of the user returned by the application.
*/ inline void SetUserStatus(const Aws::String& value) { m_userStatusHasBeenSet = true; m_userStatus = value; } /** *The status of the user returned by the application.
*/ inline void SetUserStatus(Aws::String&& value) { m_userStatusHasBeenSet = true; m_userStatus = std::move(value); } /** *The status of the user returned by the application.
*/ inline void SetUserStatus(const char* value) { m_userStatusHasBeenSet = true; m_userStatus.assign(value); } /** *The status of the user returned by the application.
*/ inline UserAccessResultItem& WithUserStatus(const Aws::String& value) { SetUserStatus(value); return *this;} /** *The status of the user returned by the application.
*/ inline UserAccessResultItem& WithUserStatus(Aws::String&& value) { SetUserStatus(std::move(value)); return *this;} /** *The status of the user returned by the application.
*/ inline UserAccessResultItem& WithUserStatus(const char* value) { SetUserStatus(value); return *this;} /** *Contains information about an error returned from a user access task.
*/ inline const TaskError& GetTaskError() const{ return m_taskError; } /** *Contains information about an error returned from a user access task.
*/ inline bool TaskErrorHasBeenSet() const { return m_taskErrorHasBeenSet; } /** *Contains information about an error returned from a user access task.
*/ inline void SetTaskError(const TaskError& value) { m_taskErrorHasBeenSet = true; m_taskError = value; } /** *Contains information about an error returned from a user access task.
*/ inline void SetTaskError(TaskError&& value) { m_taskErrorHasBeenSet = true; m_taskError = std::move(value); } /** *Contains information about an error returned from a user access task.
*/ inline UserAccessResultItem& WithTaskError(const TaskError& value) { SetTaskError(value); return *this;} /** *Contains information about an error returned from a user access task.
*/ inline UserAccessResultItem& WithTaskError(TaskError&& value) { SetTaskError(std::move(value)); return *this;} private: Aws::String m_app; bool m_appHasBeenSet = false; Aws::String m_tenantId; bool m_tenantIdHasBeenSet = false; Aws::String m_tenantDisplayName; bool m_tenantDisplayNameHasBeenSet = false; Aws::String m_taskId; bool m_taskIdHasBeenSet = false; ResultStatus m_resultStatus; bool m_resultStatusHasBeenSet = false; Aws::String m_email; bool m_emailHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; Aws::String m_userFullName; bool m_userFullNameHasBeenSet = false; Aws::String m_userFirstName; bool m_userFirstNameHasBeenSet = false; Aws::String m_userLastName; bool m_userLastNameHasBeenSet = false; Aws::String m_userStatus; bool m_userStatusHasBeenSet = false; TaskError m_taskError; bool m_taskErrorHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws