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/SftpConnectorConfig.h>
12#include <aws/awstransfer/model/Tag.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename UrlT = Aws::String>
49 m_urlHasBeenSet =
true;
50 m_url = std::forward<UrlT>(value);
52 template <
typename UrlT = Aws::String>
54 SetUrl(std::forward<UrlT>(value));
65 template <
typename As2ConfigT = As2ConnectorConfig>
67 m_as2ConfigHasBeenSet =
true;
68 m_as2Config = std::forward<As2ConfigT>(value);
70 template <
typename As2ConfigT = As2ConnectorConfig>
106 template <
typename AccessRoleT = Aws::String>
108 m_accessRoleHasBeenSet =
true;
109 m_accessRole = std::forward<AccessRoleT>(value);
111 template <
typename AccessRoleT = Aws::String>
126 template <
typename LoggingRoleT = Aws::String>
128 m_loggingRoleHasBeenSet =
true;
129 m_loggingRole = std::forward<LoggingRoleT>(value);
131 template <
typename LoggingRoleT = Aws::String>
145 template <
typename TagsT = Aws::Vector<Tag>>
147 m_tagsHasBeenSet =
true;
148 m_tags = std::forward<TagsT>(value);
150 template <
typename TagsT = Aws::Vector<Tag>>
152 SetTags(std::forward<TagsT>(value));
155 template <
typename TagsT = Tag>
157 m_tagsHasBeenSet =
true;
158 m_tags.emplace_back(std::forward<TagsT>(value));
169 template <
typename SftpConfigT = SftpConnectorConfig>
171 m_sftpConfigHasBeenSet =
true;
172 m_sftpConfig = std::forward<SftpConfigT>(value);
174 template <
typename SftpConfigT = SftpConnectorConfig>
187 template <
typename SecurityPolicyNameT = Aws::String>
189 m_securityPolicyNameHasBeenSet =
true;
190 m_securityPolicyName = std::forward<SecurityPolicyNameT>(value);
192 template <
typename SecurityPolicyNameT = Aws::String>
208 template <
typename EgressConfigT = ConnectorEgressConfig>
210 m_egressConfigHasBeenSet =
true;
211 m_egressConfig = std::forward<EgressConfigT>(value);
213 template <
typename EgressConfigT = ConnectorEgressConfig>
235 bool m_urlHasBeenSet =
false;
236 bool m_as2ConfigHasBeenSet =
false;
237 bool m_accessRoleHasBeenSet =
false;
238 bool m_loggingRoleHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
240 bool m_sftpConfigHasBeenSet =
false;
241 bool m_securityPolicyNameHasBeenSet =
false;
242 bool m_egressConfigHasBeenSet =
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 SetTags(TagsT &&value)
CreateConnectorRequest & WithAccessRole(AccessRoleT &&value)
void SetAccessRole(AccessRoleT &&value)
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 & WithUrl(UrlT &&value)
void SetSecurityPolicyName(SecurityPolicyNameT &&value)
CreateConnectorRequest & WithEgressConfig(EgressConfigT &&value)
bool EgressConfigHasBeenSet() const
CreateConnectorRequest & WithSftpConfig(SftpConfigT &&value)
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