/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an SSL server certificate.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the certificate.
*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the certificate.
*/ inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *Indicates whether the certificate is the default certificate. Do not set this * value when specifying a certificate as an input. This value is not included in * the output when describing a listener, but is included when describing listener * certificates.
*/ inline bool GetIsDefault() const{ return m_isDefault; } /** *Indicates whether the certificate is the default certificate. Do not set this * value when specifying a certificate as an input. This value is not included in * the output when describing a listener, but is included when describing listener * certificates.
*/ inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; } /** *Indicates whether the certificate is the default certificate. Do not set this * value when specifying a certificate as an input. This value is not included in * the output when describing a listener, but is included when describing listener * certificates.
*/ inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; } /** *Indicates whether the certificate is the default certificate. Do not set this * value when specifying a certificate as an input. This value is not included in * the output when describing a listener, but is included when describing listener * certificates.
*/ inline Certificate& WithIsDefault(bool value) { SetIsDefault(value); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; bool m_isDefault; bool m_isDefaultHasBeenSet = false; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws