7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mq/MQRequest.h>
10#include <aws/mq/MQ_EXPORTS.h>
41 template <
typename BrokerIdT = Aws::String>
43 m_brokerIdHasBeenSet =
true;
44 m_brokerId = std::forward<BrokerIdT>(value);
46 template <
typename BrokerIdT = Aws::String>
60 m_consoleAccessHasBeenSet =
true;
61 m_consoleAccess = value;
77 template <
typename GroupsT = Aws::Vector<Aws::String>>
79 m_groupsHasBeenSet =
true;
80 m_groups = std::forward<GroupsT>(value);
82 template <
typename GroupsT = Aws::Vector<Aws::String>>
87 template <
typename GroupsT = Aws::String>
89 m_groupsHasBeenSet =
true;
90 m_groups.emplace_back(std::forward<GroupsT>(value));
103 template <
typename PasswordT = Aws::String>
105 m_passwordHasBeenSet =
true;
106 m_password = std::forward<PasswordT>(value);
108 template <
typename PasswordT = Aws::String>
123 template <
typename UsernameT = Aws::String>
125 m_usernameHasBeenSet =
true;
126 m_username = std::forward<UsernameT>(value);
128 template <
typename UsernameT = Aws::String>
142 m_replicationUserHasBeenSet =
true;
143 m_replicationUser = value;
153 bool m_consoleAccess{
false};
161 bool m_replicationUser{
false};
162 bool m_brokerIdHasBeenSet =
false;
163 bool m_consoleAccessHasBeenSet =
false;
164 bool m_groupsHasBeenSet =
false;
165 bool m_passwordHasBeenSet =
false;
166 bool m_usernameHasBeenSet =
false;
167 bool m_replicationUserHasBeenSet =
false;
bool PasswordHasBeenSet() const
AWS_MQ_API Aws::String SerializePayload() const override
void SetGroups(GroupsT &&value)
const Aws::String & GetUsername() const
bool BrokerIdHasBeenSet() const
bool UsernameHasBeenSet() const
UpdateUserRequest & WithConsoleAccess(bool value)
const Aws::String & GetPassword() const
void SetConsoleAccess(bool value)
bool ConsoleAccessHasBeenSet() const
UpdateUserRequest & WithUsername(UsernameT &&value)
bool GroupsHasBeenSet() const
UpdateUserRequest & WithGroups(GroupsT &&value)
UpdateUserRequest & WithBrokerId(BrokerIdT &&value)
UpdateUserRequest & WithPassword(PasswordT &&value)
UpdateUserRequest & WithReplicationUser(bool value)
bool ReplicationUserHasBeenSet() const
UpdateUserRequest & AddGroups(GroupsT &&value)
void SetReplicationUser(bool value)
virtual const char * GetServiceRequestName() const override
void SetUsername(UsernameT &&value)
const Aws::String & GetBrokerId() const
void SetPassword(PasswordT &&value)
const Aws::Vector< Aws::String > & GetGroups() const
bool GetReplicationUser() const
bool GetConsoleAccess() const
void SetBrokerId(BrokerIdT &&value)
AWS_MQ_API UpdateUserRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector