/** * 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 SelfManagedKafkaAccessConfigurationCredentials { public: AWS_PIPES_API SelfManagedKafkaAccessConfigurationCredentials(); AWS_PIPES_API SelfManagedKafkaAccessConfigurationCredentials(Aws::Utils::Json::JsonView jsonValue); AWS_PIPES_API SelfManagedKafkaAccessConfigurationCredentials& 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& GetBasicAuth() const{ return m_basicAuth; } /** *

The ARN of the Secrets Manager secret.

*/ inline bool BasicAuthHasBeenSet() const { return m_basicAuthHasBeenSet; } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetBasicAuth(const Aws::String& value) { m_basicAuthHasBeenSet = true; m_basicAuth = value; } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetBasicAuth(Aws::String&& value) { m_basicAuthHasBeenSet = true; m_basicAuth = std::move(value); } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetBasicAuth(const char* value) { m_basicAuthHasBeenSet = true; m_basicAuth.assign(value); } /** *

The ARN of the Secrets Manager secret.

*/ inline SelfManagedKafkaAccessConfigurationCredentials& WithBasicAuth(const Aws::String& value) { SetBasicAuth(value); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline SelfManagedKafkaAccessConfigurationCredentials& WithBasicAuth(Aws::String&& value) { SetBasicAuth(std::move(value)); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline SelfManagedKafkaAccessConfigurationCredentials& WithBasicAuth(const char* value) { SetBasicAuth(value); return *this;} /** *

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 SelfManagedKafkaAccessConfigurationCredentials& WithClientCertificateTlsAuth(const Aws::String& value) { SetClientCertificateTlsAuth(value); return *this;} /** *

The ARN of the Secrets Manager secret.

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

The ARN of the Secrets Manager secret.

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

The ARN of the Secrets Manager secret.

*/ inline const Aws::String& GetSaslScram256Auth() const{ return m_saslScram256Auth; } /** *

The ARN of the Secrets Manager secret.

*/ inline bool SaslScram256AuthHasBeenSet() const { return m_saslScram256AuthHasBeenSet; } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetSaslScram256Auth(const Aws::String& value) { m_saslScram256AuthHasBeenSet = true; m_saslScram256Auth = value; } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetSaslScram256Auth(Aws::String&& value) { m_saslScram256AuthHasBeenSet = true; m_saslScram256Auth = std::move(value); } /** *

The ARN of the Secrets Manager secret.

*/ inline void SetSaslScram256Auth(const char* value) { m_saslScram256AuthHasBeenSet = true; m_saslScram256Auth.assign(value); } /** *

The ARN of the Secrets Manager secret.

*/ inline SelfManagedKafkaAccessConfigurationCredentials& WithSaslScram256Auth(const Aws::String& value) { SetSaslScram256Auth(value); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline SelfManagedKafkaAccessConfigurationCredentials& WithSaslScram256Auth(Aws::String&& value) { SetSaslScram256Auth(std::move(value)); return *this;} /** *

The ARN of the Secrets Manager secret.

*/ inline SelfManagedKafkaAccessConfigurationCredentials& WithSaslScram256Auth(const char* value) { SetSaslScram256Auth(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 SelfManagedKafkaAccessConfigurationCredentials& WithSaslScram512Auth(const Aws::String& value) { SetSaslScram512Auth(value); return *this;} /** *

The ARN of the Secrets Manager secret.

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

The ARN of the Secrets Manager secret.

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