AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeUserResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/DescribedUser.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Transfer
25{
26namespace Model
27{
29 {
30 public:
31 AWS_TRANSFER_API DescribeUserResult();
34
35
37
41 inline const Aws::String& GetServerId() const{ return m_serverId; }
42 inline void SetServerId(const Aws::String& value) { m_serverId = value; }
43 inline void SetServerId(Aws::String&& value) { m_serverId = std::move(value); }
44 inline void SetServerId(const char* value) { m_serverId.assign(value); }
45 inline DescribeUserResult& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
46 inline DescribeUserResult& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
47 inline DescribeUserResult& WithServerId(const char* value) { SetServerId(value); return *this;}
49
51
55 inline const DescribedUser& GetUser() const{ return m_user; }
56 inline void SetUser(const DescribedUser& value) { m_user = value; }
57 inline void SetUser(DescribedUser&& value) { m_user = std::move(value); }
58 inline DescribeUserResult& WithUser(const DescribedUser& value) { SetUser(value); return *this;}
59 inline DescribeUserResult& WithUser(DescribedUser&& value) { SetUser(std::move(value)); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline DescribeUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline DescribeUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline DescribeUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 Aws::String m_serverId;
75
76 DescribedUser m_user;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace Transfer
83} // namespace Aws
AWS_TRANSFER_API DescribeUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUserResult & WithUser(const DescribedUser &value)
DescribeUserResult & WithUser(DescribedUser &&value)
DescribeUserResult & WithServerId(Aws::String &&value)
DescribeUserResult & WithServerId(const char *value)
void SetRequestId(const Aws::String &value)
AWS_TRANSFER_API DescribeUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DescribedUser & GetUser() const
DescribeUserResult & WithRequestId(Aws::String &&value)
void SetServerId(const Aws::String &value)
DescribeUserResult & WithRequestId(const Aws::String &value)
DescribeUserResult & WithServerId(const Aws::String &value)
DescribeUserResult & WithRequestId(const char *value)
void SetUser(const DescribedUser &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue