/** * 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 { /** *

Details for IAM access control.

See * Also:

AWS API * Reference

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

Indicates whether IAM access control is enabled.

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

Indicates whether IAM access control is enabled.

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

Indicates whether IAM access control is enabled.

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

Indicates whether IAM access control is enabled.

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