AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClientVpnAuthentication.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/DirectoryServiceAuthentication.h>
11#include <aws/ec2/model/CertificateAuthentication.h>
12#include <aws/ec2/model/FederatedAuthentication.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 ClientVpnAuthentication& WithType(const ClientVpnAuthenticationType& value) { SetType(value); return *this;}
57 inline ClientVpnAuthentication& WithType(ClientVpnAuthenticationType&& value) { SetType(std::move(value)); return *this;}
59
61
64 inline const DirectoryServiceAuthentication& GetActiveDirectory() const{ return m_activeDirectory; }
65 inline bool ActiveDirectoryHasBeenSet() const { return m_activeDirectoryHasBeenSet; }
66 inline void SetActiveDirectory(const DirectoryServiceAuthentication& value) { m_activeDirectoryHasBeenSet = true; m_activeDirectory = value; }
67 inline void SetActiveDirectory(DirectoryServiceAuthentication&& value) { m_activeDirectoryHasBeenSet = true; m_activeDirectory = std::move(value); }
71
73
76 inline const CertificateAuthentication& GetMutualAuthentication() const{ return m_mutualAuthentication; }
77 inline bool MutualAuthenticationHasBeenSet() const { return m_mutualAuthenticationHasBeenSet; }
78 inline void SetMutualAuthentication(const CertificateAuthentication& value) { m_mutualAuthenticationHasBeenSet = true; m_mutualAuthentication = value; }
79 inline void SetMutualAuthentication(CertificateAuthentication&& value) { m_mutualAuthenticationHasBeenSet = true; m_mutualAuthentication = std::move(value); }
83
85
88 inline const FederatedAuthentication& GetFederatedAuthentication() const{ return m_federatedAuthentication; }
89 inline bool FederatedAuthenticationHasBeenSet() const { return m_federatedAuthenticationHasBeenSet; }
90 inline void SetFederatedAuthentication(const FederatedAuthentication& value) { m_federatedAuthenticationHasBeenSet = true; m_federatedAuthentication = value; }
91 inline void SetFederatedAuthentication(FederatedAuthentication&& value) { m_federatedAuthenticationHasBeenSet = true; m_federatedAuthentication = std::move(value); }
95 private:
96
98 bool m_typeHasBeenSet = false;
99
100 DirectoryServiceAuthentication m_activeDirectory;
101 bool m_activeDirectoryHasBeenSet = false;
102
103 CertificateAuthentication m_mutualAuthentication;
104 bool m_mutualAuthenticationHasBeenSet = false;
105
106 FederatedAuthentication m_federatedAuthentication;
107 bool m_federatedAuthenticationHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace EC2
112} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMutualAuthentication(CertificateAuthentication &&value)
const DirectoryServiceAuthentication & GetActiveDirectory() const
void SetType(ClientVpnAuthenticationType &&value)
void SetActiveDirectory(const DirectoryServiceAuthentication &value)
ClientVpnAuthentication & WithActiveDirectory(const DirectoryServiceAuthentication &value)
ClientVpnAuthentication & WithMutualAuthentication(const CertificateAuthentication &value)
ClientVpnAuthentication & WithMutualAuthentication(CertificateAuthentication &&value)
ClientVpnAuthentication & WithFederatedAuthentication(const FederatedAuthentication &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const FederatedAuthentication & GetFederatedAuthentication() const
void SetFederatedAuthentication(const FederatedAuthentication &value)
ClientVpnAuthentication & WithType(const ClientVpnAuthenticationType &value)
void SetActiveDirectory(DirectoryServiceAuthentication &&value)
void SetFederatedAuthentication(FederatedAuthentication &&value)
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
ClientVpnAuthentication & WithActiveDirectory(DirectoryServiceAuthentication &&value)
ClientVpnAuthentication & WithFederatedAuthentication(FederatedAuthentication &&value)
void SetType(const ClientVpnAuthenticationType &value)
const ClientVpnAuthenticationType & GetType() const
ClientVpnAuthentication & WithType(ClientVpnAuthenticationType &&value)
void SetMutualAuthentication(const CertificateAuthentication &value)
std::basic_ostream< char, std::char_traits< char > > OStream