/** * 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 GameLift { namespace Model { /** *

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

*/ class AWS_GAMELIFT_API CertificateConfiguration { public: CertificateConfiguration(); CertificateConfiguration(Aws::Utils::Json::JsonView jsonValue); CertificateConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

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