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/As2ConnectorConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/awstransfer/model/SftpConnectorConfig.h>
13#include <aws/awstransfer/model/Tag.h>
47 template<
typename UrlT = Aws::String>
48 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
49 template<
typename UrlT = Aws::String>
59 template<
typename As2ConfigT = As2ConnectorConfig>
60 void SetAs2Config(As2ConfigT&& value) { m_as2ConfigHasBeenSet =
true; m_as2Config = std::forward<As2ConfigT>(value); }
61 template<
typename As2ConfigT = As2ConnectorConfig>
94 template<
typename AccessRoleT = Aws::String>
95 void SetAccessRole(AccessRoleT&& value) { m_accessRoleHasBeenSet =
true; m_accessRole = std::forward<AccessRoleT>(value); }
96 template<
typename AccessRoleT = Aws::String>
108 template<
typename LoggingRoleT = Aws::String>
109 void SetLoggingRole(LoggingRoleT&& value) { m_loggingRoleHasBeenSet =
true; m_loggingRole = std::forward<LoggingRoleT>(value); }
110 template<
typename LoggingRoleT = Aws::String>
121 template<
typename TagsT = Aws::Vector<Tag>>
122 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
123 template<
typename TagsT = Aws::Vector<Tag>>
125 template<
typename TagsT = Tag>
135 template<
typename SftpConfigT = SftpConnectorConfig>
136 void SetSftpConfig(SftpConfigT&& value) { m_sftpConfigHasBeenSet =
true; m_sftpConfig = std::forward<SftpConfigT>(value); }
137 template<
typename SftpConfigT = SftpConnectorConfig>
147 template<
typename SecurityPolicyNameT = Aws::String>
148 void SetSecurityPolicyName(SecurityPolicyNameT&& value) { m_securityPolicyNameHasBeenSet =
true; m_securityPolicyName = std::forward<SecurityPolicyNameT>(value); }
149 template<
typename SecurityPolicyNameT = Aws::String>
155 bool m_urlHasBeenSet =
false;
158 bool m_as2ConfigHasBeenSet =
false;
161 bool m_accessRoleHasBeenSet =
false;
164 bool m_loggingRoleHasBeenSet =
false;
167 bool m_tagsHasBeenSet =
false;
170 bool m_sftpConfigHasBeenSet =
false;
173 bool m_securityPolicyNameHasBeenSet =
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
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 & WithSftpConfig(SftpConfigT &&value)
bool LoggingRoleHasBeenSet() 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