/** * 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 Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppStream { namespace Model { /** *

The certificate-based authentication properties used to authenticate SAML 2.0 * Identity Provider (IdP) user identities to Active Directory domain-joined * streaming instances. Fallback is turned on by default when certificate-based * authentication is Enabled . Fallback allows users to log in using their * AD domain password if certificate-based authentication is unsuccessful, or to * unlock a desktop lock screen. Enabled_no_directory_login_fallback enables * certificate-based authentication, but does not allow users to log in using their * AD domain password. Users will be disconnected to re-authenticate using * certificates.

See Also:

AWS * API Reference

*/ class CertificateBasedAuthProperties { public: AWS_APPSTREAM_API CertificateBasedAuthProperties(); AWS_APPSTREAM_API CertificateBasedAuthProperties(Aws::Utils::Json::JsonView jsonValue); AWS_APPSTREAM_API CertificateBasedAuthProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The status of the certificate-based authentication properties.

*/ inline const CertificateBasedAuthStatus& GetStatus() const{ return m_status; } /** *

The status of the certificate-based authentication properties.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the certificate-based authentication properties.

*/ inline void SetStatus(const CertificateBasedAuthStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the certificate-based authentication properties.

*/ inline void SetStatus(CertificateBasedAuthStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the certificate-based authentication properties.

*/ inline CertificateBasedAuthProperties& WithStatus(const CertificateBasedAuthStatus& value) { SetStatus(value); return *this;} /** *

The status of the certificate-based authentication properties.

*/ inline CertificateBasedAuthProperties& WithStatus(CertificateBasedAuthStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The ARN of the AWS Certificate Manager Private CA resource.

*/ inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; } /** *

The ARN of the AWS Certificate Manager Private CA resource.

*/ inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; } /** *

The ARN of the AWS Certificate Manager Private CA resource.

*/ inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; } /** *

The ARN of the AWS Certificate Manager Private CA resource.

*/ inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); } /** *

The ARN of the AWS Certificate Manager Private CA resource.

*/ inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); } /** *

The ARN of the AWS Certificate Manager Private CA resource.

*/ inline CertificateBasedAuthProperties& WithCertificateAuthorityArn(const Aws::String& value) { SetCertificateAuthorityArn(value); return *this;} /** *

The ARN of the AWS Certificate Manager Private CA resource.

*/ inline CertificateBasedAuthProperties& WithCertificateAuthorityArn(Aws::String&& value) { SetCertificateAuthorityArn(std::move(value)); return *this;} /** *

The ARN of the AWS Certificate Manager Private CA resource.

*/ inline CertificateBasedAuthProperties& WithCertificateAuthorityArn(const char* value) { SetCertificateAuthorityArn(value); return *this;} private: CertificateBasedAuthStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_certificateAuthorityArn; bool m_certificateAuthorityArnHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws