/** * 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 SecurityHub { namespace Model { /** *

Provides details about the broker usernames for the specified broker. * Doesn't apply to RabbitMQ brokers.

See Also:

AWS * API Reference

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

The type of change pending for the broker user.

*/ inline const Aws::String& GetPendingChange() const{ return m_pendingChange; } /** *

The type of change pending for the broker user.

*/ inline bool PendingChangeHasBeenSet() const { return m_pendingChangeHasBeenSet; } /** *

The type of change pending for the broker user.

*/ inline void SetPendingChange(const Aws::String& value) { m_pendingChangeHasBeenSet = true; m_pendingChange = value; } /** *

The type of change pending for the broker user.

*/ inline void SetPendingChange(Aws::String&& value) { m_pendingChangeHasBeenSet = true; m_pendingChange = std::move(value); } /** *

The type of change pending for the broker user.

*/ inline void SetPendingChange(const char* value) { m_pendingChangeHasBeenSet = true; m_pendingChange.assign(value); } /** *

The type of change pending for the broker user.

*/ inline AwsAmazonMqBrokerUsersDetails& WithPendingChange(const Aws::String& value) { SetPendingChange(value); return *this;} /** *

The type of change pending for the broker user.

*/ inline AwsAmazonMqBrokerUsersDetails& WithPendingChange(Aws::String&& value) { SetPendingChange(std::move(value)); return *this;} /** *

The type of change pending for the broker user.

*/ inline AwsAmazonMqBrokerUsersDetails& WithPendingChange(const char* value) { SetPendingChange(value); return *this;} /** *

The username of the broker user.

*/ inline const Aws::String& GetUsername() const{ return m_username; } /** *

The username of the broker user.

*/ inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } /** *

The username of the broker user.

*/ inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } /** *

The username of the broker user.

*/ inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } /** *

The username of the broker user.

*/ inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } /** *

The username of the broker user.

*/ inline AwsAmazonMqBrokerUsersDetails& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} /** *

The username of the broker user.

*/ inline AwsAmazonMqBrokerUsersDetails& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} /** *

The username of the broker user.

*/ inline AwsAmazonMqBrokerUsersDetails& WithUsername(const char* value) { SetUsername(value); return *this;} private: Aws::String m_pendingChange; bool m_pendingChangeHasBeenSet = false; Aws::String m_username; bool m_usernameHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws