AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServerId(const Aws::String& value) { m_serverIdHasBeenSet = true; m_serverId = value; }
46 inline void SetServerId(Aws::String&& value) { m_serverIdHasBeenSet = true; m_serverId = std::move(value); }
47 inline void SetServerId(const char* value) { m_serverIdHasBeenSet = true; m_serverId.assign(value); }
48 inline TestIdentityProviderRequest& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
49 inline TestIdentityProviderRequest& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
50 inline TestIdentityProviderRequest& WithServerId(const char* value) { SetServerId(value); return *this;}
52
54
61 inline const Protocol& GetServerProtocol() const{ return m_serverProtocol; }
62 inline bool ServerProtocolHasBeenSet() const { return m_serverProtocolHasBeenSet; }
63 inline void SetServerProtocol(const Protocol& value) { m_serverProtocolHasBeenSet = true; m_serverProtocol = value; }
64 inline void SetServerProtocol(Protocol&& value) { m_serverProtocolHasBeenSet = true; m_serverProtocol = std::move(value); }
65 inline TestIdentityProviderRequest& WithServerProtocol(const Protocol& value) { SetServerProtocol(value); return *this;}
66 inline TestIdentityProviderRequest& WithServerProtocol(Protocol&& value) { SetServerProtocol(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetSourceIp() const{ return m_sourceIp; }
74 inline bool SourceIpHasBeenSet() const { return m_sourceIpHasBeenSet; }
75 inline void SetSourceIp(const Aws::String& value) { m_sourceIpHasBeenSet = true; m_sourceIp = value; }
76 inline void SetSourceIp(Aws::String&& value) { m_sourceIpHasBeenSet = true; m_sourceIp = std::move(value); }
77 inline void SetSourceIp(const char* value) { m_sourceIpHasBeenSet = true; m_sourceIp.assign(value); }
78 inline TestIdentityProviderRequest& WithSourceIp(const Aws::String& value) { SetSourceIp(value); return *this;}
79 inline TestIdentityProviderRequest& WithSourceIp(Aws::String&& value) { SetSourceIp(std::move(value)); return *this;}
80 inline TestIdentityProviderRequest& WithSourceIp(const char* value) { SetSourceIp(value); return *this;}
82
84
87 inline const Aws::String& GetUserName() const{ return m_userName; }
88 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
89 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
90 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
91 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
92 inline TestIdentityProviderRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
93 inline TestIdentityProviderRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
94 inline TestIdentityProviderRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
96
98
101 inline const Aws::String& GetUserPassword() const{ return m_userPassword; }
102 inline bool UserPasswordHasBeenSet() const { return m_userPasswordHasBeenSet; }
103 inline void SetUserPassword(const Aws::String& value) { m_userPasswordHasBeenSet = true; m_userPassword = value; }
104 inline void SetUserPassword(Aws::String&& value) { m_userPasswordHasBeenSet = true; m_userPassword = std::move(value); }
105 inline void SetUserPassword(const char* value) { m_userPasswordHasBeenSet = true; m_userPassword.assign(value); }
106 inline TestIdentityProviderRequest& WithUserPassword(const Aws::String& value) { SetUserPassword(value); return *this;}
107 inline TestIdentityProviderRequest& WithUserPassword(Aws::String&& value) { SetUserPassword(std::move(value)); return *this;}
108 inline TestIdentityProviderRequest& WithUserPassword(const char* value) { SetUserPassword(value); return *this;}
110 private:
111
112 Aws::String m_serverId;
113 bool m_serverIdHasBeenSet = false;
114
115 Protocol m_serverProtocol;
116 bool m_serverProtocolHasBeenSet = false;
117
118 Aws::String m_sourceIp;
119 bool m_sourceIpHasBeenSet = false;
120
121 Aws::String m_userName;
122 bool m_userNameHasBeenSet = false;
123
124 Aws::String m_userPassword;
125 bool m_userPasswordHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Transfer
130} // namespace Aws
TestIdentityProviderRequest & WithServerId(Aws::String &&value)
TestIdentityProviderRequest & WithServerId(const Aws::String &value)
TestIdentityProviderRequest & WithUserPassword(const char *value)
TestIdentityProviderRequest & WithUserName(const Aws::String &value)
TestIdentityProviderRequest & WithSourceIp(const Aws::String &value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TestIdentityProviderRequest & WithServerProtocol(const Protocol &value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
TestIdentityProviderRequest & WithUserPassword(const Aws::String &value)
TestIdentityProviderRequest & WithUserPassword(Aws::String &&value)
TestIdentityProviderRequest & WithUserName(const char *value)
TestIdentityProviderRequest & WithSourceIp(Aws::String &&value)
TestIdentityProviderRequest & WithUserName(Aws::String &&value)
TestIdentityProviderRequest & WithSourceIp(const char *value)
TestIdentityProviderRequest & WithServerProtocol(Protocol &&value)
virtual const char * GetServiceRequestName() const override
TestIdentityProviderRequest & WithServerId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String