7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/MQRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
47 inline void SetBrokerId(
const char* value) { m_brokerIdHasBeenSet =
true; m_brokerId.assign(value); }
59 inline void SetConsoleAccess(
bool value) { m_consoleAccessHasBeenSet =
true; m_consoleAccess = value; }
90 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
106 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
118 inline void SetReplicationUser(
bool value) { m_replicationUserHasBeenSet =
true; m_replicationUser = value; }
124 bool m_brokerIdHasBeenSet =
false;
126 bool m_consoleAccess;
127 bool m_consoleAccessHasBeenSet =
false;
130 bool m_groupsHasBeenSet =
false;
133 bool m_passwordHasBeenSet =
false;
136 bool m_usernameHasBeenSet =
false;
138 bool m_replicationUser;
139 bool m_replicationUserHasBeenSet =
false;
void SetGroups(Aws::Vector< Aws::String > &&value)
void SetBrokerId(const char *value)
CreateUserRequest & WithUsername(const char *value)
const Aws::Vector< Aws::String > & GetGroups() const
void SetUsername(const Aws::String &value)
void SetBrokerId(const Aws::String &value)
CreateUserRequest & WithBrokerId(const char *value)
AWS_MQ_API Aws::String SerializePayload() const override
void SetPassword(Aws::String &&value)
bool PasswordHasBeenSet() const
CreateUserRequest & AddGroups(Aws::String &&value)
CreateUserRequest & AddGroups(const Aws::String &value)
void SetUsername(Aws::String &&value)
void SetGroups(const Aws::Vector< Aws::String > &value)
CreateUserRequest & WithConsoleAccess(bool value)
AWS_MQ_API CreateUserRequest()
void SetConsoleAccess(bool value)
bool ConsoleAccessHasBeenSet() const
void SetBrokerId(Aws::String &&value)
CreateUserRequest & WithReplicationUser(bool value)
void SetPassword(const Aws::String &value)
CreateUserRequest & WithBrokerId(const Aws::String &value)
void SetUsername(const char *value)
void SetPassword(const char *value)
bool BrokerIdHasBeenSet() const
const Aws::String & GetUsername() const
bool UsernameHasBeenSet() const
void SetReplicationUser(bool value)
CreateUserRequest & WithPassword(const char *value)
bool ReplicationUserHasBeenSet() const
CreateUserRequest & WithPassword(Aws::String &&value)
CreateUserRequest & WithPassword(const Aws::String &value)
bool GetConsoleAccess() const
CreateUserRequest & WithGroups(const Aws::Vector< Aws::String > &value)
const Aws::String & GetBrokerId() const
virtual const char * GetServiceRequestName() const override
CreateUserRequest & WithGroups(Aws::Vector< Aws::String > &&value)
bool GetReplicationUser() const
CreateUserRequest & WithBrokerId(Aws::String &&value)
const Aws::String & GetPassword() const
CreateUserRequest & WithUsername(Aws::String &&value)
bool GroupsHasBeenSet() const
CreateUserRequest & WithUsername(const Aws::String &value)
CreateUserRequest & AddGroups(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector