7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetConsoleAccess(
bool value) { m_consoleAccessHasBeenSet =
true; m_consoleAccess = value; }
71 inline User&
AddGroups(
const char* value) { m_groupsHasBeenSet =
true; m_groups.push_back(value);
return *
this; }
84 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
109 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
121 inline void SetReplicationUser(
bool value) { m_replicationUserHasBeenSet =
true; m_replicationUser = value; }
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;
User & AddGroups(Aws::String &&value)
bool UsernameHasBeenSet() const
void SetUsername(const Aws::String &value)
void SetGroups(Aws::Vector< Aws::String > &&value)
User & WithGroups(const Aws::Vector< Aws::String > &value)
AWS_MQ_API User(Aws::Utils::Json::JsonView jsonValue)
User & WithPassword(Aws::String &&value)
bool GetReplicationUser() const
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplicationUser(bool value)
User & WithPassword(const Aws::String &value)
bool GroupsHasBeenSet() const
const Aws::Vector< Aws::String > & GetGroups() const
User & AddGroups(const char *value)
bool PasswordHasBeenSet() const
void SetUsername(Aws::String &&value)
User & WithReplicationUser(bool value)
const Aws::String & GetPassword() const
User & WithUsername(Aws::String &&value)
User & WithPassword(const char *value)
void SetPassword(const Aws::String &value)
void SetPassword(const char *value)
void SetUsername(const char *value)
bool GetConsoleAccess() const
User & WithUsername(const char *value)
const Aws::String & GetUsername() const
User & WithGroups(Aws::Vector< Aws::String > &&value)
User & WithUsername(const Aws::String &value)
bool ConsoleAccessHasBeenSet() const
void SetConsoleAccess(bool value)
void SetPassword(Aws::String &&value)
User & AddGroups(const Aws::String &value)
bool ReplicationUserHasBeenSet() const
void SetGroups(const Aws::Vector< Aws::String > &value)
AWS_MQ_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
User & WithConsoleAccess(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue