AWS SDK for C++  1.9.102
AWS SDK for C++
ClientVpnAuthenticationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlNode;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
28 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
51  inline const ClientVpnAuthenticationType& GetType() const{ return m_type; }
52 
56  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 
61  inline void SetType(const ClientVpnAuthenticationType& value) { m_typeHasBeenSet = true; m_type = value; }
62 
66  inline void SetType(ClientVpnAuthenticationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 
71  inline ClientVpnAuthenticationRequest& WithType(const ClientVpnAuthenticationType& value) { SetType(value); return *this;}
72 
76  inline ClientVpnAuthenticationRequest& WithType(ClientVpnAuthenticationType&& value) { SetType(std::move(value)); return *this;}
77 
78 
84  inline const DirectoryServiceAuthenticationRequest& GetActiveDirectory() const{ return m_activeDirectory; }
85 
91  inline bool ActiveDirectoryHasBeenSet() const { return m_activeDirectoryHasBeenSet; }
92 
98  inline void SetActiveDirectory(const DirectoryServiceAuthenticationRequest& value) { m_activeDirectoryHasBeenSet = true; m_activeDirectory = value; }
99 
105  inline void SetActiveDirectory(DirectoryServiceAuthenticationRequest&& value) { m_activeDirectoryHasBeenSet = true; m_activeDirectory = std::move(value); }
106 
112  inline ClientVpnAuthenticationRequest& WithActiveDirectory(const DirectoryServiceAuthenticationRequest& value) { SetActiveDirectory(value); return *this;}
113 
119  inline ClientVpnAuthenticationRequest& WithActiveDirectory(DirectoryServiceAuthenticationRequest&& value) { SetActiveDirectory(std::move(value)); return *this;}
120 
121 
127  inline const CertificateAuthenticationRequest& GetMutualAuthentication() const{ return m_mutualAuthentication; }
128 
134  inline bool MutualAuthenticationHasBeenSet() const { return m_mutualAuthenticationHasBeenSet; }
135 
141  inline void SetMutualAuthentication(const CertificateAuthenticationRequest& value) { m_mutualAuthenticationHasBeenSet = true; m_mutualAuthentication = value; }
142 
148  inline void SetMutualAuthentication(CertificateAuthenticationRequest&& value) { m_mutualAuthenticationHasBeenSet = true; m_mutualAuthentication = std::move(value); }
149 
155  inline ClientVpnAuthenticationRequest& WithMutualAuthentication(const CertificateAuthenticationRequest& value) { SetMutualAuthentication(value); return *this;}
156 
162  inline ClientVpnAuthenticationRequest& WithMutualAuthentication(CertificateAuthenticationRequest&& value) { SetMutualAuthentication(std::move(value)); return *this;}
163 
164 
170  inline const FederatedAuthenticationRequest& GetFederatedAuthentication() const{ return m_federatedAuthentication; }
171 
177  inline bool FederatedAuthenticationHasBeenSet() const { return m_federatedAuthenticationHasBeenSet; }
178 
184  inline void SetFederatedAuthentication(const FederatedAuthenticationRequest& value) { m_federatedAuthenticationHasBeenSet = true; m_federatedAuthentication = value; }
185 
191  inline void SetFederatedAuthentication(FederatedAuthenticationRequest&& value) { m_federatedAuthenticationHasBeenSet = true; m_federatedAuthentication = std::move(value); }
192 
198  inline ClientVpnAuthenticationRequest& WithFederatedAuthentication(const FederatedAuthenticationRequest& value) { SetFederatedAuthentication(value); return *this;}
199 
205  inline ClientVpnAuthenticationRequest& WithFederatedAuthentication(FederatedAuthenticationRequest&& value) { SetFederatedAuthentication(std::move(value)); return *this;}
206 
207  private:
208 
210  bool m_typeHasBeenSet;
211 
212  DirectoryServiceAuthenticationRequest m_activeDirectory;
213  bool m_activeDirectoryHasBeenSet;
214 
215  CertificateAuthenticationRequest m_mutualAuthentication;
216  bool m_mutualAuthenticationHasBeenSet;
217 
218  FederatedAuthenticationRequest m_federatedAuthentication;
219  bool m_federatedAuthenticationHasBeenSet;
220  };
221 
222 } // namespace Model
223 } // namespace EC2
224 } // namespace Aws
Aws::EC2::Model::ClientVpnAuthenticationRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ClientVpnAuthenticationRequest::WithFederatedAuthentication
ClientVpnAuthenticationRequest & WithFederatedAuthentication(FederatedAuthenticationRequest &&value)
Definition: ClientVpnAuthenticationRequest.h:205
Aws::EC2::Model::ClientVpnAuthenticationRequest::GetType
const ClientVpnAuthenticationType & GetType() const
Definition: ClientVpnAuthenticationRequest.h:51
Aws::EC2::Model::ClientVpnAuthenticationRequest::WithType
ClientVpnAuthenticationRequest & WithType(ClientVpnAuthenticationType &&value)
Definition: ClientVpnAuthenticationRequest.h:76
Aws::EC2::Model::ClientVpnAuthenticationRequest::WithActiveDirectory
ClientVpnAuthenticationRequest & WithActiveDirectory(const DirectoryServiceAuthenticationRequest &value)
Definition: ClientVpnAuthenticationRequest.h:112
Aws::EC2::Model::ClientVpnAuthenticationRequest::WithFederatedAuthentication
ClientVpnAuthenticationRequest & WithFederatedAuthentication(const FederatedAuthenticationRequest &value)
Definition: ClientVpnAuthenticationRequest.h:198
Aws::EC2::Model::DirectoryServiceAuthenticationRequest
Definition: DirectoryServiceAuthenticationRequest.h:33
Aws::EC2::Model::ClientVpnAuthenticationRequest::WithType
ClientVpnAuthenticationRequest & WithType(const ClientVpnAuthenticationType &value)
Definition: ClientVpnAuthenticationRequest.h:71
Aws::EC2::Model::ClientVpnAuthenticationRequest::SetType
void SetType(const ClientVpnAuthenticationType &value)
Definition: ClientVpnAuthenticationRequest.h:61
Aws::EC2::Model::ClientVpnAuthenticationRequest::MutualAuthenticationHasBeenSet
bool MutualAuthenticationHasBeenSet() const
Definition: ClientVpnAuthenticationRequest.h:134
FederatedAuthenticationRequest.h
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
DirectoryServiceAuthenticationRequest.h
Aws::EC2::Model::ClientVpnAuthenticationType
ClientVpnAuthenticationType
Definition: ClientVpnAuthenticationType.h:17
Aws::EC2::Model::ClientVpnAuthenticationRequest::WithActiveDirectory
ClientVpnAuthenticationRequest & WithActiveDirectory(DirectoryServiceAuthenticationRequest &&value)
Definition: ClientVpnAuthenticationRequest.h:119
CertificateAuthenticationRequest.h
Aws::EC2::Model::ClientVpnAuthenticationRequest::SetType
void SetType(ClientVpnAuthenticationType &&value)
Definition: ClientVpnAuthenticationRequest.h:66
Aws::EC2::Model::ClientVpnAuthenticationRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ClientVpnAuthenticationRequest.h:56
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ClientVpnAuthenticationRequest::SetMutualAuthentication
void SetMutualAuthentication(const CertificateAuthenticationRequest &value)
Definition: ClientVpnAuthenticationRequest.h:141
Aws::EC2::Model::ClientVpnAuthenticationRequest::ActiveDirectoryHasBeenSet
bool ActiveDirectoryHasBeenSet() const
Definition: ClientVpnAuthenticationRequest.h:91
Aws::EC2::Model::ClientVpnAuthenticationRequest::SetMutualAuthentication
void SetMutualAuthentication(CertificateAuthenticationRequest &&value)
Definition: ClientVpnAuthenticationRequest.h:148
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ClientVpnAuthenticationRequest
Definition: ClientVpnAuthenticationRequest.h:38
Aws::EC2::Model::ClientVpnAuthenticationRequest::ClientVpnAuthenticationRequest
ClientVpnAuthenticationRequest()
Aws::EC2::Model::ClientVpnAuthenticationRequest::GetActiveDirectory
const DirectoryServiceAuthenticationRequest & GetActiveDirectory() const
Definition: ClientVpnAuthenticationRequest.h:84
Aws::EC2::Model::FederatedAuthenticationRequest
Definition: FederatedAuthenticationRequest.h:33
Aws::EC2::Model::ClientVpnAuthenticationRequest::SetFederatedAuthentication
void SetFederatedAuthentication(FederatedAuthenticationRequest &&value)
Definition: ClientVpnAuthenticationRequest.h:191
Aws::EC2::Model::ClientVpnAuthenticationRequest::SetFederatedAuthentication
void SetFederatedAuthentication(const FederatedAuthenticationRequest &value)
Definition: ClientVpnAuthenticationRequest.h:184
Aws::EC2::Model::ClientVpnAuthenticationRequest::FederatedAuthenticationHasBeenSet
bool FederatedAuthenticationHasBeenSet() const
Definition: ClientVpnAuthenticationRequest.h:177
Aws::EC2::Model::ClientVpnAuthenticationRequest::GetFederatedAuthentication
const FederatedAuthenticationRequest & GetFederatedAuthentication() const
Definition: ClientVpnAuthenticationRequest.h:170
Aws::EC2::Model::ClientVpnAuthenticationRequest::GetMutualAuthentication
const CertificateAuthenticationRequest & GetMutualAuthentication() const
Definition: ClientVpnAuthenticationRequest.h:127
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ClientVpnAuthenticationRequest::SetActiveDirectory
void SetActiveDirectory(DirectoryServiceAuthenticationRequest &&value)
Definition: ClientVpnAuthenticationRequest.h:105
Aws::EC2::Model::ClientVpnAuthenticationRequest::operator=
ClientVpnAuthenticationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ClientVpnAuthenticationRequest::ClientVpnAuthenticationRequest
ClientVpnAuthenticationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::CertificateAuthenticationRequest
Definition: CertificateAuthenticationRequest.h:33
Aws::EC2::Model::ClientVpnAuthenticationRequest::SetActiveDirectory
void SetActiveDirectory(const DirectoryServiceAuthenticationRequest &value)
Definition: ClientVpnAuthenticationRequest.h:98
EC2_EXPORTS.h
Aws::EC2::Model::ClientVpnAuthenticationRequest::WithMutualAuthentication
ClientVpnAuthenticationRequest & WithMutualAuthentication(const CertificateAuthenticationRequest &value)
Definition: ClientVpnAuthenticationRequest.h:155
ClientVpnAuthenticationType.h
Aws::EC2::Model::ClientVpnAuthenticationRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ClientVpnAuthenticationRequest::WithMutualAuthentication
ClientVpnAuthenticationRequest & WithMutualAuthentication(CertificateAuthenticationRequest &&value)
Definition: ClientVpnAuthenticationRequest.h:162