AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClientVpnAuthenticationRequest.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
38 {
39 public:
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const ClientVpnAuthenticationType& GetType() const{ return m_type; }
53 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
54 inline void SetType(const ClientVpnAuthenticationType& value) { m_typeHasBeenSet = true; m_type = value; }
55 inline void SetType(ClientVpnAuthenticationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
56 inline ClientVpnAuthenticationRequest& WithType(const ClientVpnAuthenticationType& value) { SetType(value); return *this;}
57 inline ClientVpnAuthenticationRequest& WithType(ClientVpnAuthenticationType&& value) { SetType(std::move(value)); return *this;}
59
61
66 inline const DirectoryServiceAuthenticationRequest& GetActiveDirectory() const{ return m_activeDirectory; }
67 inline bool ActiveDirectoryHasBeenSet() const { return m_activeDirectoryHasBeenSet; }
68 inline void SetActiveDirectory(const DirectoryServiceAuthenticationRequest& value) { m_activeDirectoryHasBeenSet = true; m_activeDirectory = value; }
69 inline void SetActiveDirectory(DirectoryServiceAuthenticationRequest&& value) { m_activeDirectoryHasBeenSet = true; m_activeDirectory = std::move(value); }
73
75
80 inline const CertificateAuthenticationRequest& GetMutualAuthentication() const{ return m_mutualAuthentication; }
81 inline bool MutualAuthenticationHasBeenSet() const { return m_mutualAuthenticationHasBeenSet; }
82 inline void SetMutualAuthentication(const CertificateAuthenticationRequest& value) { m_mutualAuthenticationHasBeenSet = true; m_mutualAuthentication = value; }
83 inline void SetMutualAuthentication(CertificateAuthenticationRequest&& value) { m_mutualAuthenticationHasBeenSet = true; m_mutualAuthentication = std::move(value); }
87
89
94 inline const FederatedAuthenticationRequest& GetFederatedAuthentication() const{ return m_federatedAuthentication; }
95 inline bool FederatedAuthenticationHasBeenSet() const { return m_federatedAuthenticationHasBeenSet; }
96 inline void SetFederatedAuthentication(const FederatedAuthenticationRequest& value) { m_federatedAuthenticationHasBeenSet = true; m_federatedAuthentication = value; }
97 inline void SetFederatedAuthentication(FederatedAuthenticationRequest&& value) { m_federatedAuthenticationHasBeenSet = true; m_federatedAuthentication = std::move(value); }
101 private:
102
104 bool m_typeHasBeenSet = false;
105
107 bool m_activeDirectoryHasBeenSet = false;
108
109 CertificateAuthenticationRequest m_mutualAuthentication;
110 bool m_mutualAuthenticationHasBeenSet = false;
111
112 FederatedAuthenticationRequest m_federatedAuthentication;
113 bool m_federatedAuthenticationHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace EC2
118} // namespace Aws
void SetActiveDirectory(DirectoryServiceAuthenticationRequest &&value)
ClientVpnAuthenticationRequest & WithActiveDirectory(const DirectoryServiceAuthenticationRequest &value)
void SetMutualAuthentication(const CertificateAuthenticationRequest &value)
ClientVpnAuthenticationRequest & WithType(const ClientVpnAuthenticationType &value)
ClientVpnAuthenticationRequest & WithFederatedAuthentication(const FederatedAuthenticationRequest &value)
const FederatedAuthenticationRequest & GetFederatedAuthentication() const
ClientVpnAuthenticationRequest & WithMutualAuthentication(CertificateAuthenticationRequest &&value)
ClientVpnAuthenticationRequest & WithActiveDirectory(DirectoryServiceAuthenticationRequest &&value)
void SetType(const ClientVpnAuthenticationType &value)
ClientVpnAuthenticationRequest & WithMutualAuthentication(const CertificateAuthenticationRequest &value)
AWS_EC2_API ClientVpnAuthenticationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClientVpnAuthenticationRequest & WithFederatedAuthentication(FederatedAuthenticationRequest &&value)
void SetFederatedAuthentication(FederatedAuthenticationRequest &&value)
const ClientVpnAuthenticationType & GetType() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const DirectoryServiceAuthenticationRequest & GetActiveDirectory() const
AWS_EC2_API ClientVpnAuthenticationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetActiveDirectory(const DirectoryServiceAuthenticationRequest &value)
void SetFederatedAuthentication(const FederatedAuthenticationRequest &value)
ClientVpnAuthenticationRequest & WithType(ClientVpnAuthenticationType &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const CertificateAuthenticationRequest & GetMutualAuthentication() const
void SetMutualAuthentication(CertificateAuthenticationRequest &&value)
std::basic_ostream< char, std::char_traits< char > > OStream