AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline const Aws::String& GetServerId() const { return m_serverId; }
47 template<typename ServerIdT = Aws::String>
48 void SetServerId(ServerIdT&& value) { m_serverIdHasBeenSet = true; m_serverId = std::forward<ServerIdT>(value); }
49 template<typename ServerIdT = Aws::String>
50 ImportSshPublicKeyResult& WithServerId(ServerIdT&& value) { SetServerId(std::forward<ServerIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetSshPublicKeyId() const { return m_sshPublicKeyId; }
58 template<typename SshPublicKeyIdT = Aws::String>
59 void SetSshPublicKeyId(SshPublicKeyIdT&& value) { m_sshPublicKeyIdHasBeenSet = true; m_sshPublicKeyId = std::forward<SshPublicKeyIdT>(value); }
60 template<typename SshPublicKeyIdT = Aws::String>
61 ImportSshPublicKeyResult& WithSshPublicKeyId(SshPublicKeyIdT&& value) { SetSshPublicKeyId(std::forward<SshPublicKeyIdT>(value)); return *this;}
63
65
69 inline const Aws::String& GetUserName() const { return m_userName; }
70 template<typename UserNameT = Aws::String>
71 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
72 template<typename UserNameT = Aws::String>
73 ImportSshPublicKeyResult& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template<typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
81 template<typename RequestIdT = Aws::String>
82 ImportSshPublicKeyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 Aws::String m_serverId;
87 bool m_serverIdHasBeenSet = false;
88
89 Aws::String m_sshPublicKeyId;
90 bool m_sshPublicKeyIdHasBeenSet = false;
91
92 Aws::String m_userName;
93 bool m_userNameHasBeenSet = false;
94
95 Aws::String m_requestId;
96 bool m_requestIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Transfer
101} // namespace Aws
ImportSshPublicKeyResult & WithSshPublicKeyId(SshPublicKeyIdT &&value)
AWS_TRANSFER_API ImportSshPublicKeyResult()=default
AWS_TRANSFER_API ImportSshPublicKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ImportSshPublicKeyResult & WithServerId(ServerIdT &&value)
ImportSshPublicKeyResult & WithRequestId(RequestIdT &&value)
ImportSshPublicKeyResult & WithUserName(UserNameT &&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