This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-awstransfer/include/aws/awstransfer/model/CreateUserResult.h

130 lines
3.9 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/awstransfer/Transfer_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
CreateUserResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ID of the file transfer protocol-enabled server that the user is attached
* to.</p>
*/
inline const Aws::String& GetServerId() const{ return m_serverId; }
/**
* <p>The ID of the file transfer protocol-enabled server that the user is attached
* to.</p>
*/
inline void SetServerId(const Aws::String& value) { m_serverId = value; }
/**
* <p>The ID of the file transfer protocol-enabled server that the user is attached
* to.</p>
*/
inline void SetServerId(Aws::String&& value) { m_serverId = std::move(value); }
/**
* <p>The ID of the file transfer protocol-enabled server that the user is attached
* to.</p>
*/
inline void SetServerId(const char* value) { m_serverId.assign(value); }
/**
* <p>The ID of the file transfer protocol-enabled server that the user is attached
* to.</p>
*/
inline CreateUserResult& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
/**
* <p>The ID of the file transfer protocol-enabled server that the user is attached
* to.</p>
*/
inline CreateUserResult& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
/**
* <p>The ID of the file transfer protocol-enabled server that the user is attached
* to.</p>
*/
inline CreateUserResult& WithServerId(const char* value) { SetServerId(value); return *this;}
/**
* <p>A unique string that identifies a user account associated with a file
* transfer protocol-enabled server.</p>
*/
inline const Aws::String& GetUserName() const{ return m_userName; }
/**
* <p>A unique string that identifies a user account associated with a file
* transfer protocol-enabled server.</p>
*/
inline void SetUserName(const Aws::String& value) { m_userName = value; }
/**
* <p>A unique string that identifies a user account associated with a file
* transfer protocol-enabled server.</p>
*/
inline void SetUserName(Aws::String&& value) { m_userName = std::move(value); }
/**
* <p>A unique string that identifies a user account associated with a file
* transfer protocol-enabled server.</p>
*/
inline void SetUserName(const char* value) { m_userName.assign(value); }
/**
* <p>A unique string that identifies a user account associated with a file
* transfer protocol-enabled server.</p>
*/
inline CreateUserResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
/**
* <p>A unique string that identifies a user account associated with a file
* transfer protocol-enabled server.</p>
*/
inline CreateUserResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
/**
* <p>A unique string that identifies a user account associated with a file
* transfer protocol-enabled server.</p>
*/
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