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

The entity representing certificate data generated for managed * endpoint.

See Also:

AWS * API Reference

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

The ARN of the certificate generated for managed endpoint.

*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *

The ARN of the certificate generated for managed endpoint.

*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *

The ARN of the certificate generated for managed endpoint.

*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *

The ARN of the certificate generated for managed endpoint.

*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *

The ARN of the certificate generated for managed endpoint.

*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *

The ARN of the certificate generated for managed endpoint.

*/ inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *

The ARN of the certificate generated for managed endpoint.

*/ inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *

The ARN of the certificate generated for managed endpoint.

*/ inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *

The base64 encoded PEM certificate data generated for managed endpoint.

*/ inline const Aws::String& GetCertificateData() const{ return m_certificateData; } /** *

The base64 encoded PEM certificate data generated for managed endpoint.

*/ inline bool CertificateDataHasBeenSet() const { return m_certificateDataHasBeenSet; } /** *

The base64 encoded PEM certificate data generated for managed endpoint.

*/ inline void SetCertificateData(const Aws::String& value) { m_certificateDataHasBeenSet = true; m_certificateData = value; } /** *

The base64 encoded PEM certificate data generated for managed endpoint.

*/ inline void SetCertificateData(Aws::String&& value) { m_certificateDataHasBeenSet = true; m_certificateData = std::move(value); } /** *

The base64 encoded PEM certificate data generated for managed endpoint.

*/ inline void SetCertificateData(const char* value) { m_certificateDataHasBeenSet = true; m_certificateData.assign(value); } /** *

The base64 encoded PEM certificate data generated for managed endpoint.

*/ inline Certificate& WithCertificateData(const Aws::String& value) { SetCertificateData(value); return *this;} /** *

The base64 encoded PEM certificate data generated for managed endpoint.

*/ inline Certificate& WithCertificateData(Aws::String&& value) { SetCertificateData(std::move(value)); return *this;} /** *

The base64 encoded PEM certificate data generated for managed endpoint.

*/ inline Certificate& WithCertificateData(const char* value) { SetCertificateData(value); return *this;} private: Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_certificateData; bool m_certificateDataHasBeenSet = false; }; } // namespace Model } // namespace EMRContainers } // namespace Aws