/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Kafka { namespace Model { class Unauthenticated { public: AWS_KAFKA_API Unauthenticated(); AWS_KAFKA_API Unauthenticated(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Unauthenticated& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies whether you want to turn on or turn off * unauthenticated traffic to your cluster.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Specifies whether you want to turn on or turn off * unauthenticated traffic to your cluster.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Specifies whether you want to turn on or turn off * unauthenticated traffic to your cluster.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Specifies whether you want to turn on or turn off * unauthenticated traffic to your cluster.

*/ inline Unauthenticated& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws