AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEc2ClientVpnEndpointDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEc2ClientVpnEndpointConnectionLogOptionsDetails.h>
11#include <aws/securityhub/model/AwsEc2ClientVpnEndpointClientConnectOptionsDetails.h>
12#include <aws/securityhub/model/AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails.h>
13#include <aws/securityhub/model/AwsEc2ClientVpnEndpointAuthenticationOptionsDetails.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SecurityHub
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_SECURITYHUB_API AwsEc2ClientVpnEndpointDetails();
44 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; }
52 inline bool ClientVpnEndpointIdHasBeenSet() const { return m_clientVpnEndpointIdHasBeenSet; }
53 inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = value; }
54 inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId = std::move(value); }
55 inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointIdHasBeenSet = true; m_clientVpnEndpointId.assign(value); }
58 inline AwsEc2ClientVpnEndpointDetails& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
70 inline AwsEc2ClientVpnEndpointDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline AwsEc2ClientVpnEndpointDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline AwsEc2ClientVpnEndpointDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
80 inline const Aws::String& GetClientCidrBlock() const{ return m_clientCidrBlock; }
81 inline bool ClientCidrBlockHasBeenSet() const { return m_clientCidrBlockHasBeenSet; }
82 inline void SetClientCidrBlock(const Aws::String& value) { m_clientCidrBlockHasBeenSet = true; m_clientCidrBlock = value; }
83 inline void SetClientCidrBlock(Aws::String&& value) { m_clientCidrBlockHasBeenSet = true; m_clientCidrBlock = std::move(value); }
84 inline void SetClientCidrBlock(const char* value) { m_clientCidrBlockHasBeenSet = true; m_clientCidrBlock.assign(value); }
86 inline AwsEc2ClientVpnEndpointDetails& WithClientCidrBlock(Aws::String&& value) { SetClientCidrBlock(std::move(value)); return *this;}
87 inline AwsEc2ClientVpnEndpointDetails& WithClientCidrBlock(const char* value) { SetClientCidrBlock(value); return *this;}
89
91
94 inline const Aws::Vector<Aws::String>& GetDnsServer() const{ return m_dnsServer; }
95 inline bool DnsServerHasBeenSet() const { return m_dnsServerHasBeenSet; }
96 inline void SetDnsServer(const Aws::Vector<Aws::String>& value) { m_dnsServerHasBeenSet = true; m_dnsServer = value; }
97 inline void SetDnsServer(Aws::Vector<Aws::String>&& value) { m_dnsServerHasBeenSet = true; m_dnsServer = std::move(value); }
99 inline AwsEc2ClientVpnEndpointDetails& WithDnsServer(Aws::Vector<Aws::String>&& value) { SetDnsServer(std::move(value)); return *this;}
100 inline AwsEc2ClientVpnEndpointDetails& AddDnsServer(const Aws::String& value) { m_dnsServerHasBeenSet = true; m_dnsServer.push_back(value); return *this; }
101 inline AwsEc2ClientVpnEndpointDetails& AddDnsServer(Aws::String&& value) { m_dnsServerHasBeenSet = true; m_dnsServer.push_back(std::move(value)); return *this; }
102 inline AwsEc2ClientVpnEndpointDetails& AddDnsServer(const char* value) { m_dnsServerHasBeenSet = true; m_dnsServer.push_back(value); return *this; }
104
106
109 inline bool GetSplitTunnel() const{ return m_splitTunnel; }
110 inline bool SplitTunnelHasBeenSet() const { return m_splitTunnelHasBeenSet; }
111 inline void SetSplitTunnel(bool value) { m_splitTunnelHasBeenSet = true; m_splitTunnel = value; }
112 inline AwsEc2ClientVpnEndpointDetails& WithSplitTunnel(bool value) { SetSplitTunnel(value); return *this;}
114
116
119 inline const Aws::String& GetTransportProtocol() const{ return m_transportProtocol; }
120 inline bool TransportProtocolHasBeenSet() const { return m_transportProtocolHasBeenSet; }
121 inline void SetTransportProtocol(const Aws::String& value) { m_transportProtocolHasBeenSet = true; m_transportProtocol = value; }
122 inline void SetTransportProtocol(Aws::String&& value) { m_transportProtocolHasBeenSet = true; m_transportProtocol = std::move(value); }
123 inline void SetTransportProtocol(const char* value) { m_transportProtocolHasBeenSet = true; m_transportProtocol.assign(value); }
126 inline AwsEc2ClientVpnEndpointDetails& WithTransportProtocol(const char* value) { SetTransportProtocol(value); return *this;}
128
130
133 inline int GetVpnPort() const{ return m_vpnPort; }
134 inline bool VpnPortHasBeenSet() const { return m_vpnPortHasBeenSet; }
135 inline void SetVpnPort(int value) { m_vpnPortHasBeenSet = true; m_vpnPort = value; }
136 inline AwsEc2ClientVpnEndpointDetails& WithVpnPort(int value) { SetVpnPort(value); return *this;}
138
140
143 inline const Aws::String& GetServerCertificateArn() const{ return m_serverCertificateArn; }
144 inline bool ServerCertificateArnHasBeenSet() const { return m_serverCertificateArnHasBeenSet; }
145 inline void SetServerCertificateArn(const Aws::String& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = value; }
146 inline void SetServerCertificateArn(Aws::String&& value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn = std::move(value); }
147 inline void SetServerCertificateArn(const char* value) { m_serverCertificateArnHasBeenSet = true; m_serverCertificateArn.assign(value); }
150 inline AwsEc2ClientVpnEndpointDetails& WithServerCertificateArn(const char* value) { SetServerCertificateArn(value); return *this;}
152
154
159 inline bool AuthenticationOptionsHasBeenSet() const { return m_authenticationOptionsHasBeenSet; }
160 inline void SetAuthenticationOptions(const Aws::Vector<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails>& value) { m_authenticationOptionsHasBeenSet = true; m_authenticationOptions = value; }
161 inline void SetAuthenticationOptions(Aws::Vector<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails>&& value) { m_authenticationOptionsHasBeenSet = true; m_authenticationOptions = std::move(value); }
164 inline AwsEc2ClientVpnEndpointDetails& AddAuthenticationOptions(const AwsEc2ClientVpnEndpointAuthenticationOptionsDetails& value) { m_authenticationOptionsHasBeenSet = true; m_authenticationOptions.push_back(value); return *this; }
165 inline AwsEc2ClientVpnEndpointDetails& AddAuthenticationOptions(AwsEc2ClientVpnEndpointAuthenticationOptionsDetails&& value) { m_authenticationOptionsHasBeenSet = true; m_authenticationOptions.push_back(std::move(value)); return *this; }
167
169
173 inline const AwsEc2ClientVpnEndpointConnectionLogOptionsDetails& GetConnectionLogOptions() const{ return m_connectionLogOptions; }
174 inline bool ConnectionLogOptionsHasBeenSet() const { return m_connectionLogOptionsHasBeenSet; }
175 inline void SetConnectionLogOptions(const AwsEc2ClientVpnEndpointConnectionLogOptionsDetails& value) { m_connectionLogOptionsHasBeenSet = true; m_connectionLogOptions = value; }
176 inline void SetConnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails&& value) { m_connectionLogOptionsHasBeenSet = true; m_connectionLogOptions = std::move(value); }
180
182
185 inline const Aws::Vector<Aws::String>& GetSecurityGroupIdSet() const{ return m_securityGroupIdSet; }
186 inline bool SecurityGroupIdSetHasBeenSet() const { return m_securityGroupIdSetHasBeenSet; }
187 inline void SetSecurityGroupIdSet(const Aws::Vector<Aws::String>& value) { m_securityGroupIdSetHasBeenSet = true; m_securityGroupIdSet = value; }
188 inline void SetSecurityGroupIdSet(Aws::Vector<Aws::String>&& value) { m_securityGroupIdSetHasBeenSet = true; m_securityGroupIdSet = std::move(value); }
191 inline AwsEc2ClientVpnEndpointDetails& AddSecurityGroupIdSet(const Aws::String& value) { m_securityGroupIdSetHasBeenSet = true; m_securityGroupIdSet.push_back(value); return *this; }
192 inline AwsEc2ClientVpnEndpointDetails& AddSecurityGroupIdSet(Aws::String&& value) { m_securityGroupIdSetHasBeenSet = true; m_securityGroupIdSet.push_back(std::move(value)); return *this; }
193 inline AwsEc2ClientVpnEndpointDetails& AddSecurityGroupIdSet(const char* value) { m_securityGroupIdSetHasBeenSet = true; m_securityGroupIdSet.push_back(value); return *this; }
195
197
200 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
201 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
202 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
203 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
204 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
205 inline AwsEc2ClientVpnEndpointDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
206 inline AwsEc2ClientVpnEndpointDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
207 inline AwsEc2ClientVpnEndpointDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;}
209
211
214 inline const Aws::String& GetSelfServicePortalUrl() const{ return m_selfServicePortalUrl; }
215 inline bool SelfServicePortalUrlHasBeenSet() const { return m_selfServicePortalUrlHasBeenSet; }
216 inline void SetSelfServicePortalUrl(const Aws::String& value) { m_selfServicePortalUrlHasBeenSet = true; m_selfServicePortalUrl = value; }
217 inline void SetSelfServicePortalUrl(Aws::String&& value) { m_selfServicePortalUrlHasBeenSet = true; m_selfServicePortalUrl = std::move(value); }
218 inline void SetSelfServicePortalUrl(const char* value) { m_selfServicePortalUrlHasBeenSet = true; m_selfServicePortalUrl.assign(value); }
221 inline AwsEc2ClientVpnEndpointDetails& WithSelfServicePortalUrl(const char* value) { SetSelfServicePortalUrl(value); return *this;}
223
225
229 inline const AwsEc2ClientVpnEndpointClientConnectOptionsDetails& GetClientConnectOptions() const{ return m_clientConnectOptions; }
230 inline bool ClientConnectOptionsHasBeenSet() const { return m_clientConnectOptionsHasBeenSet; }
231 inline void SetClientConnectOptions(const AwsEc2ClientVpnEndpointClientConnectOptionsDetails& value) { m_clientConnectOptionsHasBeenSet = true; m_clientConnectOptions = value; }
232 inline void SetClientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails&& value) { m_clientConnectOptionsHasBeenSet = true; m_clientConnectOptions = std::move(value); }
236
238
241 inline int GetSessionTimeoutHours() const{ return m_sessionTimeoutHours; }
242 inline bool SessionTimeoutHoursHasBeenSet() const { return m_sessionTimeoutHoursHasBeenSet; }
243 inline void SetSessionTimeoutHours(int value) { m_sessionTimeoutHoursHasBeenSet = true; m_sessionTimeoutHours = value; }
246
248
252 inline const AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails& GetClientLoginBannerOptions() const{ return m_clientLoginBannerOptions; }
253 inline bool ClientLoginBannerOptionsHasBeenSet() const { return m_clientLoginBannerOptionsHasBeenSet; }
254 inline void SetClientLoginBannerOptions(const AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails& value) { m_clientLoginBannerOptionsHasBeenSet = true; m_clientLoginBannerOptions = value; }
255 inline void SetClientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails&& value) { m_clientLoginBannerOptionsHasBeenSet = true; m_clientLoginBannerOptions = std::move(value); }
259 private:
260
261 Aws::String m_clientVpnEndpointId;
262 bool m_clientVpnEndpointIdHasBeenSet = false;
263
264 Aws::String m_description;
265 bool m_descriptionHasBeenSet = false;
266
267 Aws::String m_clientCidrBlock;
268 bool m_clientCidrBlockHasBeenSet = false;
269
270 Aws::Vector<Aws::String> m_dnsServer;
271 bool m_dnsServerHasBeenSet = false;
272
273 bool m_splitTunnel;
274 bool m_splitTunnelHasBeenSet = false;
275
276 Aws::String m_transportProtocol;
277 bool m_transportProtocolHasBeenSet = false;
278
279 int m_vpnPort;
280 bool m_vpnPortHasBeenSet = false;
281
282 Aws::String m_serverCertificateArn;
283 bool m_serverCertificateArnHasBeenSet = false;
284
286 bool m_authenticationOptionsHasBeenSet = false;
287
289 bool m_connectionLogOptionsHasBeenSet = false;
290
291 Aws::Vector<Aws::String> m_securityGroupIdSet;
292 bool m_securityGroupIdSetHasBeenSet = false;
293
294 Aws::String m_vpcId;
295 bool m_vpcIdHasBeenSet = false;
296
297 Aws::String m_selfServicePortalUrl;
298 bool m_selfServicePortalUrlHasBeenSet = false;
299
301 bool m_clientConnectOptionsHasBeenSet = false;
302
303 int m_sessionTimeoutHours;
304 bool m_sessionTimeoutHoursHasBeenSet = false;
305
307 bool m_clientLoginBannerOptionsHasBeenSet = false;
308 };
309
310} // namespace Model
311} // namespace SecurityHub
312} // namespace Aws
AwsEc2ClientVpnEndpointDetails & WithClientCidrBlock(const Aws::String &value)
AwsEc2ClientVpnEndpointDetails & WithServerCertificateArn(const Aws::String &value)
void SetClientLoginBannerOptions(const AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails &value)
const AwsEc2ClientVpnEndpointConnectionLogOptionsDetails & GetConnectionLogOptions() const
void SetClientConnectOptions(const AwsEc2ClientVpnEndpointClientConnectOptionsDetails &value)
AwsEc2ClientVpnEndpointDetails & WithDescription(const Aws::String &value)
AwsEc2ClientVpnEndpointDetails & WithTransportProtocol(const Aws::String &value)
AwsEc2ClientVpnEndpointDetails & WithClientCidrBlock(const char *value)
AwsEc2ClientVpnEndpointDetails & WithDescription(Aws::String &&value)
AwsEc2ClientVpnEndpointDetails & AddSecurityGroupIdSet(const Aws::String &value)
AwsEc2ClientVpnEndpointDetails & WithServerCertificateArn(Aws::String &&value)
AwsEc2ClientVpnEndpointDetails & AddSecurityGroupIdSet(Aws::String &&value)
AwsEc2ClientVpnEndpointDetails & WithClientLoginBannerOptions(const AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails &value)
AwsEc2ClientVpnEndpointDetails & WithSelfServicePortalUrl(Aws::String &&value)
AwsEc2ClientVpnEndpointDetails & WithTransportProtocol(const char *value)
AwsEc2ClientVpnEndpointDetails & WithClientCidrBlock(Aws::String &&value)
AwsEc2ClientVpnEndpointDetails & WithTransportProtocol(Aws::String &&value)
const AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails & GetClientLoginBannerOptions() const
AwsEc2ClientVpnEndpointDetails & AddAuthenticationOptions(AwsEc2ClientVpnEndpointAuthenticationOptionsDetails &&value)
void SetSecurityGroupIdSet(const Aws::Vector< Aws::String > &value)
AwsEc2ClientVpnEndpointDetails & WithConnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails &&value)
void SetConnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2ClientVpnEndpointDetails & WithConnectionLogOptions(const AwsEc2ClientVpnEndpointConnectionLogOptionsDetails &value)
AwsEc2ClientVpnEndpointDetails & WithVpcId(const char *value)
AwsEc2ClientVpnEndpointDetails & WithVpcId(Aws::String &&value)
void SetClientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails &&value)
AwsEc2ClientVpnEndpointDetails & AddDnsServer(Aws::String &&value)
AwsEc2ClientVpnEndpointDetails & AddDnsServer(const char *value)
AwsEc2ClientVpnEndpointDetails & WithServerCertificateArn(const char *value)
AwsEc2ClientVpnEndpointDetails & WithDnsServer(Aws::Vector< Aws::String > &&value)
AwsEc2ClientVpnEndpointDetails & WithClientConnectOptions(const AwsEc2ClientVpnEndpointClientConnectOptionsDetails &value)
AwsEc2ClientVpnEndpointDetails & WithClientVpnEndpointId(const Aws::String &value)
AwsEc2ClientVpnEndpointDetails & AddDnsServer(const Aws::String &value)
AwsEc2ClientVpnEndpointDetails & WithAuthenticationOptions(Aws::Vector< AwsEc2ClientVpnEndpointAuthenticationOptionsDetails > &&value)
AwsEc2ClientVpnEndpointDetails & WithDnsServer(const Aws::Vector< Aws::String > &value)
void SetAuthenticationOptions(const Aws::Vector< AwsEc2ClientVpnEndpointAuthenticationOptionsDetails > &value)
AwsEc2ClientVpnEndpointDetails & WithClientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails &&value)
void SetAuthenticationOptions(Aws::Vector< AwsEc2ClientVpnEndpointAuthenticationOptionsDetails > &&value)
AwsEc2ClientVpnEndpointDetails & WithSelfServicePortalUrl(const char *value)
AwsEc2ClientVpnEndpointDetails & WithSecurityGroupIdSet(const Aws::Vector< Aws::String > &value)
const AwsEc2ClientVpnEndpointClientConnectOptionsDetails & GetClientConnectOptions() const
AwsEc2ClientVpnEndpointDetails & WithClientVpnEndpointId(Aws::String &&value)
AwsEc2ClientVpnEndpointDetails & AddAuthenticationOptions(const AwsEc2ClientVpnEndpointAuthenticationOptionsDetails &value)
AWS_SECURITYHUB_API AwsEc2ClientVpnEndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2ClientVpnEndpointDetails & WithSelfServicePortalUrl(const Aws::String &value)
AwsEc2ClientVpnEndpointDetails & WithSecurityGroupIdSet(Aws::Vector< Aws::String > &&value)
void SetClientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails &&value)
AwsEc2ClientVpnEndpointDetails & WithClientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails &&value)
AwsEc2ClientVpnEndpointDetails & WithAuthenticationOptions(const Aws::Vector< AwsEc2ClientVpnEndpointAuthenticationOptionsDetails > &value)
AwsEc2ClientVpnEndpointDetails & WithVpcId(const Aws::String &value)
AwsEc2ClientVpnEndpointDetails & AddSecurityGroupIdSet(const char *value)
const Aws::Vector< AwsEc2ClientVpnEndpointAuthenticationOptionsDetails > & GetAuthenticationOptions() const
AwsEc2ClientVpnEndpointDetails & WithDescription(const char *value)
AWS_SECURITYHUB_API AwsEc2ClientVpnEndpointDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2ClientVpnEndpointDetails & WithClientVpnEndpointId(const char *value)
AwsEc2ClientVpnEndpointDetails & WithSessionTimeoutHours(int value)
void SetConnectionLogOptions(const AwsEc2ClientVpnEndpointConnectionLogOptionsDetails &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