AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MutualAuthenticationAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10#include <aws/elasticloadbalancingv2/model/AdvertiseTrustStoreCaNamesEnum.h>
11#include <aws/elasticloadbalancingv2/model/TrustStoreAssociationStatusEnum.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticLoadBalancingv2 {
22namespace Model {
23
31 public:
32 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes() = default;
33 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
37 const char* locationValue) const;
38 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
41
46 inline const Aws::String& GetMode() const { return m_mode; }
47 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
48 template <typename ModeT = Aws::String>
49 void SetMode(ModeT&& value) {
50 m_modeHasBeenSet = true;
51 m_mode = std::forward<ModeT>(value);
52 }
53 template <typename ModeT = Aws::String>
55 SetMode(std::forward<ModeT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetTrustStoreArn() const { return m_trustStoreArn; }
65 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
66 template <typename TrustStoreArnT = Aws::String>
67 void SetTrustStoreArn(TrustStoreArnT&& value) {
68 m_trustStoreArnHasBeenSet = true;
69 m_trustStoreArn = std::forward<TrustStoreArnT>(value);
70 }
71 template <typename TrustStoreArnT = Aws::String>
73 SetTrustStoreArn(std::forward<TrustStoreArnT>(value));
74 return *this;
75 }
77
79
82 inline bool GetIgnoreClientCertificateExpiry() const { return m_ignoreClientCertificateExpiry; }
83 inline bool IgnoreClientCertificateExpiryHasBeenSet() const { return m_ignoreClientCertificateExpiryHasBeenSet; }
84 inline void SetIgnoreClientCertificateExpiry(bool value) {
85 m_ignoreClientCertificateExpiryHasBeenSet = true;
86 m_ignoreClientCertificateExpiry = value;
87 }
90 return *this;
91 }
93
95
98 inline TrustStoreAssociationStatusEnum GetTrustStoreAssociationStatus() const { return m_trustStoreAssociationStatus; }
99 inline bool TrustStoreAssociationStatusHasBeenSet() const { return m_trustStoreAssociationStatusHasBeenSet; }
101 m_trustStoreAssociationStatusHasBeenSet = true;
102 m_trustStoreAssociationStatus = value;
103 }
106 return *this;
107 }
109
111
114 inline AdvertiseTrustStoreCaNamesEnum GetAdvertiseTrustStoreCaNames() const { return m_advertiseTrustStoreCaNames; }
115 inline bool AdvertiseTrustStoreCaNamesHasBeenSet() const { return m_advertiseTrustStoreCaNamesHasBeenSet; }
117 m_advertiseTrustStoreCaNamesHasBeenSet = true;
118 m_advertiseTrustStoreCaNames = value;
119 }
122 return *this;
123 }
125 private:
126 Aws::String m_mode;
127
128 Aws::String m_trustStoreArn;
129
130 bool m_ignoreClientCertificateExpiry{false};
131
133
135 bool m_modeHasBeenSet = false;
136 bool m_trustStoreArnHasBeenSet = false;
137 bool m_ignoreClientCertificateExpiryHasBeenSet = false;
138 bool m_trustStoreAssociationStatusHasBeenSet = false;
139 bool m_advertiseTrustStoreCaNamesHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace ElasticLoadBalancingv2
144} // 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