/**
* 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 SecurityHub
{
namespace Model
{
/**
* Contains other options for the certificate.
See Also:
AWS
* API Reference
*/
class AwsCertificateManagerCertificateOptions
{
public:
AWS_SECURITYHUB_API AwsCertificateManagerCertificateOptions();
AWS_SECURITYHUB_API AwsCertificateManagerCertificateOptions(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API AwsCertificateManagerCertificateOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Whether to add the certificate to a transparency log.
Valid values:
* DISABLED
| ENABLED
*/
inline const Aws::String& GetCertificateTransparencyLoggingPreference() const{ return m_certificateTransparencyLoggingPreference; }
/**
* Whether to add the certificate to a transparency log.
Valid values:
* DISABLED
| ENABLED
*/
inline bool CertificateTransparencyLoggingPreferenceHasBeenSet() const { return m_certificateTransparencyLoggingPreferenceHasBeenSet; }
/**
* Whether to add the certificate to a transparency log.
Valid values:
* DISABLED
| ENABLED
*/
inline void SetCertificateTransparencyLoggingPreference(const Aws::String& value) { m_certificateTransparencyLoggingPreferenceHasBeenSet = true; m_certificateTransparencyLoggingPreference = value; }
/**
* Whether to add the certificate to a transparency log.
Valid values:
* DISABLED
| ENABLED
*/
inline void SetCertificateTransparencyLoggingPreference(Aws::String&& value) { m_certificateTransparencyLoggingPreferenceHasBeenSet = true; m_certificateTransparencyLoggingPreference = std::move(value); }
/**
* Whether to add the certificate to a transparency log.
Valid values:
* DISABLED
| ENABLED
*/
inline void SetCertificateTransparencyLoggingPreference(const char* value) { m_certificateTransparencyLoggingPreferenceHasBeenSet = true; m_certificateTransparencyLoggingPreference.assign(value); }
/**
* Whether to add the certificate to a transparency log.
Valid values:
* DISABLED
| ENABLED
*/
inline AwsCertificateManagerCertificateOptions& WithCertificateTransparencyLoggingPreference(const Aws::String& value) { SetCertificateTransparencyLoggingPreference(value); return *this;}
/**
* Whether to add the certificate to a transparency log.
Valid values:
* DISABLED
| ENABLED
*/
inline AwsCertificateManagerCertificateOptions& WithCertificateTransparencyLoggingPreference(Aws::String&& value) { SetCertificateTransparencyLoggingPreference(std::move(value)); return *this;}
/**
* Whether to add the certificate to a transparency log.
Valid values:
* DISABLED
| ENABLED
*/
inline AwsCertificateManagerCertificateOptions& WithCertificateTransparencyLoggingPreference(const char* value) { SetCertificateTransparencyLoggingPreference(value); return *this;}
private:
Aws::String m_certificateTransparencyLoggingPreference;
bool m_certificateTransparencyLoggingPreferenceHasBeenSet = false;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws