/** * 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 Transfer { namespace Model { /** *

UpdateUserResponse returns the user name and file transfer * protocol-enabled server identifier for the request to update a user's * properties.

See Also:

AWS * API Reference

*/ class AWS_TRANSFER_API UpdateUserResult { public: UpdateUserResult(); UpdateUserResult(const Aws::AmazonWebServiceResult& result); UpdateUserResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A system-assigned unique identifier for a file transfer protocol-enabled * server instance that the user account is assigned to.

*/ inline const Aws::String& GetServerId() const{ return m_serverId; } /** *

A system-assigned unique identifier for a file transfer protocol-enabled * server instance that the user account is assigned to.

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

A system-assigned unique identifier for a file transfer protocol-enabled * server instance that the user account is assigned to.

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

A system-assigned unique identifier for a file transfer protocol-enabled * server instance that the user account is assigned to.

*/ inline void SetServerId(const char* value) { m_serverId.assign(value); } /** *

A system-assigned unique identifier for a file transfer protocol-enabled * server instance that the user account is assigned to.

*/ inline UpdateUserResult& WithServerId(const Aws::String& value) { SetServerId(value); return *this;} /** *

A system-assigned unique identifier for a file transfer protocol-enabled * server instance that the user account is assigned to.

*/ inline UpdateUserResult& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;} /** *

A system-assigned unique identifier for a file transfer protocol-enabled * server instance that the user account is assigned to.

*/ inline UpdateUserResult& WithServerId(const char* value) { SetServerId(value); return *this;} /** *

The unique identifier for a user that is assigned to a file transfer * protocol-enabled server instance that was specified in the request.

*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *

The unique identifier for a user that is assigned to a file transfer * protocol-enabled server instance that was specified in the request.

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

The unique identifier for a user that is assigned to a file transfer * protocol-enabled server instance that was specified in the request.

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

The unique identifier for a user that is assigned to a file transfer * protocol-enabled server instance that was specified in the request.

*/ inline void SetUserName(const char* value) { m_userName.assign(value); } /** *

The unique identifier for a user that is assigned to a file transfer * protocol-enabled server instance that was specified in the request.

*/ inline UpdateUserResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *

The unique identifier for a user that is assigned to a file transfer * protocol-enabled server instance that was specified in the request.

*/ inline UpdateUserResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *

The unique identifier for a user that is assigned to a file transfer * protocol-enabled server instance that was specified in the request.

*/ inline UpdateUserResult& WithUserName(const char* value) { SetUserName(value); return *this;} private: Aws::String m_serverId; Aws::String m_userName; }; } // namespace Model } // namespace Transfer } // namespace Aws