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/DirectoryServiceAuthenticationRequest.h>
11#include <aws/ec2/model/CertificateAuthenticationRequest.h>
12#include <aws/ec2/model/FederatedAuthenticationRequest.h>
66 template<
typename ActiveDirectoryT = DirectoryServiceAuthenticationRequest>
67 void SetActiveDirectory(ActiveDirectoryT&& value) { m_activeDirectoryHasBeenSet =
true; m_activeDirectory = std::forward<ActiveDirectoryT>(value); }
68 template<
typename ActiveDirectoryT = DirectoryServiceAuthenticationRequest>
80 template<
typename MutualAuthenticationT = CertificateAuthenticationRequest>
81 void SetMutualAuthentication(MutualAuthenticationT&& value) { m_mutualAuthenticationHasBeenSet =
true; m_mutualAuthentication = std::forward<MutualAuthenticationT>(value); }
82 template<
typename MutualAuthenticationT = CertificateAuthenticationRequest>
94 template<
typename FederatedAuthenticationT = FederatedAuthenticationRequest>
95 void SetFederatedAuthentication(FederatedAuthenticationT&& value) { m_federatedAuthenticationHasBeenSet =
true; m_federatedAuthentication = std::forward<FederatedAuthenticationT>(value); }
96 template<
typename FederatedAuthenticationT = FederatedAuthenticationRequest>
102 bool m_typeHasBeenSet =
false;
104 DirectoryServiceAuthenticationRequest m_activeDirectory;
105 bool m_activeDirectoryHasBeenSet =
false;
107 CertificateAuthenticationRequest m_mutualAuthentication;
108 bool m_mutualAuthenticationHasBeenSet =
false;
110 FederatedAuthenticationRequest m_federatedAuthentication;
111 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