7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ClientVpnConnectionStatus.h>
44 template <
typename ClientVpnEndpo
intIdT = Aws::String>
46 m_clientVpnEndpointIdHasBeenSet =
true;
47 m_clientVpnEndpointId = std::forward<ClientVpnEndpointIdT>(value);
49 template <
typename ClientVpnEndpo
intIdT = Aws::String>
62 template <
typename TimestampT = Aws::String>
64 m_timestampHasBeenSet =
true;
65 m_timestamp = std::forward<TimestampT>(value);
67 template <
typename TimestampT = Aws::String>
80 template <
typename ConnectionIdT = Aws::String>
82 m_connectionIdHasBeenSet =
true;
83 m_connectionId = std::forward<ConnectionIdT>(value);
85 template <
typename ConnectionIdT = Aws::String>
100 template <
typename UsernameT = Aws::String>
102 m_usernameHasBeenSet =
true;
103 m_username = std::forward<UsernameT>(value);
105 template <
typename UsernameT = Aws::String>
118 template <
typename ConnectionEstablishedTimeT = Aws::String>
120 m_connectionEstablishedTimeHasBeenSet =
true;
121 m_connectionEstablishedTime = std::forward<ConnectionEstablishedTimeT>(value);
123 template <
typename ConnectionEstablishedTimeT = Aws::String>
136 template <
typename IngressBytesT = Aws::String>
138 m_ingressBytesHasBeenSet =
true;
139 m_ingressBytes = std::forward<IngressBytesT>(value);
141 template <
typename IngressBytesT = Aws::String>
154 template <
typename EgressBytesT = Aws::String>
156 m_egressBytesHasBeenSet =
true;
157 m_egressBytes = std::forward<EgressBytesT>(value);
159 template <
typename EgressBytesT = Aws::String>
172 template <
typename IngressPacketsT = Aws::String>
174 m_ingressPacketsHasBeenSet =
true;
175 m_ingressPackets = std::forward<IngressPacketsT>(value);
177 template <
typename IngressPacketsT = Aws::String>
190 template <
typename EgressPacketsT = Aws::String>
192 m_egressPacketsHasBeenSet =
true;
193 m_egressPackets = std::forward<EgressPacketsT>(value);
195 template <
typename EgressPacketsT = Aws::String>
208 template <
typename ClientIpT = Aws::String>
210 m_clientIpHasBeenSet =
true;
211 m_clientIp = std::forward<ClientIpT>(value);
213 template <
typename ClientIpT = Aws::String>
229 template <
typename ClientIpv6AddressT = Aws::String>
231 m_clientIpv6AddressHasBeenSet =
true;
232 m_clientIpv6Address = std::forward<ClientIpv6AddressT>(value);
234 template <
typename ClientIpv6AddressT = Aws::String>
248 template <
typename CommonNameT = Aws::String>
250 m_commonNameHasBeenSet =
true;
251 m_commonName = std::forward<CommonNameT>(value);
253 template <
typename CommonNameT = Aws::String>
266 template <
typename StatusT = ClientVpnConnectionStatus>
268 m_statusHasBeenSet =
true;
269 m_status = std::forward<StatusT>(value);
271 template <
typename StatusT = ClientVpnConnectionStatus>
284 template <
typename ConnectionEndTimeT = Aws::String>
286 m_connectionEndTimeHasBeenSet =
true;
287 m_connectionEndTime = std::forward<ConnectionEndTimeT>(value);
289 template <
typename ConnectionEndTimeT = Aws::String>
303 template <
typename PostureComplianceStatusesT = Aws::Vector<Aws::String>>
305 m_postureComplianceStatusesHasBeenSet =
true;
306 m_postureComplianceStatuses = std::forward<PostureComplianceStatusesT>(value);
308 template <
typename PostureComplianceStatusesT = Aws::Vector<Aws::String>>
313 template <
typename PostureComplianceStatusesT = Aws::String>
315 m_postureComplianceStatusesHasBeenSet =
true;
316 m_postureComplianceStatuses.emplace_back(std::forward<PostureComplianceStatusesT>(value));
350 bool m_clientVpnEndpointIdHasBeenSet =
false;
351 bool m_timestampHasBeenSet =
false;
352 bool m_connectionIdHasBeenSet =
false;
353 bool m_usernameHasBeenSet =
false;
354 bool m_connectionEstablishedTimeHasBeenSet =
false;
355 bool m_ingressBytesHasBeenSet =
false;
356 bool m_egressBytesHasBeenSet =
false;
357 bool m_ingressPacketsHasBeenSet =
false;
358 bool m_egressPacketsHasBeenSet =
false;
359 bool m_clientIpHasBeenSet =
false;
360 bool m_clientIpv6AddressHasBeenSet =
false;
361 bool m_commonNameHasBeenSet =
false;
362 bool m_statusHasBeenSet =
false;
363 bool m_connectionEndTimeHasBeenSet =
false;
364 bool m_postureComplianceStatusesHasBeenSet =
false;
void SetConnectionEstablishedTime(ConnectionEstablishedTimeT &&value)
void SetEgressPackets(EgressPacketsT &&value)
void SetCommonName(CommonNameT &&value)
bool ClientIpHasBeenSet() const
ClientVpnConnection & WithConnectionEstablishedTime(ConnectionEstablishedTimeT &&value)
void SetIngressBytes(IngressBytesT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetClientVpnEndpointId(ClientVpnEndpointIdT &&value)
bool IngressPacketsHasBeenSet() const
ClientVpnConnection & WithConnectionId(ConnectionIdT &&value)
AWS_EC2_API ClientVpnConnection & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TimestampHasBeenSet() const
const Aws::String & GetConnectionId() const
bool ConnectionEndTimeHasBeenSet() const
void SetIngressPackets(IngressPacketsT &&value)
bool CommonNameHasBeenSet() const
ClientVpnConnection & WithStatus(StatusT &&value)
bool PostureComplianceStatusesHasBeenSet() const
ClientVpnConnection & WithClientIpv6Address(ClientIpv6AddressT &&value)
ClientVpnConnection & AddPostureComplianceStatuses(PostureComplianceStatusesT &&value)
const Aws::String & GetIngressPackets() const
void SetEgressBytes(EgressBytesT &&value)
ClientVpnConnection & WithIngressBytes(IngressBytesT &&value)
const Aws::String & GetIngressBytes() const
ClientVpnConnection & WithConnectionEndTime(ConnectionEndTimeT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetCommonName() const
const Aws::String & GetEgressPackets() const
bool IngressBytesHasBeenSet() const
void SetClientIpv6Address(ClientIpv6AddressT &&value)
void SetStatus(StatusT &&value)
ClientVpnConnection & WithEgressBytes(EgressBytesT &&value)
const Aws::String & GetUsername() const
const Aws::String & GetConnectionEstablishedTime() const
ClientVpnConnection & WithCommonName(CommonNameT &&value)
const Aws::Vector< Aws::String > & GetPostureComplianceStatuses() const
const Aws::String & GetClientIp() const
const ClientVpnConnectionStatus & GetStatus() const
ClientVpnConnection & WithUsername(UsernameT &&value)
AWS_EC2_API ClientVpnConnection()=default
AWS_EC2_API ClientVpnConnection(const Aws::Utils::Xml::XmlNode &xmlNode)
ClientVpnConnection & WithClientIp(ClientIpT &&value)
void SetPostureComplianceStatuses(PostureComplianceStatusesT &&value)
ClientVpnConnection & WithIngressPackets(IngressPacketsT &&value)
void SetTimestamp(TimestampT &&value)
ClientVpnConnection & WithPostureComplianceStatuses(PostureComplianceStatusesT &&value)
void SetUsername(UsernameT &&value)
bool ConnectionEstablishedTimeHasBeenSet() const
const Aws::String & GetConnectionEndTime() const
bool ClientIpv6AddressHasBeenSet() const
bool ClientVpnEndpointIdHasBeenSet() const
bool EgressBytesHasBeenSet() const
bool EgressPacketsHasBeenSet() const
bool ConnectionIdHasBeenSet() const
void SetClientIp(ClientIpT &&value)
void SetConnectionEndTime(ConnectionEndTimeT &&value)
const Aws::String & GetClientVpnEndpointId() const
ClientVpnConnection & WithEgressPackets(EgressPacketsT &&value)
const Aws::String & GetClientIpv6Address() const
bool UsernameHasBeenSet() const
void SetConnectionId(ConnectionIdT &&value)
ClientVpnConnection & WithClientVpnEndpointId(ClientVpnEndpointIdT &&value)
const Aws::String & GetTimestamp() const
const Aws::String & GetEgressBytes() const
ClientVpnConnection & WithTimestamp(TimestampT &&value)
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream