7#include <aws/awstransfer/TransferRequest.h>
8#include <aws/awstransfer/Transfer_EXPORTS.h>
9#include <aws/awstransfer/model/As2ConnectorConfig.h>
10#include <aws/awstransfer/model/ConnectorEgressConfig.h>
11#include <aws/awstransfer/model/ConnectorsIpAddressType.h>
12#include <aws/awstransfer/model/SftpConnectorConfig.h>
13#include <aws/awstransfer/model/Tag.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename UrlT = Aws::String>
50 m_urlHasBeenSet =
true;
51 m_url = std::forward<UrlT>(value);
53 template <
typename UrlT = Aws::String>
55 SetUrl(std::forward<UrlT>(value));
66 template <
typename As2ConfigT = As2ConnectorConfig>
68 m_as2ConfigHasBeenSet =
true;
69 m_as2Config = std::forward<As2ConfigT>(value);
71 template <
typename As2ConfigT = As2ConnectorConfig>
107 template <
typename AccessRoleT = Aws::String>
109 m_accessRoleHasBeenSet =
true;
110 m_accessRole = std::forward<AccessRoleT>(value);
112 template <
typename AccessRoleT = Aws::String>
127 template <
typename LoggingRoleT = Aws::String>
129 m_loggingRoleHasBeenSet =
true;
130 m_loggingRole = std::forward<LoggingRoleT>(value);
132 template <
typename LoggingRoleT = Aws::String>
146 template <
typename TagsT = Aws::Vector<Tag>>
148 m_tagsHasBeenSet =
true;
149 m_tags = std::forward<TagsT>(value);
151 template <
typename TagsT = Aws::Vector<Tag>>
153 SetTags(std::forward<TagsT>(value));
156 template <
typename TagsT = Tag>
158 m_tagsHasBeenSet =
true;
159 m_tags.emplace_back(std::forward<TagsT>(value));
170 template <
typename SftpConfigT = SftpConnectorConfig>
172 m_sftpConfigHasBeenSet =
true;
173 m_sftpConfig = std::forward<SftpConfigT>(value);
175 template <
typename SftpConfigT = SftpConnectorConfig>
188 template <
typename SecurityPolicyNameT = Aws::String>
190 m_securityPolicyNameHasBeenSet =
true;
191 m_securityPolicyName = std::forward<SecurityPolicyNameT>(value);
193 template <
typename SecurityPolicyNameT = Aws::String>
209 template <
typename EgressConfigT = ConnectorEgressConfig>
211 m_egressConfigHasBeenSet =
true;
212 m_egressConfig = std::forward<EgressConfigT>(value);
214 template <
typename EgressConfigT = ConnectorEgressConfig>
231 m_ipAddressTypeHasBeenSet =
true;
232 m_ipAddressType = value;
257 bool m_urlHasBeenSet =
false;
258 bool m_as2ConfigHasBeenSet =
false;
259 bool m_accessRoleHasBeenSet =
false;
260 bool m_loggingRoleHasBeenSet =
false;
261 bool m_tagsHasBeenSet =
false;
262 bool m_sftpConfigHasBeenSet =
false;
263 bool m_securityPolicyNameHasBeenSet =
false;
264 bool m_egressConfigHasBeenSet =
false;
265 bool m_ipAddressTypeHasBeenSet =
false;
CreateConnectorRequest & WithLoggingRole(LoggingRoleT &&value)
bool AccessRoleHasBeenSet() const
bool SftpConfigHasBeenSet() const
CreateConnectorRequest & WithSecurityPolicyName(SecurityPolicyNameT &&value)
void SetLoggingRole(LoggingRoleT &&value)
void SetSftpConfig(SftpConfigT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TRANSFER_API CreateConnectorRequest()=default
void SetEgressConfig(EgressConfigT &&value)
const As2ConnectorConfig & GetAs2Config() const
AWS_TRANSFER_API Aws::String SerializePayload() const override
void SetUrl(UrlT &&value)
void SetAs2Config(As2ConfigT &&value)
void SetIpAddressType(ConnectorsIpAddressType value)
void SetTags(TagsT &&value)
CreateConnectorRequest & WithAccessRole(AccessRoleT &&value)
void SetAccessRole(AccessRoleT &&value)
bool IpAddressTypeHasBeenSet() const
bool As2ConfigHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetAccessRole() const
const Aws::String & GetLoggingRole() const
bool UrlHasBeenSet() const
CreateConnectorRequest & AddTags(TagsT &&value)
const SftpConnectorConfig & GetSftpConfig() const
virtual const char * GetServiceRequestName() const override
CreateConnectorRequest & WithTags(TagsT &&value)
const Aws::String & GetSecurityPolicyName() const
CreateConnectorRequest & WithIpAddressType(ConnectorsIpAddressType value)
CreateConnectorRequest & WithUrl(UrlT &&value)
void SetSecurityPolicyName(SecurityPolicyNameT &&value)
CreateConnectorRequest & WithEgressConfig(EgressConfigT &&value)
bool EgressConfigHasBeenSet() const
CreateConnectorRequest & WithSftpConfig(SftpConfigT &&value)
ConnectorsIpAddressType GetIpAddressType() const
bool LoggingRoleHasBeenSet() const
const ConnectorEgressConfig & GetEgressConfig() const
bool SecurityPolicyNameHasBeenSet() const
const Aws::String & GetUrl() const
CreateConnectorRequest & WithAs2Config(As2ConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector