AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticLoadBalancingv2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes();
37 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
50 inline const Aws::String& GetMode() const{ return m_mode; }
51 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
52 inline void SetMode(const Aws::String& value) { m_modeHasBeenSet = true; m_mode = value; }
53 inline void SetMode(Aws::String&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
54 inline void SetMode(const char* value) { m_modeHasBeenSet = true; m_mode.assign(value); }
55 inline MutualAuthenticationAttributes& WithMode(const Aws::String& value) { SetMode(value); return *this;}
56 inline MutualAuthenticationAttributes& WithMode(Aws::String&& value) { SetMode(std::move(value)); return *this;}
57 inline MutualAuthenticationAttributes& WithMode(const char* value) { SetMode(value); return *this;}
59
61
64 inline const Aws::String& GetTrustStoreArn() const{ return m_trustStoreArn; }
65 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
66 inline void SetTrustStoreArn(const Aws::String& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = value; }
67 inline void SetTrustStoreArn(Aws::String&& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = std::move(value); }
68 inline void SetTrustStoreArn(const char* value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn.assign(value); }
70 inline MutualAuthenticationAttributes& WithTrustStoreArn(Aws::String&& value) { SetTrustStoreArn(std::move(value)); return *this;}
71 inline MutualAuthenticationAttributes& WithTrustStoreArn(const char* value) { SetTrustStoreArn(value); return *this;}
73
75
78 inline bool GetIgnoreClientCertificateExpiry() const{ return m_ignoreClientCertificateExpiry; }
79 inline bool IgnoreClientCertificateExpiryHasBeenSet() const { return m_ignoreClientCertificateExpiryHasBeenSet; }
80 inline void SetIgnoreClientCertificateExpiry(bool value) { m_ignoreClientCertificateExpiryHasBeenSet = true; m_ignoreClientCertificateExpiry = value; }
83
85
88 inline const TrustStoreAssociationStatusEnum& GetTrustStoreAssociationStatus() const{ return m_trustStoreAssociationStatus; }
89 inline bool TrustStoreAssociationStatusHasBeenSet() const { return m_trustStoreAssociationStatusHasBeenSet; }
90 inline void SetTrustStoreAssociationStatus(const TrustStoreAssociationStatusEnum& value) { m_trustStoreAssociationStatusHasBeenSet = true; m_trustStoreAssociationStatus = value; }
91 inline void SetTrustStoreAssociationStatus(TrustStoreAssociationStatusEnum&& value) { m_trustStoreAssociationStatusHasBeenSet = true; m_trustStoreAssociationStatus = std::move(value); }
95 private:
96
97 Aws::String m_mode;
98 bool m_modeHasBeenSet = false;
99
100 Aws::String m_trustStoreArn;
101 bool m_trustStoreArnHasBeenSet = false;
102
103 bool m_ignoreClientCertificateExpiry;
104 bool m_ignoreClientCertificateExpiryHasBeenSet = false;
105
106 TrustStoreAssociationStatusEnum m_trustStoreAssociationStatus;
107 bool m_trustStoreAssociationStatusHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ElasticLoadBalancingv2
112} // namespace Aws
const TrustStoreAssociationStatusEnum & GetTrustStoreAssociationStatus() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API MutualAuthenticationAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTrustStoreAssociationStatus(const TrustStoreAssociationStatusEnum &value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
MutualAuthenticationAttributes & WithTrustStoreArn(const Aws::String &value)
MutualAuthenticationAttributes & WithMode(const Aws::String &value)
MutualAuthenticationAttributes & WithTrustStoreArn(const char *value)
MutualAuthenticationAttributes & WithTrustStoreAssociationStatus(TrustStoreAssociationStatusEnum &&value)
MutualAuthenticationAttributes & WithTrustStoreArn(Aws::String &&value)
MutualAuthenticationAttributes & WithTrustStoreAssociationStatus(const TrustStoreAssociationStatusEnum &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream