7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mq/model/ChangeType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetConsoleAccess(
bool value) { m_consoleAccessHasBeenSet =
true; m_consoleAccess = value; }
61 template<
typename GroupsT = Aws::Vector<Aws::String>>
62 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
63 template<
typename GroupsT = Aws::Vector<Aws::String>>
65 template<
typename GroupsT = Aws::String>
66 UserPendingChanges&
AddGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups.emplace_back(std::forward<GroupsT>(value));
return *
this; }
80 bool m_consoleAccess{
false};
81 bool m_consoleAccessHasBeenSet =
false;
84 bool m_groupsHasBeenSet =
false;
87 bool m_pendingChangeHasBeenSet =
false;
AWS_MQ_API UserPendingChanges(Aws::Utils::Json::JsonView jsonValue)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
UserPendingChanges & WithGroups(GroupsT &&value)
UserPendingChanges & WithPendingChange(ChangeType value)
bool PendingChangeHasBeenSet() const
bool ConsoleAccessHasBeenSet() const
UserPendingChanges & WithConsoleAccess(bool value)
bool GetConsoleAccess() const
ChangeType GetPendingChange() const
UserPendingChanges & AddGroups(GroupsT &&value)
bool GroupsHasBeenSet() const
void SetGroups(GroupsT &&value)
const Aws::Vector< Aws::String > & GetGroups() const
AWS_MQ_API UserPendingChanges()=default
AWS_MQ_API UserPendingChanges & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPendingChange(ChangeType value)
void SetConsoleAccess(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue