/** * 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 broker credentials.

See * Also:

AWS * API Reference

*/ class MQBrokerAccessCredentials { public: AWS_PIPES_API MQBrokerAccessCredentials(); AWS_PIPES_API MQBrokerAccessCredentials(Aws::Utils::Json::JsonView jsonValue); AWS_PIPES_API MQBrokerAccessCredentials& 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 MQBrokerAccessCredentials& WithBasicAuth(const Aws::String& value) { SetBasicAuth(value); return *this;} /** *

The ARN of the Secrets Manager secret.

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

The ARN of the Secrets Manager secret.

*/ inline MQBrokerAccessCredentials& WithBasicAuth(const char* value) { SetBasicAuth(value); return *this;} private: Aws::String m_basicAuth; bool m_basicAuthHasBeenSet = false; }; } // namespace Model } // namespace Pipes } // namespace Aws