7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mq/model/UserPendingChanges.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename BrokerIdT = Aws::String>
43 void SetBrokerId(BrokerIdT&& value) { m_brokerIdHasBeenSet =
true; m_brokerId = std::forward<BrokerIdT>(value); }
44 template<
typename BrokerIdT = Aws::String>
53 inline void SetConsoleAccess(
bool value) { m_consoleAccessHasBeenSet =
true; m_consoleAccess = value; }
64 template<
typename GroupsT = Aws::Vector<Aws::String>>
65 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
66 template<
typename GroupsT = Aws::Vector<Aws::String>>
68 template<
typename GroupsT = Aws::String>
69 DescribeUserResult&
AddGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups.emplace_back(std::forward<GroupsT>(value));
return *
this; }
77 template<
typename PendingT = UserPendingChanges>
78 void SetPending(PendingT&& value) { m_pendingHasBeenSet =
true; m_pending = std::forward<PendingT>(value); }
79 template<
typename PendingT = UserPendingChanges>
90 template<
typename UsernameT = Aws::String>
91 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
92 template<
typename UsernameT = Aws::String>
101 inline void SetReplicationUser(
bool value) { m_replicationUserHasBeenSet =
true; m_replicationUser = value; }
108 template<
typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
110 template<
typename RequestIdT = Aws::String>
116 bool m_brokerIdHasBeenSet =
false;
118 bool m_consoleAccess{
false};
119 bool m_consoleAccessHasBeenSet =
false;
122 bool m_groupsHasBeenSet =
false;
124 UserPendingChanges m_pending;
125 bool m_pendingHasBeenSet =
false;
128 bool m_usernameHasBeenSet =
false;
130 bool m_replicationUser{
false};
131 bool m_replicationUserHasBeenSet =
false;
134 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetGroups() const
AWS_MQ_API DescribeUserResult()=default
void SetUsername(UsernameT &&value)
DescribeUserResult & WithPending(PendingT &&value)
DescribeUserResult & WithBrokerId(BrokerIdT &&value)
DescribeUserResult & WithReplicationUser(bool value)
bool GetReplicationUser() const
const UserPendingChanges & GetPending() const
AWS_MQ_API DescribeUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUserResult & AddGroups(GroupsT &&value)
DescribeUserResult & WithRequestId(RequestIdT &&value)
void SetGroups(GroupsT &&value)
void SetConsoleAccess(bool value)
AWS_MQ_API DescribeUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBrokerId(BrokerIdT &&value)
void SetReplicationUser(bool value)
DescribeUserResult & WithUsername(UsernameT &&value)
const Aws::String & GetUsername() const
void SetPending(PendingT &&value)
const Aws::String & GetBrokerId() const
DescribeUserResult & WithConsoleAccess(bool value)
void SetRequestId(RequestIdT &&value)
DescribeUserResult & WithGroups(GroupsT &&value)
bool GetConsoleAccess() const
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue