/**
* 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
{
/**
* Determines whether a TLS/SSL certificate is generated for a fleet. This
* feature must be enabled when creating the fleet. All instances in a fleet share
* the same certificate. The certificate can be retrieved by calling the Amazon
* GameLift Server SDK operation GetInstanceCertificate.
*
See Also:
AWS
* API Reference
*/
class CertificateConfiguration
{
public:
AWS_GAMELIFT_API CertificateConfiguration();
AWS_GAMELIFT_API CertificateConfiguration(Aws::Utils::Json::JsonView jsonValue);
AWS_GAMELIFT_API CertificateConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
///@{
/**
* Indicates whether a TLS/SSL certificate is generated for a fleet.
* Valid values include:
*/
inline const CertificateType& GetCertificateType() const{ return m_certificateType; }
inline bool CertificateTypeHasBeenSet() const { return m_certificateTypeHasBeenSet; }
inline void SetCertificateType(const CertificateType& value) { m_certificateTypeHasBeenSet = true; m_certificateType = value; }
inline void SetCertificateType(CertificateType&& value) { m_certificateTypeHasBeenSet = true; m_certificateType = std::move(value); }
inline CertificateConfiguration& WithCertificateType(const CertificateType& value) { SetCertificateType(value); return *this;}
inline CertificateConfiguration& WithCertificateType(CertificateType&& value) { SetCertificateType(std::move(value)); return *this;}
///@}
private:
CertificateType m_certificateType;
bool m_certificateTypeHasBeenSet = false;
};
} // namespace Model
} // namespace GameLift
} // namespace Aws