AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeUserRequest.h
1
6#pragma once
7#include <aws/awstransfer/TransferRequest.h>
8#include <aws/awstransfer/Transfer_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Transfer {
15namespace Model {
16
20 public:
21 AWS_TRANSFER_API DescribeUserRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeUser"; }
28
29 AWS_TRANSFER_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetServerId() const { return m_serverId; }
39 inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; }
40 template <typename ServerIdT = Aws::String>
41 void SetServerId(ServerIdT&& value) {
42 m_serverIdHasBeenSet = true;
43 m_serverId = std::forward<ServerIdT>(value);
44 }
45 template <typename ServerIdT = Aws::String>
46 DescribeUserRequest& WithServerId(ServerIdT&& value) {
47 SetServerId(std::forward<ServerIdT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetUserName() const { return m_userName; }
59 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
60 template <typename UserNameT = Aws::String>
61 void SetUserName(UserNameT&& value) {
62 m_userNameHasBeenSet = true;
63 m_userName = std::forward<UserNameT>(value);
64 }
65 template <typename UserNameT = Aws::String>
66 DescribeUserRequest& WithUserName(UserNameT&& value) {
67 SetUserName(std::forward<UserNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_serverId;
73
74 Aws::String m_userName;
75 bool m_serverIdHasBeenSet = false;
76 bool m_userNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Transfer
81} // namespace Aws
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeUserRequest & WithUserName(UserNameT &&value)
DescribeUserRequest & WithServerId(ServerIdT &&value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
AWS_TRANSFER_API DescribeUserRequest()=default
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String