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

Certificate revocation information used by the CreateCertificateAuthority * and UpdateCertificateAuthority * actions. Your private certificate authority (CA) can create and maintain a * certificate revocation list (CRL). A CRL contains information about certificates * revoked by your CA. For more information, see RevokeCertificate.

See * Also:

AWS * API Reference

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

Configuration of the certificate revocation list (CRL), if any, maintained by * your private CA.

*/ inline const CrlConfiguration& GetCrlConfiguration() const{ return m_crlConfiguration; } /** *

Configuration of the certificate revocation list (CRL), if any, maintained by * your private CA.

*/ inline bool CrlConfigurationHasBeenSet() const { return m_crlConfigurationHasBeenSet; } /** *

Configuration of the certificate revocation list (CRL), if any, maintained by * your private CA.

*/ inline void SetCrlConfiguration(const CrlConfiguration& value) { m_crlConfigurationHasBeenSet = true; m_crlConfiguration = value; } /** *

Configuration of the certificate revocation list (CRL), if any, maintained by * your private CA.

*/ inline void SetCrlConfiguration(CrlConfiguration&& value) { m_crlConfigurationHasBeenSet = true; m_crlConfiguration = std::move(value); } /** *

Configuration of the certificate revocation list (CRL), if any, maintained by * your private CA.

*/ inline RevocationConfiguration& WithCrlConfiguration(const CrlConfiguration& value) { SetCrlConfiguration(value); return *this;} /** *

Configuration of the certificate revocation list (CRL), if any, maintained by * your private CA.

*/ inline RevocationConfiguration& WithCrlConfiguration(CrlConfiguration&& value) { SetCrlConfiguration(std::move(value)); return *this;} private: CrlConfiguration m_crlConfiguration; bool m_crlConfigurationHasBeenSet; }; } // namespace Model } // namespace ACMPCA } // namespace Aws