AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportSshPublicKeyResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Transfer
24{
25namespace Model
26{
35 {
36 public:
37 AWS_TRANSFER_API ImportSshPublicKeyResult();
40
41
43
46 inline const Aws::String& GetServerId() const{ return m_serverId; }
47 inline void SetServerId(const Aws::String& value) { m_serverId = value; }
48 inline void SetServerId(Aws::String&& value) { m_serverId = std::move(value); }
49 inline void SetServerId(const char* value) { m_serverId.assign(value); }
50 inline ImportSshPublicKeyResult& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
51 inline ImportSshPublicKeyResult& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
52 inline ImportSshPublicKeyResult& WithServerId(const char* value) { SetServerId(value); return *this;}
54
56
59 inline const Aws::String& GetSshPublicKeyId() const{ return m_sshPublicKeyId; }
60 inline void SetSshPublicKeyId(const Aws::String& value) { m_sshPublicKeyId = value; }
61 inline void SetSshPublicKeyId(Aws::String&& value) { m_sshPublicKeyId = std::move(value); }
62 inline void SetSshPublicKeyId(const char* value) { m_sshPublicKeyId.assign(value); }
63 inline ImportSshPublicKeyResult& WithSshPublicKeyId(const Aws::String& value) { SetSshPublicKeyId(value); return *this;}
64 inline ImportSshPublicKeyResult& WithSshPublicKeyId(Aws::String&& value) { SetSshPublicKeyId(std::move(value)); return *this;}
65 inline ImportSshPublicKeyResult& WithSshPublicKeyId(const char* value) { SetSshPublicKeyId(value); return *this;}
67
69
73 inline const Aws::String& GetUserName() const{ return m_userName; }
74 inline void SetUserName(const Aws::String& value) { m_userName = value; }
75 inline void SetUserName(Aws::String&& value) { m_userName = std::move(value); }
76 inline void SetUserName(const char* value) { m_userName.assign(value); }
77 inline ImportSshPublicKeyResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
78 inline ImportSshPublicKeyResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
79 inline ImportSshPublicKeyResult& WithUserName(const char* value) { SetUserName(value); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline ImportSshPublicKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline ImportSshPublicKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline ImportSshPublicKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_serverId;
95
96 Aws::String m_sshPublicKeyId;
97
98 Aws::String m_userName;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace Transfer
105} // namespace Aws
ImportSshPublicKeyResult & WithUserName(const char *value)
ImportSshPublicKeyResult & WithRequestId(const char *value)
ImportSshPublicKeyResult & WithUserName(Aws::String &&value)
ImportSshPublicKeyResult & WithServerId(const Aws::String &value)
ImportSshPublicKeyResult & WithServerId(const char *value)
AWS_TRANSFER_API ImportSshPublicKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ImportSshPublicKeyResult & WithUserName(const Aws::String &value)
ImportSshPublicKeyResult & WithRequestId(const Aws::String &value)
ImportSshPublicKeyResult & WithSshPublicKeyId(const char *value)
ImportSshPublicKeyResult & WithServerId(Aws::String &&value)
ImportSshPublicKeyResult & WithSshPublicKeyId(Aws::String &&value)
ImportSshPublicKeyResult & WithRequestId(Aws::String &&value)
ImportSshPublicKeyResult & WithSshPublicKeyId(const Aws::String &value)
AWS_TRANSFER_API ImportSshPublicKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue