7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/ClientVpnAuthenticationType.h>
10#include <aws/ec2/model/DirectoryServiceAuthentication.h>
11#include <aws/ec2/model/CertificateAuthentication.h>
12#include <aws/ec2/model/FederatedAuthentication.h>
64 template<
typename ActiveDirectoryT = DirectoryServiceAuthentication>
65 void SetActiveDirectory(ActiveDirectoryT&& value) { m_activeDirectoryHasBeenSet =
true; m_activeDirectory = std::forward<ActiveDirectoryT>(value); }
66 template<
typename ActiveDirectoryT = DirectoryServiceAuthentication>
76 template<
typename MutualAuthenticationT = CertificateAuthentication>
77 void SetMutualAuthentication(MutualAuthenticationT&& value) { m_mutualAuthenticationHasBeenSet =
true; m_mutualAuthentication = std::forward<MutualAuthenticationT>(value); }
78 template<
typename MutualAuthenticationT = CertificateAuthentication>
88 template<
typename FederatedAuthenticationT = FederatedAuthentication>
89 void SetFederatedAuthentication(FederatedAuthenticationT&& value) { m_federatedAuthenticationHasBeenSet =
true; m_federatedAuthentication = std::forward<FederatedAuthenticationT>(value); }
90 template<
typename FederatedAuthenticationT = FederatedAuthentication>
96 bool m_typeHasBeenSet =
false;
98 DirectoryServiceAuthentication m_activeDirectory;
99 bool m_activeDirectoryHasBeenSet =
false;
101 CertificateAuthentication m_mutualAuthentication;
102 bool m_mutualAuthenticationHasBeenSet =
false;
104 FederatedAuthentication m_federatedAuthentication;
105 bool m_federatedAuthenticationHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const DirectoryServiceAuthentication & GetActiveDirectory() const
void SetFederatedAuthentication(FederatedAuthenticationT &&value)
ClientVpnAuthenticationType GetType() const
ClientVpnAuthentication & WithActiveDirectory(ActiveDirectoryT &&value)
void SetActiveDirectory(ActiveDirectoryT &&value)
void SetType(ClientVpnAuthenticationType value)
bool FederatedAuthenticationHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const FederatedAuthentication & GetFederatedAuthentication() const
ClientVpnAuthentication & WithMutualAuthentication(MutualAuthenticationT &&value)
bool MutualAuthenticationHasBeenSet() const
ClientVpnAuthentication & WithFederatedAuthentication(FederatedAuthenticationT &&value)
void SetMutualAuthentication(MutualAuthenticationT &&value)
bool ActiveDirectoryHasBeenSet() const
AWS_EC2_API ClientVpnAuthentication & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ClientVpnAuthentication(const Aws::Utils::Xml::XmlNode &xmlNode)
const CertificateAuthentication & GetMutualAuthentication() const
bool TypeHasBeenSet() const
AWS_EC2_API ClientVpnAuthentication()=default
ClientVpnAuthentication & WithType(ClientVpnAuthenticationType value)
ClientVpnAuthenticationType
std::basic_ostream< char, std::char_traits< char > > OStream