/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

The user profile details.

See Also:

AWS * API Reference

*/ class UserProfileDetails { public: AWS_SAGEMAKER_API UserProfileDetails(); AWS_SAGEMAKER_API UserProfileDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API UserProfileDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The domain ID.

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

The domain ID.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The user profile name.

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

The user profile name.

*/ inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; } /** *

The user profile name.

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

The user profile name.

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

The user profile name.

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

The user profile name.

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

The user profile name.

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

The user profile name.

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

The status.

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

The status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status.

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

The status.

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

The status.

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

The status.

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

The creation time.

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

The creation time.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The creation time.

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

The creation time.

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

The creation time.

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

The creation time.

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

The last modified time.

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

The last modified time.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The last modified time.

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

The last modified time.

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

The last modified time.

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

The last modified time.

*/ inline UserProfileDetails& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_userProfileName; bool m_userProfileNameHasBeenSet = false; UserProfileStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws