/** * 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 WorkSpaces { namespace Model { /** *

Describes the properties of the certificate-based authentication you want to * use with your WorkSpaces.

See Also:

AWS * API Reference

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

The status of the certificate-based authentication properties.

*/ inline const CertificateBasedAuthStatusEnum& 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 CertificateBasedAuthStatusEnum& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the certificate-based authentication properties.

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

The status of the certificate-based authentication properties.

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

The status of the certificate-based authentication properties.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Certificate Manager * Private CA resource.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Certificate Manager * Private CA resource.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Certificate Manager * Private CA resource.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Certificate Manager * Private CA resource.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Certificate Manager * Private CA resource.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Certificate Manager * Private CA resource.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Certificate Manager * Private CA resource.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Certificate Manager * Private CA resource.

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