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

An object representing the certificate-authority-data for your * cluster.

See Also:

AWS API * Reference

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

The Base64-encoded certificate data required to communicate with your * cluster. Add this to the certificate-authority-data section of the * kubeconfig file for your cluster.

*/ inline const Aws::String& GetData() const{ return m_data; } /** *

The Base64-encoded certificate data required to communicate with your * cluster. Add this to the certificate-authority-data section of the * kubeconfig file for your cluster.

*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *

The Base64-encoded certificate data required to communicate with your * cluster. Add this to the certificate-authority-data section of the * kubeconfig file for your cluster.

*/ inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; } /** *

The Base64-encoded certificate data required to communicate with your * cluster. Add this to the certificate-authority-data section of the * kubeconfig file for your cluster.

*/ inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *

The Base64-encoded certificate data required to communicate with your * cluster. Add this to the certificate-authority-data section of the * kubeconfig file for your cluster.

*/ inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); } /** *

The Base64-encoded certificate data required to communicate with your * cluster. Add this to the certificate-authority-data section of the * kubeconfig file for your cluster.

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

The Base64-encoded certificate data required to communicate with your * cluster. Add this to the certificate-authority-data section of the * kubeconfig file for your cluster.

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

The Base64-encoded certificate data required to communicate with your * cluster. Add this to the certificate-authority-data section of the * kubeconfig file for your cluster.

*/ inline Certificate& WithData(const char* value) { SetData(value); return *this;} private: Aws::String m_data; bool m_dataHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws