/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the user who created or modified an experiment, trial,
* trial component, lineage group, project, or model card.See Also:
* AWS
* API Reference
The Amazon Resource Name (ARN) of the user's profile.
*/ inline const Aws::String& GetUserProfileArn() const{ return m_userProfileArn; } /** *The Amazon Resource Name (ARN) of the user's profile.
*/ inline bool UserProfileArnHasBeenSet() const { return m_userProfileArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the user's profile.
*/ inline void SetUserProfileArn(const Aws::String& value) { m_userProfileArnHasBeenSet = true; m_userProfileArn = value; } /** *The Amazon Resource Name (ARN) of the user's profile.
*/ inline void SetUserProfileArn(Aws::String&& value) { m_userProfileArnHasBeenSet = true; m_userProfileArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the user's profile.
*/ inline void SetUserProfileArn(const char* value) { m_userProfileArnHasBeenSet = true; m_userProfileArn.assign(value); } /** *The Amazon Resource Name (ARN) of the user's profile.
*/ inline UserContext& WithUserProfileArn(const Aws::String& value) { SetUserProfileArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the user's profile.
*/ inline UserContext& WithUserProfileArn(Aws::String&& value) { SetUserProfileArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the user's profile.
*/ inline UserContext& WithUserProfileArn(const char* value) { SetUserProfileArn(value); return *this;} /** *The name of the user's profile.
*/ inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; } /** *The name of the user's profile.
*/ inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; } /** *The name of the user's profile.
*/ inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; } /** *The name of the user's profile.
*/ inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); } /** *The name of the user's profile.
*/ inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); } /** *The name of the user's profile.
*/ inline UserContext& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;} /** *The name of the user's profile.
*/ inline UserContext& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;} /** *The name of the user's profile.
*/ inline UserContext& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;} /** *The domain associated with the user.
*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *The domain associated with the user.
*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *The domain associated with the user.
*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *The domain associated with the user.
*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *The domain associated with the user.
*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *The domain associated with the user.
*/ inline UserContext& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *The domain associated with the user.
*/ inline UserContext& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *The domain associated with the user.
*/ inline UserContext& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *The IAM Identity details associated with the user. These details are * associated with model package groups, model packages, and project entities * only.
*/ inline const IamIdentity& GetIamIdentity() const{ return m_iamIdentity; } /** *The IAM Identity details associated with the user. These details are * associated with model package groups, model packages, and project entities * only.
*/ inline bool IamIdentityHasBeenSet() const { return m_iamIdentityHasBeenSet; } /** *The IAM Identity details associated with the user. These details are * associated with model package groups, model packages, and project entities * only.
*/ inline void SetIamIdentity(const IamIdentity& value) { m_iamIdentityHasBeenSet = true; m_iamIdentity = value; } /** *The IAM Identity details associated with the user. These details are * associated with model package groups, model packages, and project entities * only.
*/ inline void SetIamIdentity(IamIdentity&& value) { m_iamIdentityHasBeenSet = true; m_iamIdentity = std::move(value); } /** *The IAM Identity details associated with the user. These details are * associated with model package groups, model packages, and project entities * only.
*/ inline UserContext& WithIamIdentity(const IamIdentity& value) { SetIamIdentity(value); return *this;} /** *The IAM Identity details associated with the user. These details are * associated with model package groups, model packages, and project entities * only.
*/ inline UserContext& WithIamIdentity(IamIdentity&& value) { SetIamIdentity(std::move(value)); return *this;} private: Aws::String m_userProfileArn; bool m_userProfileArnHasBeenSet = false; Aws::String m_userProfileName; bool m_userProfileNameHasBeenSet = false; Aws::String m_domainId; bool m_domainIdHasBeenSet = false; IamIdentity m_iamIdentity; bool m_iamIdentityHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws