7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/As2ConnectorConfig.h>
9#include <aws/awstransfer/model/ConnectorEgressType.h>
10#include <aws/awstransfer/model/ConnectorStatus.h>
11#include <aws/awstransfer/model/DescribedConnectorEgressConfig.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 ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
66 template <
typename ConnectorIdT = Aws::String>
68 m_connectorIdHasBeenSet =
true;
69 m_connectorId = std::forward<ConnectorIdT>(value);
71 template <
typename ConnectorIdT = Aws::String>
87 template <
typename UrlT = Aws::String>
89 m_urlHasBeenSet =
true;
90 m_url = std::forward<UrlT>(value);
92 template <
typename UrlT = Aws::String>
94 SetUrl(std::forward<UrlT>(value));
105 template <
typename As2ConfigT = As2ConnectorConfig>
107 m_as2ConfigHasBeenSet =
true;
108 m_as2Config = std::forward<As2ConfigT>(value);
110 template <
typename As2ConfigT = As2ConnectorConfig>
146 template <
typename AccessRoleT = Aws::String>
148 m_accessRoleHasBeenSet =
true;
149 m_accessRole = std::forward<AccessRoleT>(value);
151 template <
typename AccessRoleT = Aws::String>
166 template <
typename LoggingRoleT = Aws::String>
168 m_loggingRoleHasBeenSet =
true;
169 m_loggingRole = std::forward<LoggingRoleT>(value);
171 template <
typename LoggingRoleT = Aws::String>
184 template <
typename TagsT = Aws::Vector<Tag>>
186 m_tagsHasBeenSet =
true;
187 m_tags = std::forward<TagsT>(value);
189 template <
typename TagsT = Aws::Vector<Tag>>
191 SetTags(std::forward<TagsT>(value));
194 template <
typename TagsT = Tag>
196 m_tagsHasBeenSet =
true;
197 m_tags.emplace_back(std::forward<TagsT>(value));
208 template <
typename SftpConfigT = SftpConnectorConfig>
210 m_sftpConfigHasBeenSet =
true;
211 m_sftpConfig = std::forward<SftpConfigT>(value);
213 template <
typename SftpConfigT = SftpConnectorConfig>
227 template <
typename ServiceManagedEgressIpAddressesT = Aws::Vector<Aws::String>>
229 m_serviceManagedEgressIpAddressesHasBeenSet =
true;
230 m_serviceManagedEgressIpAddresses = std::forward<ServiceManagedEgressIpAddressesT>(value);
232 template <
typename ServiceManagedEgressIpAddressesT = Aws::Vector<Aws::String>>
237 template <
typename ServiceManagedEgressIpAddressesT = Aws::String>
239 m_serviceManagedEgressIpAddressesHasBeenSet =
true;
240 m_serviceManagedEgressIpAddresses.emplace_back(std::forward<ServiceManagedEgressIpAddressesT>(value));
251 template <
typename SecurityPolicyNameT = Aws::String>
253 m_securityPolicyNameHasBeenSet =
true;
254 m_securityPolicyName = std::forward<SecurityPolicyNameT>(value);
256 template <
typename SecurityPolicyNameT = Aws::String>
272 template <
typename EgressConfigT = DescribedConnectorEgressConfig>
274 m_egressConfigHasBeenSet =
true;
275 m_egressConfig = std::forward<EgressConfigT>(value);
277 template <
typename EgressConfigT = DescribedConnectorEgressConfig>
293 m_egressTypeHasBeenSet =
true;
294 m_egressType = value;
310 template <
typename ErrorMessageT = Aws::String>
312 m_errorMessageHasBeenSet =
true;
313 m_errorMessage = std::forward<ErrorMessageT>(value);
315 template <
typename ErrorMessageT = Aws::String>
331 m_statusHasBeenSet =
true;
367 bool m_arnHasBeenSet =
false;
368 bool m_connectorIdHasBeenSet =
false;
369 bool m_urlHasBeenSet =
false;
370 bool m_as2ConfigHasBeenSet =
false;
371 bool m_accessRoleHasBeenSet =
false;
372 bool m_loggingRoleHasBeenSet =
false;
373 bool m_tagsHasBeenSet =
false;
374 bool m_sftpConfigHasBeenSet =
false;
375 bool m_serviceManagedEgressIpAddressesHasBeenSet =
false;
376 bool m_securityPolicyNameHasBeenSet =
false;
377 bool m_egressConfigHasBeenSet =
false;
378 bool m_egressTypeHasBeenSet =
false;
379 bool m_errorMessageHasBeenSet =
false;
380 bool m_statusHasBeenSet =
false;
AWS_TRANSFER_API DescribedConnector()=default
const Aws::String & GetUrl() const
void SetConnectorId(ConnectorIdT &&value)
void SetEgressType(ConnectorEgressType value)
void SetEgressConfig(EgressConfigT &&value)
AWS_TRANSFER_API DescribedConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ConnectorStatus value)
DescribedConnector & WithStatus(ConnectorStatus value)
const Aws::String & GetConnectorId() const
bool SftpConfigHasBeenSet() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceManagedEgressIpAddressesHasBeenSet() const
void SetArn(ArnT &&value)
bool StatusHasBeenSet() const
bool ConnectorIdHasBeenSet() const
DescribedConnector & WithLoggingRole(LoggingRoleT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetAccessRole() const
const Aws::Vector< Aws::String > & GetServiceManagedEgressIpAddresses() const
DescribedConnector & WithAs2Config(As2ConfigT &&value)
const Aws::Vector< Tag > & GetTags() const
DescribedConnector & WithServiceManagedEgressIpAddresses(ServiceManagedEgressIpAddressesT &&value)
const Aws::String & GetErrorMessage() const
const DescribedConnectorEgressConfig & GetEgressConfig() const
void SetAccessRole(AccessRoleT &&value)
ConnectorEgressType GetEgressType() const
bool TagsHasBeenSet() const
const Aws::String & GetSecurityPolicyName() const
bool SecurityPolicyNameHasBeenSet() const
DescribedConnector & WithAccessRole(AccessRoleT &&value)
const SftpConnectorConfig & GetSftpConfig() const
bool UrlHasBeenSet() const
void SetLoggingRole(LoggingRoleT &&value)
DescribedConnector & WithSftpConfig(SftpConfigT &&value)
DescribedConnector & WithErrorMessage(ErrorMessageT &&value)
void SetSecurityPolicyName(SecurityPolicyNameT &&value)
const Aws::String & GetArn() const
DescribedConnector & WithTags(TagsT &&value)
bool EgressTypeHasBeenSet() const
DescribedConnector & WithUrl(UrlT &&value)
DescribedConnector & WithArn(ArnT &&value)
void SetAs2Config(As2ConfigT &&value)
void SetServiceManagedEgressIpAddresses(ServiceManagedEgressIpAddressesT &&value)
const Aws::String & GetLoggingRole() const
DescribedConnector & WithEgressConfig(EgressConfigT &&value)
bool EgressConfigHasBeenSet() const
DescribedConnector & AddServiceManagedEgressIpAddresses(ServiceManagedEgressIpAddressesT &&value)
DescribedConnector & WithConnectorId(ConnectorIdT &&value)
bool AccessRoleHasBeenSet() const
bool LoggingRoleHasBeenSet() const
DescribedConnector & WithSecurityPolicyName(SecurityPolicyNameT &&value)
void SetUrl(UrlT &&value)
void SetErrorMessage(ErrorMessageT &&value)
bool ArnHasBeenSet() const
DescribedConnector & WithEgressType(ConnectorEgressType value)
ConnectorStatus GetStatus() const
AWS_TRANSFER_API DescribedConnector(Aws::Utils::Json::JsonView jsonValue)
void SetSftpConfig(SftpConfigT &&value)
const As2ConnectorConfig & GetAs2Config() const
bool As2ConfigHasBeenSet() const
bool ErrorMessageHasBeenSet() const
DescribedConnector & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue