/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeUserProfileResult { public: AWS_SAGEMAKER_API DescribeUserProfileResult(); AWS_SAGEMAKER_API DescribeUserProfileResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeUserProfileResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the domain that contains the profile.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The ID of the domain that contains the profile.

*/ inline void SetDomainId(const Aws::String& value) { m_domainId = value; } /** *

The ID of the domain that contains the profile.

*/ inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } /** *

The ID of the domain that contains the profile.

*/ inline void SetDomainId(const char* value) { m_domainId.assign(value); } /** *

The ID of the domain that contains the profile.

*/ inline DescribeUserProfileResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The ID of the domain that contains the profile.

*/ inline DescribeUserProfileResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The ID of the domain that contains the profile.

*/ inline DescribeUserProfileResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

The user profile Amazon Resource Name (ARN).

*/ inline const Aws::String& GetUserProfileArn() const{ return m_userProfileArn; } /** *

The user profile Amazon Resource Name (ARN).

*/ inline void SetUserProfileArn(const Aws::String& value) { m_userProfileArn = value; } /** *

The user profile Amazon Resource Name (ARN).

*/ inline void SetUserProfileArn(Aws::String&& value) { m_userProfileArn = std::move(value); } /** *

The user profile Amazon Resource Name (ARN).

*/ inline void SetUserProfileArn(const char* value) { m_userProfileArn.assign(value); } /** *

The user profile Amazon Resource Name (ARN).

*/ inline DescribeUserProfileResult& WithUserProfileArn(const Aws::String& value) { SetUserProfileArn(value); return *this;} /** *

The user profile Amazon Resource Name (ARN).

*/ inline DescribeUserProfileResult& WithUserProfileArn(Aws::String&& value) { SetUserProfileArn(std::move(value)); return *this;} /** *

The user profile Amazon Resource Name (ARN).

*/ inline DescribeUserProfileResult& WithUserProfileArn(const char* value) { SetUserProfileArn(value); return *this;} /** *

The user profile name.

*/ inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; } /** *

The user profile name.

*/ inline void SetUserProfileName(const Aws::String& value) { m_userProfileName = value; } /** *

The user profile name.

*/ inline void SetUserProfileName(Aws::String&& value) { m_userProfileName = std::move(value); } /** *

The user profile name.

*/ inline void SetUserProfileName(const char* value) { m_userProfileName.assign(value); } /** *

The user profile name.

*/ inline DescribeUserProfileResult& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;} /** *

The user profile name.

*/ inline DescribeUserProfileResult& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;} /** *

The user profile name.

*/ inline DescribeUserProfileResult& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;} /** *

The ID of the user's profile in the Amazon Elastic File System (EFS) * volume.

*/ inline const Aws::String& GetHomeEfsFileSystemUid() const{ return m_homeEfsFileSystemUid; } /** *

The ID of the user's profile in the Amazon Elastic File System (EFS) * volume.

*/ inline void SetHomeEfsFileSystemUid(const Aws::String& value) { m_homeEfsFileSystemUid = value; } /** *

The ID of the user's profile in the Amazon Elastic File System (EFS) * volume.

*/ inline void SetHomeEfsFileSystemUid(Aws::String&& value) { m_homeEfsFileSystemUid = std::move(value); } /** *

The ID of the user's profile in the Amazon Elastic File System (EFS) * volume.

*/ inline void SetHomeEfsFileSystemUid(const char* value) { m_homeEfsFileSystemUid.assign(value); } /** *

The ID of the user's profile in the Amazon Elastic File System (EFS) * volume.

*/ inline DescribeUserProfileResult& WithHomeEfsFileSystemUid(const Aws::String& value) { SetHomeEfsFileSystemUid(value); return *this;} /** *

The ID of the user's profile in the Amazon Elastic File System (EFS) * volume.

*/ inline DescribeUserProfileResult& WithHomeEfsFileSystemUid(Aws::String&& value) { SetHomeEfsFileSystemUid(std::move(value)); return *this;} /** *

The ID of the user's profile in the Amazon Elastic File System (EFS) * volume.

*/ inline DescribeUserProfileResult& WithHomeEfsFileSystemUid(const char* value) { SetHomeEfsFileSystemUid(value); return *this;} /** *

The status.

*/ inline const UserProfileStatus& GetStatus() const{ return m_status; } /** *

The status.

*/ inline void SetStatus(const UserProfileStatus& value) { m_status = value; } /** *

The status.

*/ inline void SetStatus(UserProfileStatus&& value) { m_status = std::move(value); } /** *

The status.

*/ inline DescribeUserProfileResult& WithStatus(const UserProfileStatus& value) { SetStatus(value); return *this;} /** *

The status.

*/ inline DescribeUserProfileResult& WithStatus(UserProfileStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The last modified time.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The last modified time.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

The last modified time.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } /** *

The last modified time.

*/ inline DescribeUserProfileResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The last modified time.

