AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Transfer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TRANSFER_API UserDetails();
36 AWS_TRANSFER_API UserDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TRANSFER_API UserDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetUserName() const{ return m_userName; }
47 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
48 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
49 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
50 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
51 inline UserDetails& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
52 inline UserDetails& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
53 inline UserDetails& WithUserName(const char* value) { SetUserName(value); return *this;}
55
57
60 inline const Aws::String& GetServerId() const{ return m_serverId; }
61 inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; }
62 inline void SetServerId(const Aws::String& value) { m_serverIdHasBeenSet = true; m_serverId = value; }
63 inline void SetServerId(Aws::String&& value) { m_serverIdHasBeenSet = true; m_serverId = std::move(value); }
64 inline void SetServerId(const char* value) { m_serverIdHasBeenSet = true; m_serverId.assign(value); }
65 inline UserDetails& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
66 inline UserDetails& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
67 inline UserDetails& WithServerId(const char* value) { SetServerId(value); return *this;}
69
71
75 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
76 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
77 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
78 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
79 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
80 inline UserDetails& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
81 inline UserDetails& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
82 inline UserDetails& WithSessionId(const char* value) { SetSessionId(value); return *this;}
84 private:
85
86 Aws::String m_userName;
87 bool m_userNameHasBeenSet = false;
88
89 Aws::String m_serverId;
90 bool m_serverIdHasBeenSet = false;
91
92 Aws::String m_sessionId;
93 bool m_sessionIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Transfer
98} // namespace Aws
AWS_TRANSFER_API UserDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServerId(const Aws::String &value)
Definition UserDetails.h:62
void SetSessionId(Aws::String &&value)
Definition UserDetails.h:78
void SetUserName(Aws::String &&value)
Definition UserDetails.h:49
void SetSessionId(const char *value)
Definition UserDetails.h:79
void SetUserName(const Aws::String &value)
Definition UserDetails.h:48
const Aws::String & GetServerId() const
Definition UserDetails.h:60
UserDetails & WithSessionId(Aws::String &&value)
Definition UserDetails.h:81
void SetUserName(const char *value)
Definition UserDetails.h:50
UserDetails & WithServerId(Aws::String &&value)
Definition UserDetails.h:66
UserDetails & WithUserName(const Aws::String &value)
Definition UserDetails.h:51
UserDetails & WithUserName(const char *value)
Definition UserDetails.h:53
UserDetails & WithSessionId(const char *value)
Definition UserDetails.h:82
void SetServerId(const char *value)
Definition UserDetails.h:64
void SetSessionId(const Aws::String &value)
Definition UserDetails.h:77
UserDetails & WithUserName(Aws::String &&value)
Definition UserDetails.h:52
const Aws::String & GetUserName() const
Definition UserDetails.h:46
UserDetails & WithServerId(const Aws::String &value)
Definition UserDetails.h:65
UserDetails & WithServerId(const char *value)
Definition UserDetails.h:67
void SetServerId(Aws::String &&value)
Definition UserDetails.h:63
AWS_TRANSFER_API UserDetails(Aws::Utils::Json::JsonView jsonValue)
UserDetails & WithSessionId(const Aws::String &value)
Definition UserDetails.h:80
const Aws::String & GetSessionId() const
Definition UserDetails.h:75
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue