/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about the broker usernames for the specified broker.
* Doesn't apply to RabbitMQ brokers. See Also:
AWS
* API Reference
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