/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Information about the client certificate used for * authentication.

See Also:

AWS * API Reference

*/ class CertificateAuthentication { public: AWS_EC2_API CertificateAuthentication(); AWS_EC2_API CertificateAuthentication(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API CertificateAuthentication& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The ARN of the client certificate.

*/ inline const Aws::String& GetClientRootCertificateChain() const{ return m_clientRootCertificateChain; } /** *

The ARN of the client certificate.

*/ inline bool ClientRootCertificateChainHasBeenSet() const { return m_clientRootCertificateChainHasBeenSet; } /** *

The ARN of the client certificate.

*/ inline void SetClientRootCertificateChain(const Aws::String& value) { m_clientRootCertificateChainHasBeenSet = true; m_clientRootCertificateChain = value; } /** *

The ARN of the client certificate.

*/ inline void SetClientRootCertificateChain(Aws::String&& value) { m_clientRootCertificateChainHasBeenSet = true; m_clientRootCertificateChain = std::move(value); } /** *

The ARN of the client certificate.

*/ inline void SetClientRootCertificateChain(const char* value) { m_clientRootCertificateChainHasBeenSet = true; m_clientRootCertificateChain.assign(value); } /** *

The ARN of the client certificate.

*/ inline CertificateAuthentication& WithClientRootCertificateChain(const Aws::String& value) { SetClientRootCertificateChain(value); return *this;} /** *

The ARN of the client certificate.

*/ inline CertificateAuthentication& WithClientRootCertificateChain(Aws::String&& value) { SetClientRootCertificateChain(std::move(value)); return *this;} /** *

The ARN of the client certificate.

*/ inline CertificateAuthentication& WithClientRootCertificateChain(const char* value) { SetClientRootCertificateChain(value); return *this;} private: Aws::String m_clientRootCertificateChain; bool m_clientRootCertificateChainHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws