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

The logging configuration for an Amazon EKS cluster.

See Also:

* AWS * API Reference

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

Cluster logging configurations.

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

Cluster logging configurations.

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

Cluster logging configurations.

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

Cluster logging configurations.

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

Cluster logging configurations.

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

Cluster logging configurations.

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

Cluster logging configurations.

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

Cluster logging configurations.

*/ inline AwsEksClusterLoggingDetails& AddClusterLogging(AwsEksClusterLoggingClusterLoggingDetails&& 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 SecurityHub } // namespace Aws