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

The Amazon Resource Name (ARN) of the user in IAM.

*/ inline const Aws::String& GetUserArn() const{ return m_userArn; } /** *

The Amazon Resource Name (ARN) of the user in IAM.

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

The Amazon Resource Name (ARN) of the user in IAM.

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

The Amazon Resource Name (ARN) of the user in IAM.

*/ inline void SetUserArn(const char* value) { m_userArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the user in IAM.

*/ inline UpdateUserProfileResult& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the user in IAM.

*/ inline UpdateUserProfileResult& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the user in IAM.

*/ inline UpdateUserProfileResult& WithUserArn(const char* value) { SetUserArn(value); return *this;} /** *

The name that is displayed as the friendly name for the user in AWS * CodeStar.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The name that is displayed as the friendly name for the user in AWS * CodeStar.

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

The name that is displayed as the friendly name for the user in AWS * CodeStar.

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

The name that is displayed as the friendly name for the user in AWS * CodeStar.

*/ inline void SetDisplayName(const char* value) { m_displayName.assign(value); } /** *

The name that is displayed as the friendly name for the user in AWS * CodeStar.

*/ inline UpdateUserProfileResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The name that is displayed as the friendly name for the user in AWS * CodeStar.

*/ inline UpdateUserProfileResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The name that is displayed as the friendly name for the user in AWS * CodeStar.

*/ inline UpdateUserProfileResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The email address that is displayed as part of the user's profile in AWS * CodeStar.

*/ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** *

The email address that is displayed as part of the user's profile in AWS * CodeStar.

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

The email address that is displayed as part of the user's profile in AWS * CodeStar.

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

The email address that is displayed as part of the user's profile in AWS * CodeStar.

*/ inline void SetEmailAddress(const char* value) { m_emailAddress.assign(value); } /** *

The email address that is displayed as part of the user's profile in AWS * CodeStar.

*/ inline UpdateUserProfileResult& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** *

The email address that is displayed as part of the user's profile in AWS * CodeStar.

*/ inline UpdateUserProfileResult& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** *

The email address that is displayed as part of the user's profile in AWS * CodeStar.

*/ inline UpdateUserProfileResult& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} /** *

The SSH public key associated with the user in AWS CodeStar. This is the * public portion of the public/private keypair the user can use to access project * resources if a project owner allows the user remote access to those * resources.

*/ inline const Aws::String& GetSshPublicKey() const{ return m_sshPublicKey; } /** *

The SSH public key associated with the user in AWS CodeStar. This is the * public portion of the public/private keypair the user can use to access project * resources if a project owner allows the user remote access to those * resources.

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

The SSH public key associated with the user in AWS CodeStar. This is the * public portion of the public/private keypair the user can use to access project * resources if a project owner allows the user remote access to those * resources.

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

The SSH public key associated with the user in AWS CodeStar. This is the * public portion of the public/private keypair the user can use to access project * resources if a project owner allows the user remote access to those * resources.

*/ inline void SetSshPublicKey(const char* value) { m_sshPublicKey.assign(value); } /** *

The SSH public key associated with the user in AWS CodeStar. This is the * public portion of the public/private keypair the user can use to access project * resources if a project owner allows the user remote access to those * resources.

*/ inline UpdateUserProfileResult& WithSshPublicKey(const Aws::String& value) { SetSshPublicKey(value); return *this;} /** *

The SSH public key associated with the user in AWS CodeStar. This is the * public portion of the public/private keypair the user can use to access project * resources if a project owner allows the user remote access to those * resources.

*/ inline UpdateUserProfileResult& WithSshPublicKey(Aws::String&& value) { SetSshPublicKey(std::move(value)); return *this;} /** *

The SSH public key associated with the user in AWS CodeStar. This is the * public portion of the public/private keypair the user can use to access project * resources if a project owner allows the user remote access to those * resources.

*/ inline UpdateUserProfileResult& WithSshPublicKey(const char* value) { SetSshPublicKey(value); return *this;} /** *

The date the user profile was created, in timestamp format.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The date the user profile was created, in timestamp format.

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

The date the user profile was created, in timestamp format.

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

The date the user profile was created, in timestamp format.

*/ inline UpdateUserProfileResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The date the user profile was created, in timestamp format.

*/ inline UpdateUserProfileResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The date the user profile was last modified, in timestamp format.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; } /** *

The date the user profile was last modified, in timestamp format.

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

The date the user profile was last modified, in timestamp format.

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

The date the user profile was last modified, in timestamp format.

*/ inline UpdateUserProfileResult& WithLastModifiedTimestamp(const Aws::Utils::DateTime& value) { SetLastModifiedTimestamp(value); return *this;} /** *

The date the user profile was last modified, in timestamp format.

*/ inline UpdateUserProfileResult& WithLastModifiedTimestamp(Aws::Utils::DateTime&& value) { SetLastModifiedTimestamp(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 UpdateUserProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateUserProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateUserProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_userArn; Aws::String m_displayName; Aws::String m_emailAddress; Aws::String m_sshPublicKey; Aws::Utils::DateTime m_createdTimestamp; Aws::Utils::DateTime m_lastModifiedTimestamp; Aws::String m_requestId; }; } // namespace Model } // namespace CodeStar } // namespace Aws