AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
TestIdentityProviderRequest.h
1
6#pragma once
7#include <aws/awstransfer/TransferRequest.h>
8#include <aws/awstransfer/Transfer_EXPORTS.h>
9#include <aws/awstransfer/model/Protocol.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Transfer {
16namespace Model {
17
21 public:
22 AWS_TRANSFER_API TestIdentityProviderRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "TestIdentityProvider"; }
29
30 AWS_TRANSFER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetServerId() const { return m_serverId; }
40 inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; }
41 template <typename ServerIdT = Aws::String>
42 void SetServerId(ServerIdT&& value) {
43 m_serverIdHasBeenSet = true;
44 m_serverId = std::forward<ServerIdT>(value);
45 }
46 template <typename ServerIdT = Aws::String>
48 SetServerId(std::forward<ServerIdT>(value));
49 return *this;
50 }
52
54
61 inline Protocol GetServerProtocol() const { return m_serverProtocol; }
62 inline bool ServerProtocolHasBeenSet() const { return m_serverProtocolHasBeenSet; }
63 inline void SetServerProtocol(Protocol value) {
64 m_serverProtocolHasBeenSet = true;
65 m_serverProtocol = value;
66 }
68 SetServerProtocol(value);
69 return *this;
70 }
72
74
77 inline const Aws::String& GetSourceIp() const { return m_sourceIp; }
78 inline bool SourceIpHasBeenSet() const { return m_sourceIpHasBeenSet; }
79 template <typename SourceIpT = Aws::String>
80 void SetSourceIp(SourceIpT&& value) {
81 m_sourceIpHasBeenSet = true;
82 m_sourceIp = std::forward<SourceIpT>(value);
83 }
84 template <typename SourceIpT = Aws::String>
86 SetSourceIp(std::forward<SourceIpT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetUserName() const { return m_userName; }
96 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
97 template <typename UserNameT = Aws::String>
98 void SetUserName(UserNameT&& value) {
99 m_userNameHasBeenSet = true;
100 m_userName = std::forward<UserNameT>(value);
101 }
102 template <typename UserNameT = Aws::String>
104 SetUserName(std::forward<UserNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetUserPassword() const { return m_userPassword; }
114 inline bool UserPasswordHasBeenSet() const { return m_userPasswordHasBeenSet; }
115 template <typename UserPasswordT = Aws::String>
116 void SetUserPassword(UserPasswordT&& value) {
117 m_userPasswordHasBeenSet = true;
118 m_userPassword = std::forward<UserPasswordT>(value);
119 }
120 template <typename UserPasswordT = Aws::String>
122 SetUserPassword(std::forward<UserPasswordT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_serverId;
128
129 Protocol m_serverProtocol{Protocol::NOT_SET};
130
131 Aws::String m_sourceIp;
132
133 Aws::String m_userName;
134
135 Aws::String m_userPassword;
136 bool m_serverIdHasBeenSet = false;
137 bool m_serverProtocolHasBeenSet = false;
138 bool m_sourceIpHasBeenSet = false;
139 bool m_userNameHasBeenSet = false;
140 bool m_userPasswordHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace Transfer
145} // namespace Aws
TestIdentityProviderRequest & WithServerProtocol(Protocol value)
AWS_TRANSFER_API TestIdentityProviderRequest()=default
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TRANSFER_API Aws::String SerializePayload() const override
TestIdentityProviderRequest & WithUserName(UserNameT &&value)
TestIdentityProviderRequest & WithServerId(ServerIdT &&value)
TestIdentityProviderRequest & WithSourceIp(SourceIpT &&value)
TestIdentityProviderRequest & WithUserPassword(UserPasswordT &&value)
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