/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the client certificate authentication settings for
* the RegisterCertificate
and DescribeCertificate
* operations. See Also:
AWS
* API Reference
Specifies the URL of the default OCSP server used to check for revocation * status. A secondary value to any OCSP address found in the AIA extension of the * user certificate.
*/ inline const Aws::String& GetOCSPUrl() const{ return m_oCSPUrl; } /** *Specifies the URL of the default OCSP server used to check for revocation * status. A secondary value to any OCSP address found in the AIA extension of the * user certificate.
*/ inline bool OCSPUrlHasBeenSet() const { return m_oCSPUrlHasBeenSet; } /** *Specifies the URL of the default OCSP server used to check for revocation * status. A secondary value to any OCSP address found in the AIA extension of the * user certificate.
*/ inline void SetOCSPUrl(const Aws::String& value) { m_oCSPUrlHasBeenSet = true; m_oCSPUrl = value; } /** *Specifies the URL of the default OCSP server used to check for revocation * status. A secondary value to any OCSP address found in the AIA extension of the * user certificate.
*/ inline void SetOCSPUrl(Aws::String&& value) { m_oCSPUrlHasBeenSet = true; m_oCSPUrl = std::move(value); } /** *Specifies the URL of the default OCSP server used to check for revocation * status. A secondary value to any OCSP address found in the AIA extension of the * user certificate.
*/ inline void SetOCSPUrl(const char* value) { m_oCSPUrlHasBeenSet = true; m_oCSPUrl.assign(value); } /** *Specifies the URL of the default OCSP server used to check for revocation * status. A secondary value to any OCSP address found in the AIA extension of the * user certificate.
*/ inline ClientCertAuthSettings& WithOCSPUrl(const Aws::String& value) { SetOCSPUrl(value); return *this;} /** *Specifies the URL of the default OCSP server used to check for revocation * status. A secondary value to any OCSP address found in the AIA extension of the * user certificate.
*/ inline ClientCertAuthSettings& WithOCSPUrl(Aws::String&& value) { SetOCSPUrl(std::move(value)); return *this;} /** *Specifies the URL of the default OCSP server used to check for revocation * status. A secondary value to any OCSP address found in the AIA extension of the * user certificate.
*/ inline ClientCertAuthSettings& WithOCSPUrl(const char* value) { SetOCSPUrl(value); return *this;} private: Aws::String m_oCSPUrl; bool m_oCSPUrlHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws