7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mq/MQ_EXPORTS.h>
34 AWS_MQ_API
User() =
default;
47 m_consoleAccessHasBeenSet =
true;
48 m_consoleAccess = value;
65 template <
typename GroupsT = Aws::Vector<Aws::String>>
67 m_groupsHasBeenSet =
true;
68 m_groups = std::forward<GroupsT>(value);
70 template <
typename GroupsT = Aws::Vector<Aws::String>>
75 template <
typename GroupsT = Aws::String>
77 m_groupsHasBeenSet =
true;
78 m_groups.emplace_back(std::forward<GroupsT>(value));
91 template <
typename PasswordT = Aws::String>
93 m_passwordHasBeenSet =
true;
94 m_password = std::forward<PasswordT>(value);
96 template <
typename PasswordT = Aws::String>
120 template <
typename UsernameT = Aws::String>
122 m_usernameHasBeenSet =
true;
123 m_username = std::forward<UsernameT>(value);
125 template <
typename UsernameT = Aws::String>
139 m_replicationUserHasBeenSet =
true;
140 m_replicationUser = value;
148 bool m_consoleAccess{
false};
156 bool m_replicationUser{
false};
157 bool m_consoleAccessHasBeenSet =
false;
158 bool m_groupsHasBeenSet =
false;
159 bool m_passwordHasBeenSet =
false;
160 bool m_usernameHasBeenSet =
false;
161 bool m_replicationUserHasBeenSet =
false;
void SetUsername(UsernameT &&value)
bool UsernameHasBeenSet() const
User & AddGroups(GroupsT &&value)
AWS_MQ_API User(Aws::Utils::Json::JsonView jsonValue)
bool GetReplicationUser() const
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplicationUser(bool value)
bool GroupsHasBeenSet() const
User & WithGroups(GroupsT &&value)
const Aws::Vector< Aws::String > & GetGroups() const
bool PasswordHasBeenSet() const
void SetPassword(PasswordT &&value)
User & WithReplicationUser(bool value)
const Aws::String & GetPassword() const
AWS_MQ_API User()=default
bool GetConsoleAccess() const
const Aws::String & GetUsername() const
User & WithUsername(UsernameT &&value)
void SetGroups(GroupsT &&value)
bool ConsoleAccessHasBeenSet() const
void SetConsoleAccess(bool value)
User & WithPassword(PasswordT &&value)
bool ReplicationUserHasBeenSet() const
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