This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

127 lines
4.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace ElasticLoadBalancingv2
{
namespace Model
{
/**
* <p>Information about an SSL server certificate.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Certificate">AWS
* API Reference</a></p>
*/
class AWS_ELASTICLOADBALANCINGV2_API Certificate
{
public:
Certificate();
Certificate(const Aws::Utils::Xml::XmlNode& xmlNode);
Certificate& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
void OutputToStream(Aws::OStream& oStream, const char* location) const;
/**
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
*/
inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
/**
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
*/
inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
*/
inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
*/
inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
*/
inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
*/
inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
*/
inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the certificate.</p>
*/
inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
/**
* <p>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.</p>
*/
inline bool GetIsDefault() const{ return m_isDefault; }
/**
* <p>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.</p>
*/
inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
/**
* <p>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.</p>
*/
inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
/**
* <p>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.</p>
*/
inline Certificate& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
private:
Aws::String m_certificateArn;
bool m_certificateArnHasBeenSet;
bool m_isDefault;
bool m_isDefaultHasBeenSet;
};
} // namespace Model
} // namespace ElasticLoadBalancingv2
} // namespace Aws