/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the use of a TLS/SSL certificate for a fleet. TLS
* certificate generation is enabled at the fleet level, with one certificate
* generated for the fleet. When this feature is enabled, the certificate can be
* retrieved using the GameLift
* Server SDK call GetInstanceCertificate. All instances in a
* fleet share the same certificate.See Also:
AWS
* API Reference
Indicates whether a TLS/SSL certificate was generated for a fleet.
*
*/ inline const CertificateType& GetCertificateType() const{ return m_certificateType; } /** *
Indicates whether a TLS/SSL certificate was generated for a fleet.
*
*/ inline bool CertificateTypeHasBeenSet() const { return m_certificateTypeHasBeenSet; } /** *
Indicates whether a TLS/SSL certificate was generated for a fleet.
*
*/ inline void SetCertificateType(const CertificateType& value) { m_certificateTypeHasBeenSet = true; m_certificateType = value; } /** *
Indicates whether a TLS/SSL certificate was generated for a fleet.
*
*/ inline void SetCertificateType(CertificateType&& value) { m_certificateTypeHasBeenSet = true; m_certificateType = std::move(value); } /** *
Indicates whether a TLS/SSL certificate was generated for a fleet.
*
*/ inline CertificateConfiguration& WithCertificateType(const CertificateType& value) { SetCertificateType(value); return *this;} /** *
Indicates whether a TLS/SSL certificate was generated for a fleet.
*
*/ inline CertificateConfiguration& WithCertificateType(CertificateType&& value) { SetCertificateType(std::move(value)); return *this;} private: CertificateType m_certificateType; bool m_certificateTypeHasBeenSet; }; } // namespace Model } // namespace GameLift } // namespace Aws