AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TestIdentityProviderRequest.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/awstransfer/model/Protocol.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Transfer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSFER_API TestIdentityProviderRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "TestIdentityProvider"; }
32
33 AWS_TRANSFER_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetServerId() const { return m_serverId; }
44 inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; }
45 template<typename ServerIdT = Aws::String>
46 void SetServerId(ServerIdT&& value) { m_serverIdHasBeenSet = true; m_serverId = std::forward<ServerIdT>(value); }
47 template<typename ServerIdT = Aws::String>
48 TestIdentityProviderRequest& WithServerId(ServerIdT&& value) { SetServerId(std::forward<ServerIdT>(value)); return *this;}
50
52
59 inline Protocol GetServerProtocol() const { return m_serverProtocol; }
60 inline bool ServerProtocolHasBeenSet() const { return m_serverProtocolHasBeenSet; }
61 inline void SetServerProtocol(Protocol value) { m_serverProtocolHasBeenSet = true; m_serverProtocol = value; }
64
66
69 inline const Aws::String& GetSourceIp() const { return m_sourceIp; }
70 inline bool SourceIpHasBeenSet() const { return m_sourceIpHasBeenSet; }
71 template<typename SourceIpT = Aws::String>
72 void SetSourceIp(SourceIpT&& value) { m_sourceIpHasBeenSet = true; m_sourceIp = std::forward<SourceIpT>(value); }
73 template<typename SourceIpT = Aws::String>
74 TestIdentityProviderRequest& WithSourceIp(SourceIpT&& value) { SetSourceIp(std::forward<SourceIpT>(value)); return *this;}
76
78
81 inline const Aws::String& GetUserName() const { return m_userName; }
82 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
83 template<typename UserNameT = Aws::String>
84 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
85 template<typename UserNameT = Aws::String>
86 TestIdentityProviderRequest& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
88
90
93 inline const Aws::String& GetUserPassword() const { return m_userPassword; }
94 inline bool UserPasswordHasBeenSet() const { return m_userPasswordHasBeenSet; }
95 template<typename UserPasswordT = Aws::String>
96 void SetUserPassword(UserPasswordT&& value) { m_userPasswordHasBeenSet = true; m_userPassword = std::forward<UserPasswordT>(value); }
97 template<typename UserPasswordT = Aws::String>
98 TestIdentityProviderRequest& WithUserPassword(UserPasswordT&& value) { SetUserPassword(std::forward<UserPasswordT>(value)); return *this;}
100 private:
101
102 Aws::String m_serverId;
103 bool m_serverIdHasBeenSet = false;
104
105 Protocol m_serverProtocol{Protocol::NOT_SET};
106 bool m_serverProtocolHasBeenSet = false;
107
108 Aws::String m_sourceIp;
109 bool m_sourceIpHasBeenSet = false;
110
111 Aws::String m_userName;
112 bool m_userNameHasBeenSet = false;
113
114 Aws::String m_userPassword;
115 bool m_userPasswordHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Transfer
120} // 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