/** * 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 { class AWS_TRANSFER_API CreateUserResult { public: CreateUserResult(); CreateUserResult(const Aws::AmazonWebServiceResult& result); CreateUserResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the file transfer protocol-enabled server that the user is attached * to.

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

The ID of the file transfer protocol-enabled server that the user is attached * to.

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

The ID of the file transfer protocol-enabled server that the user is attached * to.

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

The ID of the file transfer protocol-enabled server that the user is attached * to.

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

The ID of the file transfer protocol-enabled server that the user is attached * to.

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

The ID of the file transfer protocol-enabled server that the user is attached * to.

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

The ID of the file transfer protocol-enabled server that the user is attached * to.

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

A unique string that identifies a user account associated with a file * transfer protocol-enabled server.

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

A unique string that identifies a user account associated with a file * transfer protocol-enabled server.

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

A unique string that identifies a user account associated with a file * transfer protocol-enabled server.

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

A unique string that identifies a user account associated with a file * transfer protocol-enabled server.

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

A unique string that identifies a user account associated with a file * transfer protocol-enabled server.

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

A unique string that identifies a user account associated with a file * transfer protocol-enabled server.

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

A unique string that identifies a user account associated with a file * transfer protocol-enabled server.

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