/** * 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 identifier for the * request to update a user's properties.

See Also:

AWS * API Reference

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

A system-assigned unique identifier for a Transfer Family server instance * that the account is assigned to.

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

A system-assigned unique identifier for a Transfer Family server instance * that the account is assigned to.

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

A system-assigned unique identifier for a Transfer Family server instance * that the account is assigned to.

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

A system-assigned unique identifier for a Transfer Family server instance * that the account is assigned to.

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

A system-assigned unique identifier for a Transfer Family server instance * that the account is assigned to.

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

A system-assigned unique identifier for a Transfer Family server instance * that the account is assigned to.

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

A system-assigned unique identifier for a Transfer Family server instance * that the 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 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 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 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 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 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 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 server instance that * was specified in the request.

*/ inline UpdateUserResult& WithUserName(const char* value) { SetUserName(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 UpdateUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_serverId; Aws::String m_userName; Aws::String m_requestId; }; } // namespace Model } // namespace Transfer } // namespace Aws