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

The Amazon Resource Name (ARN) of the user whose team membership attributes * were updated.

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

The Amazon Resource Name (ARN) of the user whose team membership attributes * were updated.

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

The Amazon Resource Name (ARN) of the user whose team membership attributes * were updated.

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

The Amazon Resource Name (ARN) of the user whose team membership attributes * were updated.

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

The Amazon Resource Name (ARN) of the user whose team membership attributes * were updated.

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

The Amazon Resource Name (ARN) of the user whose team membership attributes * were updated.

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

The Amazon Resource Name (ARN) of the user whose team membership attributes * were updated.

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

The project role granted to the user.

*/ inline const Aws::String& GetProjectRole() const{ return m_projectRole; } /** *

The project role granted to the user.

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

The project role granted to the user.

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

The project role granted to the user.

*/ inline void SetProjectRole(const char* value) { m_projectRole.assign(value); } /** *

The project role granted to the user.

*/ inline UpdateTeamMemberResult& WithProjectRole(const Aws::String& value) { SetProjectRole(value); return *this;} /** *

The project role granted to the user.

*/ inline UpdateTeamMemberResult& WithProjectRole(Aws::String&& value) { SetProjectRole(std::move(value)); return *this;} /** *

The project role granted to the user.

*/ inline UpdateTeamMemberResult& WithProjectRole(const char* value) { SetProjectRole(value); return *this;} /** *

Whether a team member is allowed to remotely access project resources using * the SSH public key associated with the user's profile.

*/ inline bool GetRemoteAccessAllowed() const{ return m_remoteAccessAllowed; } /** *

Whether a team member is allowed to remotely access project resources using * the SSH public key associated with the user's profile.

*/ inline void SetRemoteAccessAllowed(bool value) { m_remoteAccessAllowed = value; } /** *

Whether a team member is allowed to remotely access project resources using * the SSH public key associated with the user's profile.

*/ inline UpdateTeamMemberResult& WithRemoteAccessAllowed(bool value) { SetRemoteAccessAllowed(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 UpdateTeamMemberResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateTeamMemberResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateTeamMemberResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_userArn; Aws::String m_projectRole; bool m_remoteAccessAllowed; Aws::String m_requestId; }; } // namespace Model } // namespace CodeStar } // namespace Aws