/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about the status of the changes pending for the ActiveMQ
* user.See Also:
AWS
* API Reference
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
*/ inline bool GetConsoleAccess() const{ return m_consoleAccess; } /** *Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
*/ inline bool ConsoleAccessHasBeenSet() const { return m_consoleAccessHasBeenSet; } /** *Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
*/ inline void SetConsoleAccess(bool value) { m_consoleAccessHasBeenSet = true; m_consoleAccess = value; } /** *Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
*/ inline UserPendingChanges& WithConsoleAccess(bool value) { SetConsoleAccess(value); return *this;} /** *The list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline const Aws::VectorThe list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; } /** *The list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline void SetGroups(const Aws::VectorThe list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline void SetGroups(Aws::VectorThe list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline UserPendingChanges& WithGroups(const Aws::VectorThe list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline UserPendingChanges& WithGroups(Aws::VectorThe list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline UserPendingChanges& AddGroups(const Aws::String& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *The list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline UserPendingChanges& AddGroups(Aws::String&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; } /** *The list of groups (20 maximum) to which the ActiveMQ user belongs. This * value can contain only alphanumeric characters, dashes, periods, underscores, * and tildes (- . _ ~). This value must be 2-100 characters long.
*/ inline UserPendingChanges& AddGroups(const char* value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; } /** *Required. The type of change pending for the ActiveMQ user.
*/ inline const ChangeType& GetPendingChange() const{ return m_pendingChange; } /** *Required. The type of change pending for the ActiveMQ user.
*/ inline bool PendingChangeHasBeenSet() const { return m_pendingChangeHasBeenSet; } /** *Required. The type of change pending for the ActiveMQ user.
*/ inline void SetPendingChange(const ChangeType& value) { m_pendingChangeHasBeenSet = true; m_pendingChange = value; } /** *Required. The type of change pending for the ActiveMQ user.
*/ inline void SetPendingChange(ChangeType&& value) { m_pendingChangeHasBeenSet = true; m_pendingChange = std::move(value); } /** *Required. The type of change pending for the ActiveMQ user.
*/ inline UserPendingChanges& WithPendingChange(const ChangeType& value) { SetPendingChange(value); return *this;} /** *Required. The type of change pending for the ActiveMQ user.
*/ inline UserPendingChanges& WithPendingChange(ChangeType&& value) { SetPendingChange(std::move(value)); return *this;} private: bool m_consoleAccess; bool m_consoleAccessHasBeenSet = false; Aws::Vector