AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MutualAuthenticationAttributes.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticloadbalancingv2/model/TrustStoreAssociationStatusEnum.h>
11#include <aws/elasticloadbalancingv2/model/AdvertiseTrustStoreCaNamesEnum.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticLoadBalancingv2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes() = default;
38 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
51 inline const Aws::String& GetMode() const { return m_mode; }
52 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
53 template<typename ModeT = Aws::String>
54 void SetMode(ModeT&& value) { m_modeHasBeenSet = true; m_mode = std::forward<ModeT>(value); }
55 template<typename ModeT = Aws::String>
56 MutualAuthenticationAttributes& WithMode(ModeT&& value) { SetMode(std::forward<ModeT>(value)); return *this;}
58
60
63 inline const Aws::String& GetTrustStoreArn() const { return m_trustStoreArn; }
64 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
65 template<typename TrustStoreArnT = Aws::String>
66 void SetTrustStoreArn(TrustStoreArnT&& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = std::forward<TrustStoreArnT>(value); }
67 template<typename TrustStoreArnT = Aws::String>
68 MutualAuthenticationAttributes& WithTrustStoreArn(TrustStoreArnT&& value) { SetTrustStoreArn(std::forward<TrustStoreArnT>(value)); return *this;}
70
72
75 inline bool GetIgnoreClientCertificateExpiry() const { return m_ignoreClientCertificateExpiry; }
76 inline bool IgnoreClientCertificateExpiryHasBeenSet() const { return m_ignoreClientCertificateExpiryHasBeenSet; }
77 inline void SetIgnoreClientCertificateExpiry(bool value) { m_ignoreClientCertificateExpiryHasBeenSet = true; m_ignoreClientCertificateExpiry = value; }
80
82
85 inline TrustStoreAssociationStatusEnum GetTrustStoreAssociationStatus() const { return m_trustStoreAssociationStatus; }
86 inline bool TrustStoreAssociationStatusHasBeenSet() const { return m_trustStoreAssociationStatusHasBeenSet; }
87 inline void SetTrustStoreAssociationStatus(TrustStoreAssociationStatusEnum value) { m_trustStoreAssociationStatusHasBeenSet = true; m_trustStoreAssociationStatus = value; }
90
92
95 inline AdvertiseTrustStoreCaNamesEnum GetAdvertiseTrustStoreCaNames() const { return m_advertiseTrustStoreCaNames; }
96 inline bool AdvertiseTrustStoreCaNamesHasBeenSet() const { return m_advertiseTrustStoreCaNamesHasBeenSet; }
97 inline void SetAdvertiseTrustStoreCaNames(AdvertiseTrustStoreCaNamesEnum value) { m_advertiseTrustStoreCaNamesHasBeenSet = true; m_advertiseTrustStoreCaNames = value; }
100 private:
101
102 Aws::String m_mode;
103 bool m_modeHasBeenSet = false;
104
105 Aws::String m_trustStoreArn;
106 bool m_trustStoreArnHasBeenSet = false;
107
108 bool m_ignoreClientCertificateExpiry{false};
109 bool m_ignoreClientCertificateExpiryHasBeenSet = false;
110
112 bool m_trustStoreAssociationStatusHasBeenSet = false;
113
115 bool m_advertiseTrustStoreCaNamesHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ElasticLoadBalancingv2
120} // namespace Aws
MutualAuthenticationAttributes & WithAdvertiseTrustStoreCaNames(AdvertiseTrustStoreCaNamesEnum value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MutualAuthenticationAttributes & WithTrustStoreAssociationStatus(TrustStoreAssociationStatusEnum value)
AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
MutualAuthenticationAttributes & WithTrustStoreArn(TrustStoreArnT &&value)
AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream