/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pipes { namespace Model { /** *

The Secrets Manager secret that stores your stream credentials.

See * Also:

AWS * API Reference

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

The ARN of the Secrets Manager secret.

*/ inline const Aws::String& GetClientCertificateTlsAuth() const{ return m_clientCertificateTlsAuth; } /** *

The ARN of the Secrets Manager secret.

*/ inline bool ClientCertificateTlsAuthHasBeenSet() const { return m_clientCertificateTlsAuthHasBeenSet; } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetClientCertificateTlsAuth(const Aws::String& value) { m_clientCertificateTlsAuthHasBeenSet = true; m_clientCertificateTlsAuth = value; } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetClientCertificateTlsAuth(Aws::String&& value) { m_clientCertificateTlsAuthHasBeenSet = true; m_clientCertificateTlsAuth = std::move(value); } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetClientCertificateTlsAuth(const char* value) { m_clientCertificateTlsAuthHasBeenSet = true; m_clientCertificateTlsAuth.assign(value); } /** *

The ARN of the Secrets Manager secret.

*/ inline MSKAccessCredentials& WithClientCertificateTlsAuth(const Aws::String& value) { SetClientCertificateTlsAuth(value); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline MSKAccessCredentials& WithClientCertificateTlsAuth(Aws::String&& value) { SetClientCertificateTlsAuth(std::move(value)); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline MSKAccessCredentials& WithClientCertificateTlsAuth(const char* value) { SetClientCertificateTlsAuth(value); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline const Aws::String& GetSaslScram512Auth() const{ return m_saslScram512Auth; } /** *

The ARN of the Secrets Manager secret.

*/ inline bool SaslScram512AuthHasBeenSet() const { return m_saslScram512AuthHasBeenSet; } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetSaslScram512Auth(const Aws::String& value) { m_saslScram512AuthHasBeenSet = true; m_saslScram512Auth = value; } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetSaslScram512Auth(Aws::String&& value) { m_saslScram512AuthHasBeenSet = true; m_saslScram512Auth = std::move(value); } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetSaslScram512Auth(const char* value) { m_saslScram512AuthHasBeenSet = true; m_saslScram512Auth.assign(value); } /** *

The ARN of the Secrets Manager secret.

*/ inline MSKAccessCredentials& WithSaslScram512Auth(const Aws::String& value) { SetSaslScram512Auth(value); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline MSKAccessCredentials& WithSaslScram512Auth(Aws::String&& value) { SetSaslScram512Auth(std::move(value)); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline MSKAccessCredentials& WithSaslScram512Auth(const char* value) { SetSaslScram512Auth(value); return *this;} private: Aws::String m_clientCertificateTlsAuth; bool m_clientCertificateTlsAuthHasBeenSet = false; Aws::String m_saslScram512Auth; bool m_saslScram512AuthHasBeenSet = false; }; } // namespace Model } // namespace Pipes } // namespace Aws