/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details for client authentication using SASL.See Also:
AWS API
* Reference
Details for SASL/SCRAM client authentication.
*/ inline const Scram& GetScram() const{ return m_scram; } /** *Details for SASL/SCRAM client authentication.
*/ inline bool ScramHasBeenSet() const { return m_scramHasBeenSet; } /** *Details for SASL/SCRAM client authentication.
*/ inline void SetScram(const Scram& value) { m_scramHasBeenSet = true; m_scram = value; } /** *Details for SASL/SCRAM client authentication.
*/ inline void SetScram(Scram&& value) { m_scramHasBeenSet = true; m_scram = std::move(value); } /** *Details for SASL/SCRAM client authentication.
*/ inline Sasl& WithScram(const Scram& value) { SetScram(value); return *this;} /** *Details for SASL/SCRAM client authentication.
*/ inline Sasl& WithScram(Scram&& value) { SetScram(std::move(value)); return *this;} /** *Indicates whether IAM access control is enabled.
*/ inline const Iam& GetIam() const{ return m_iam; } /** *Indicates whether IAM access control is enabled.
*/ inline bool IamHasBeenSet() const { return m_iamHasBeenSet; } /** *Indicates whether IAM access control is enabled.
*/ inline void SetIam(const Iam& value) { m_iamHasBeenSet = true; m_iam = value; } /** *Indicates whether IAM access control is enabled.
*/ inline void SetIam(Iam&& value) { m_iamHasBeenSet = true; m_iam = std::move(value); } /** *Indicates whether IAM access control is enabled.
*/ inline Sasl& WithIam(const Iam& value) { SetIam(value); return *this;} /** *Indicates whether IAM access control is enabled.
*/ inline Sasl& WithIam(Iam&& value) { SetIam(std::move(value)); return *this;} private: Scram m_scram; bool m_scramHasBeenSet = false; Iam m_iam; bool m_iamHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws