7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/CertificateAuthenticationRequest.h>
10#include <aws/ec2/model/ClientVpnAuthenticationType.h>
11#include <aws/ec2/model/DirectoryServiceAuthenticationRequest.h>
12#include <aws/ec2/model/FederatedAuthenticationRequest.h>
49 m_typeHasBeenSet =
true;
66 template <
typename ActiveDirectoryT = DirectoryServiceAuthenticationRequest>
68 m_activeDirectoryHasBeenSet =
true;
69 m_activeDirectory = std::forward<ActiveDirectoryT>(value);
71 template <
typename ActiveDirectoryT = DirectoryServiceAuthenticationRequest>
86 template <
typename MutualAuthenticationT = CertificateAuthenticationRequest>
88 m_mutualAuthenticationHasBeenSet =
true;
89 m_mutualAuthentication = std::forward<MutualAuthenticationT>(value);
91 template <
typename MutualAuthenticationT = CertificateAuthenticationRequest>
106 template <
typename FederatedAuthenticationT = FederatedAuthenticationRequest>
108 m_federatedAuthenticationHasBeenSet =
true;
109 m_federatedAuthentication = std::forward<FederatedAuthenticationT>(value);
111 template <
typename FederatedAuthenticationT = FederatedAuthenticationRequest>
120 DirectoryServiceAuthenticationRequest m_activeDirectory;
122 CertificateAuthenticationRequest m_mutualAuthentication;
124 FederatedAuthenticationRequest m_federatedAuthentication;
125 bool m_typeHasBeenSet =
false;
126 bool m_activeDirectoryHasBeenSet =
false;
127 bool m_mutualAuthenticationHasBeenSet =
false;
128 bool m_federatedAuthenticationHasBeenSet =
false;
void SetActiveDirectory(ActiveDirectoryT &&value)
ClientVpnAuthenticationRequest & WithActiveDirectory(ActiveDirectoryT &&value)
AWS_EC2_API ClientVpnAuthenticationRequest()=default
const FederatedAuthenticationRequest & GetFederatedAuthentication() const
ClientVpnAuthenticationRequest & WithType(ClientVpnAuthenticationType value)
void SetFederatedAuthentication(FederatedAuthenticationT &&value)
ClientVpnAuthenticationRequest & WithFederatedAuthentication(FederatedAuthenticationT &&value)
AWS_EC2_API ClientVpnAuthenticationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MutualAuthenticationHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const DirectoryServiceAuthenticationRequest & GetActiveDirectory() const
bool FederatedAuthenticationHasBeenSet() const
AWS_EC2_API ClientVpnAuthenticationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ActiveDirectoryHasBeenSet() const
void SetType(ClientVpnAuthenticationType value)
void SetMutualAuthentication(MutualAuthenticationT &&value)
ClientVpnAuthenticationType GetType() const
bool TypeHasBeenSet() const
ClientVpnAuthenticationRequest & WithMutualAuthentication(MutualAuthenticationT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const CertificateAuthenticationRequest & GetMutualAuthentication() const
ClientVpnAuthenticationType
std::basic_ostream< char, std::char_traits< char > > OStream