*/ inline DescribeUserProfileResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The creation time.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The creation time.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The creation time.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The creation time.

*/ inline DescribeUserProfileResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The creation time.

*/ inline DescribeUserProfileResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The failure reason.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

The failure reason.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; } /** *

The failure reason.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); } /** *

The failure reason.

*/ inline void SetFailureReason(const char* value) { m_failureReason.assign(value); } /** *

The failure reason.

*/ inline DescribeUserProfileResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

The failure reason.

*/ inline DescribeUserProfileResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

The failure reason.

*/ inline DescribeUserProfileResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

The IAM Identity Center user identifier.

*/ inline const Aws::String& GetSingleSignOnUserIdentifier() const{ return m_singleSignOnUserIdentifier; } /** *

The IAM Identity Center user identifier.

*/ inline void SetSingleSignOnUserIdentifier(const Aws::String& value) { m_singleSignOnUserIdentifier = value; } /** *

The IAM Identity Center user identifier.

*/ inline void SetSingleSignOnUserIdentifier(Aws::String&& value) { m_singleSignOnUserIdentifier = std::move(value); } /** *

The IAM Identity Center user identifier.

*/ inline void SetSingleSignOnUserIdentifier(const char* value) { m_singleSignOnUserIdentifier.assign(value); } /** *

The IAM Identity Center user identifier.

*/ inline DescribeUserProfileResult& WithSingleSignOnUserIdentifier(const Aws::String& value) { SetSingleSignOnUserIdentifier(value); return *this;} /** *

The IAM Identity Center user identifier.

*/ inline DescribeUserProfileResult& WithSingleSignOnUserIdentifier(Aws::String&& value) { SetSingleSignOnUserIdentifier(std::move(value)); return *this;} /** *

The IAM Identity Center user identifier.

*/ inline DescribeUserProfileResult& WithSingleSignOnUserIdentifier(const char* value) { SetSingleSignOnUserIdentifier(value); return *this;} /** *

The IAM Identity Center user value.

*/ inline const Aws::String& GetSingleSignOnUserValue() const{ return m_singleSignOnUserValue; } /** *

The IAM Identity Center user value.

*/ inline void SetSingleSignOnUserValue(const Aws::String& value) { m_singleSignOnUserValue = value; } /** *

The IAM Identity Center user value.

*/ inline void SetSingleSignOnUserValue(Aws::String&& value) { m_singleSignOnUserValue = std::move(value); } /** *

The IAM Identity Center user value.

*/ inline void SetSingleSignOnUserValue(const char* value) { m_singleSignOnUserValue.assign(value); } /** *

The IAM Identity Center user value.

*/ inline DescribeUserProfileResult& WithSingleSignOnUserValue(const Aws::String& value) { SetSingleSignOnUserValue(value); return *this;} /** *

The IAM Identity Center user value.

*/ inline DescribeUserProfileResult& WithSingleSignOnUserValue(Aws::String&& value) { SetSingleSignOnUserValue(std::move(value)); return *this;} /** *

The IAM Identity Center user value.

*/ inline DescribeUserProfileResult& WithSingleSignOnUserValue(const char* value) { SetSingleSignOnUserValue(value); return *this;} /** *

A collection of settings.

*/ inline const UserSettings& GetUserSettings() const{ return m_userSettings; } /** *

A collection of settings.

*/ inline void SetUserSettings(const UserSettings& value) { m_userSettings = value; } /** *

A collection of settings.

*/ inline void SetUserSettings(UserSettings&& value) { m_userSettings = std::move(value); } /** *

A collection of settings.

*/ inline DescribeUserProfileResult& WithUserSettings(const UserSettings& value) { SetUserSettings(value); return *this;} /** *

A collection of settings.

*/ inline DescribeUserProfileResult& WithUserSettings(UserSettings&& value) { SetUserSettings(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeUserProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeUserProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeUserProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_domainId; Aws::String m_userProfileArn; Aws::String m_userProfileName; Aws::String m_homeEfsFileSystemUid; UserProfileStatus m_status; Aws::Utils::DateTime m_lastModifiedTime; Aws::Utils::DateTime m_creationTime; Aws::String m_failureReason; Aws::String m_singleSignOnUserIdentifier; Aws::String m_singleSignOnUserValue; UserSettings m_userSettings; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws