/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 logging configuration for resources in your * cluster.

See Also:

AWS API * Reference

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

The cluster control plane logging configuration for your cluster.

*/ inline const Aws::Vector& GetClusterLogging() const{ return m_clusterLogging; } /** *

The cluster control plane logging configuration for your cluster.

*/ inline bool ClusterLoggingHasBeenSet() const { return m_clusterLoggingHasBeenSet; } /** *

The cluster control plane logging configuration for your cluster.

*/ inline void SetClusterLogging(const Aws::Vector& value) { m_clusterLoggingHasBeenSet = true; m_clusterLogging = value; } /** *

The cluster control plane logging configuration for your cluster.

*/ inline void SetClusterLogging(Aws::Vector&& value) { m_clusterLoggingHasBeenSet = true; m_clusterLogging = std::move(value); } /** *

The cluster control plane logging configuration for your cluster.

*/ inline Logging& WithClusterLogging(const Aws::Vector& value) { SetClusterLogging(value); return *this;} /** *

The cluster control plane logging configuration for your cluster.

*/ inline Logging& WithClusterLogging(Aws::Vector&& value) { SetClusterLogging(std::move(value)); return *this;} /** *

The cluster control plane logging configuration for your cluster.

*/ inline Logging& AddClusterLogging(const LogSetup& value) { m_clusterLoggingHasBeenSet = true; m_clusterLogging.push_back(value); return *this; } /** *

The cluster control plane logging configuration for your cluster.

*/ inline Logging& AddClusterLogging(LogSetup&& value) { m_clusterLoggingHasBeenSet = true; m_clusterLogging.push_back(std::move(value)); return *this; } private: Aws::Vector m_clusterLogging; bool m_clusterLoggingHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws