7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ClientVpnConnectionStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename ClientVpnEndpo
intIdT = Aws::String>
51 void SetClientVpnEndpointId(ClientVpnEndpointIdT&& value) { m_clientVpnEndpointIdHasBeenSet =
true; m_clientVpnEndpointId = std::forward<ClientVpnEndpointIdT>(value); }
52 template<
typename ClientVpnEndpo
intIdT = Aws::String>
62 template<
typename TimestampT = Aws::String>
63 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
64 template<
typename TimestampT = Aws::String>
74 template<
typename ConnectionIdT = Aws::String>
75 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
76 template<
typename ConnectionIdT = Aws::String>
88 template<
typename UsernameT = Aws::String>
89 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
90 template<
typename UsernameT = Aws::String>
100 template<
typename ConnectionEstablishedTimeT = Aws::String>
101 void SetConnectionEstablishedTime(ConnectionEstablishedTimeT&& value) { m_connectionEstablishedTimeHasBeenSet =
true; m_connectionEstablishedTime = std::forward<ConnectionEstablishedTimeT>(value); }
102 template<
typename ConnectionEstablishedTimeT = Aws::String>
112 template<
typename IngressBytesT = Aws::String>
113 void SetIngressBytes(IngressBytesT&& value) { m_ingressBytesHasBeenSet =
true; m_ingressBytes = std::forward<IngressBytesT>(value); }
114 template<
typename IngressBytesT = Aws::String>
124 template<
typename EgressBytesT = Aws::String>
125 void SetEgressBytes(EgressBytesT&& value) { m_egressBytesHasBeenSet =
true; m_egressBytes = std::forward<EgressBytesT>(value); }
126 template<
typename EgressBytesT = Aws::String>
136 template<
typename IngressPacketsT = Aws::String>
137 void SetIngressPackets(IngressPacketsT&& value) { m_ingressPacketsHasBeenSet =
true; m_ingressPackets = std::forward<IngressPacketsT>(value); }
138 template<
typename IngressPacketsT = Aws::String>
148 template<
typename EgressPacketsT = Aws::String>
149 void SetEgressPackets(EgressPacketsT&& value) { m_egressPacketsHasBeenSet =
true; m_egressPackets = std::forward<EgressPacketsT>(value); }
150 template<
typename EgressPacketsT = Aws::String>
160 template<
typename ClientIpT = Aws::String>
161 void SetClientIp(ClientIpT&& value) { m_clientIpHasBeenSet =
true; m_clientIp = std::forward<ClientIpT>(value); }
162 template<
typename ClientIpT = Aws::String>
173 template<
typename CommonNameT = Aws::String>
174 void SetCommonName(CommonNameT&& value) { m_commonNameHasBeenSet =
true; m_commonName = std::forward<CommonNameT>(value); }
175 template<
typename CommonNameT = Aws::String>
185 template<
typename StatusT = ClientVpnConnectionStatus>
186 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
187 template<
typename StatusT = ClientVpnConnectionStatus>
197 template<
typename ConnectionEndTimeT = Aws::String>
198 void SetConnectionEndTime(ConnectionEndTimeT&& value) { m_connectionEndTimeHasBeenSet =
true; m_connectionEndTime = std::forward<ConnectionEndTimeT>(value); }
199 template<
typename ConnectionEndTimeT = Aws::String>
210 template<
typename PostureComplianceStatusesT = Aws::Vector<Aws::String>>
211 void SetPostureComplianceStatuses(PostureComplianceStatusesT&& value) { m_postureComplianceStatusesHasBeenSet =
true; m_postureComplianceStatuses = std::forward<PostureComplianceStatusesT>(value); }
212 template<
typename PostureComplianceStatusesT = Aws::Vector<Aws::String>>
214 template<
typename PostureComplianceStatusesT = Aws::String>
220 bool m_clientVpnEndpointIdHasBeenSet =
false;
223 bool m_timestampHasBeenSet =
false;
226 bool m_connectionIdHasBeenSet =
false;
229 bool m_usernameHasBeenSet =
false;
232 bool m_connectionEstablishedTimeHasBeenSet =
false;
235 bool m_ingressBytesHasBeenSet =
false;
238 bool m_egressBytesHasBeenSet =
false;
241 bool m_ingressPacketsHasBeenSet =
false;
244 bool m_egressPacketsHasBeenSet =
false;
247 bool m_clientIpHasBeenSet =
false;
250 bool m_commonNameHasBeenSet =
false;
253 bool m_statusHasBeenSet =
false;
256 bool m_connectionEndTimeHasBeenSet =
false;
259 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 & 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 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 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)
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