AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribedConnector.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/As2ConnectorConfig.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/awstransfer/model/SftpConnectorConfig.h>
12#include <aws/awstransfer/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Transfer
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_TRANSFER_API DescribedConnector();
42 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline DescribedConnector& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline DescribedConnector& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline DescribedConnector& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetConnectorId() const{ return m_connectorId; }
64 inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; }
65 inline void SetConnectorId(const Aws::String& value) { m_connectorIdHasBeenSet = true; m_connectorId = value; }
66 inline void SetConnectorId(Aws::String&& value) { m_connectorIdHasBeenSet = true; m_connectorId = std::move(value); }
67 inline void SetConnectorId(const char* value) { m_connectorIdHasBeenSet = true; m_connectorId.assign(value); }
68 inline DescribedConnector& WithConnectorId(const Aws::String& value) { SetConnectorId(value); return *this;}
69 inline DescribedConnector& WithConnectorId(Aws::String&& value) { SetConnectorId(std::move(value)); return *this;}
70 inline DescribedConnector& WithConnectorId(const char* value) { SetConnectorId(value); return *this;}
72
74
77 inline const Aws::String& GetUrl() const{ return m_url; }
78 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
79 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
80 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
81 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
82 inline DescribedConnector& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
83 inline DescribedConnector& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
84 inline DescribedConnector& WithUrl(const char* value) { SetUrl(value); return *this;}
86
88
91 inline const As2ConnectorConfig& GetAs2Config() const{ return m_as2Config; }
92 inline bool As2ConfigHasBeenSet() const { return m_as2ConfigHasBeenSet; }
93 inline void SetAs2Config(const As2ConnectorConfig& value) { m_as2ConfigHasBeenSet = true; m_as2Config = value; }
94 inline void SetAs2Config(As2ConnectorConfig&& value) { m_as2ConfigHasBeenSet = true; m_as2Config = std::move(value); }
95 inline DescribedConnector& WithAs2Config(const As2ConnectorConfig& value) { SetAs2Config(value); return *this;}
96 inline DescribedConnector& WithAs2Config(As2ConnectorConfig&& value) { SetAs2Config(std::move(value)); return *this;}
98
100
126 inline const Aws::String& GetAccessRole() const{ return m_accessRole; }
127 inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; }
128 inline void SetAccessRole(const Aws::String& value) { m_accessRoleHasBeenSet = true; m_accessRole = value; }
129 inline void SetAccessRole(Aws::String&& value) { m_accessRoleHasBeenSet = true; m_accessRole = std::move(value); }
130 inline void SetAccessRole(const char* value) { m_accessRoleHasBeenSet = true; m_accessRole.assign(value); }
131 inline DescribedConnector& WithAccessRole(const Aws::String& value) { SetAccessRole(value); return *this;}
132 inline DescribedConnector& WithAccessRole(Aws::String&& value) { SetAccessRole(std::move(value)); return *this;}
133 inline DescribedConnector& WithAccessRole(const char* value) { SetAccessRole(value); return *this;}
135
137
142 inline const Aws::String& GetLoggingRole() const{ return m_loggingRole; }
143 inline bool LoggingRoleHasBeenSet() const { return m_loggingRoleHasBeenSet; }
144 inline void SetLoggingRole(const Aws::String& value) { m_loggingRoleHasBeenSet = true; m_loggingRole = value; }
145 inline void SetLoggingRole(Aws::String&& value) { m_loggingRoleHasBeenSet = true; m_loggingRole = std::move(value); }
146 inline void SetLoggingRole(const char* value) { m_loggingRoleHasBeenSet = true; m_loggingRole.assign(value); }
147 inline DescribedConnector& WithLoggingRole(const Aws::String& value) { SetLoggingRole(value); return *this;}
148 inline DescribedConnector& WithLoggingRole(Aws::String&& value) { SetLoggingRole(std::move(value)); return *this;}
149 inline DescribedConnector& WithLoggingRole(const char* value) { SetLoggingRole(value); return *this;}
151
153
156 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
157 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
158 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
159 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
160 inline DescribedConnector& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
161 inline DescribedConnector& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
162 inline DescribedConnector& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
163 inline DescribedConnector& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
165
167
170 inline const SftpConnectorConfig& GetSftpConfig() const{ return m_sftpConfig; }
171 inline bool SftpConfigHasBeenSet() const { return m_sftpConfigHasBeenSet; }
172 inline void SetSftpConfig(const SftpConnectorConfig& value) { m_sftpConfigHasBeenSet = true; m_sftpConfig = value; }
173 inline void SetSftpConfig(SftpConnectorConfig&& value) { m_sftpConfigHasBeenSet = true; m_sftpConfig = std::move(value); }
174 inline DescribedConnector& WithSftpConfig(const SftpConnectorConfig& value) { SetSftpConfig(value); return *this;}
175 inline DescribedConnector& WithSftpConfig(SftpConnectorConfig&& value) { SetSftpConfig(std::move(value)); return *this;}
177
179
183 inline const Aws::Vector<Aws::String>& GetServiceManagedEgressIpAddresses() const{ return m_serviceManagedEgressIpAddresses; }
184 inline bool ServiceManagedEgressIpAddressesHasBeenSet() const { return m_serviceManagedEgressIpAddressesHasBeenSet; }
185 inline void SetServiceManagedEgressIpAddresses(const Aws::Vector<Aws::String>& value) { m_serviceManagedEgressIpAddressesHasBeenSet = true; m_serviceManagedEgressIpAddresses = value; }
186 inline void SetServiceManagedEgressIpAddresses(Aws::Vector<Aws::String>&& value) { m_serviceManagedEgressIpAddressesHasBeenSet = true; m_serviceManagedEgressIpAddresses = std::move(value); }
189 inline DescribedConnector& AddServiceManagedEgressIpAddresses(const Aws::String& value) { m_serviceManagedEgressIpAddressesHasBeenSet = true; m_serviceManagedEgressIpAddresses.push_back(value); return *this; }
190 inline DescribedConnector& AddServiceManagedEgressIpAddresses(Aws::String&& value) { m_serviceManagedEgressIpAddressesHasBeenSet = true; m_serviceManagedEgressIpAddresses.push_back(std::move(value)); return *this; }
191 inline DescribedConnector& AddServiceManagedEgressIpAddresses(const char* value) { m_serviceManagedEgressIpAddressesHasBeenSet = true; m_serviceManagedEgressIpAddresses.push_back(value); return *this; }
193
195
198 inline const Aws::String& GetSecurityPolicyName() const{ return m_securityPolicyName; }
199 inline bool SecurityPolicyNameHasBeenSet() const { return m_securityPolicyNameHasBeenSet; }
200 inline void SetSecurityPolicyName(const Aws::String& value) { m_securityPolicyNameHasBeenSet = true; m_securityPolicyName = value; }
201 inline void SetSecurityPolicyName(Aws::String&& value) { m_securityPolicyNameHasBeenSet = true; m_securityPolicyName = std::move(value); }
202 inline void SetSecurityPolicyName(const char* value) { m_securityPolicyNameHasBeenSet = true; m_securityPolicyName.assign(value); }
203 inline DescribedConnector& WithSecurityPolicyName(const Aws::String& value) { SetSecurityPolicyName(value); return *this;}
204 inline DescribedConnector& WithSecurityPolicyName(Aws::String&& value) { SetSecurityPolicyName(std::move(value)); return *this;}
205 inline DescribedConnector& WithSecurityPolicyName(const char* value) { SetSecurityPolicyName(value); return *this;}
207 private:
208
209 Aws::String m_arn;
210 bool m_arnHasBeenSet = false;
211
212 Aws::String m_connectorId;
213 bool m_connectorIdHasBeenSet = false;
214
215 Aws::String m_url;
216 bool m_urlHasBeenSet = false;
217
218 As2ConnectorConfig m_as2Config;
219 bool m_as2ConfigHasBeenSet = false;
220
221 Aws::String m_accessRole;
222 bool m_accessRoleHasBeenSet = false;
223
224 Aws::String m_loggingRole;
225 bool m_loggingRoleHasBeenSet = false;
226
227 Aws::Vector<Tag> m_tags;
228 bool m_tagsHasBeenSet = false;
229
230 SftpConnectorConfig m_sftpConfig;
231 bool m_sftpConfigHasBeenSet = false;
232
233 Aws::Vector<Aws::String> m_serviceManagedEgressIpAddresses;
234 bool m_serviceManagedEgressIpAddressesHasBeenSet = false;
235
236 Aws::String m_securityPolicyName;
237 bool m_securityPolicyNameHasBeenSet = false;
238 };
239
240} // namespace Model
241} // namespace Transfer
242} // namespace Aws
DescribedConnector & WithLoggingRole(Aws::String &&value)
DescribedConnector & WithTags(Aws::Vector< Tag > &&value)
DescribedConnector & AddTags(const Tag &value)
void SetAccessRole(const Aws::String &value)
DescribedConnector & AddServiceManagedEgressIpAddresses(const char *value)
void SetUrl(const Aws::String &value)
AWS_TRANSFER_API DescribedConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribedConnector & WithLoggingRole(const char *value)
DescribedConnector & WithSecurityPolicyName(Aws::String &&value)
DescribedConnector & WithConnectorId(const Aws::String &value)
void SetConnectorId(const Aws::String &value)
DescribedConnector & WithSecurityPolicyName(const Aws::String &value)
const Aws::String & GetConnectorId() const
DescribedConnector & WithSecurityPolicyName(const char *value)
DescribedConnector & WithSftpConfig(SftpConnectorConfig &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribedConnector & WithAs2Config(const As2ConnectorConfig &value)
DescribedConnector & WithArn(Aws::String &&value)
DescribedConnector & WithArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetServiceManagedEgressIpAddresses() const
DescribedConnector & WithServiceManagedEgressIpAddresses(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Tag > & GetTags() const
void SetArn(const Aws::String &value)
DescribedConnector & WithUrl(Aws::String &&value)
void SetSecurityPolicyName(Aws::String &&value)
void SetServiceManagedEgressIpAddresses(const Aws::Vector< Aws::String > &value)
const Aws::String & GetSecurityPolicyName() const
DescribedConnector & AddServiceManagedEgressIpAddresses(Aws::String &&value)
DescribedConnector & WithSftpConfig(const SftpConnectorConfig &value)
DescribedConnector & WithConnectorId(const char *value)
void SetAs2Config(const As2ConnectorConfig &value)
void SetAs2Config(As2ConnectorConfig &&value)
void SetSftpConfig(SftpConnectorConfig &&value)
const SftpConnectorConfig & GetSftpConfig() const
DescribedConnector & WithAccessRole(Aws::String &&value)
void SetServiceManagedEgressIpAddresses(Aws::Vector< Aws::String > &&value)
void SetLoggingRole(const Aws::String &value)
void SetSftpConfig(const SftpConnectorConfig &value)
DescribedConnector & AddServiceManagedEgressIpAddresses(const Aws::String &value)
DescribedConnector & WithServiceManagedEgressIpAddresses(const Aws::Vector< Aws::String > &value)
DescribedConnector & WithArn(const char *value)
DescribedConnector & AddTags(Tag &&value)
DescribedConnector & WithAccessRole(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
DescribedConnector & WithAs2Config(As2ConnectorConfig &&value)
DescribedConnector & WithConnectorId(Aws::String &&value)
DescribedConnector & WithAccessRole(const Aws::String &value)
DescribedConnector & WithUrl(const Aws::String &value)
void SetSecurityPolicyName(const Aws::String &value)
AWS_TRANSFER_API DescribedConnector(Aws::Utils::Json::JsonView jsonValue)
DescribedConnector & WithTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
const As2ConnectorConfig & GetAs2Config() const
DescribedConnector & WithUrl(const char *value)
DescribedConnector & WithLoggingRole(const Aws::String &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