7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
54 template<
typename UserNameT = Aws::String>
55 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
56 template<
typename UserNameT = Aws::String>
69 template<
typename UserIdT = Aws::String>
70 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
71 template<
typename UserIdT = Aws::String>
77 bool m_userNameHasBeenSet =
false;
80 bool m_userIdHasBeenSet =
false;
bool UserIdHasBeenSet() const
AWS_IAM_API PolicyUser(const Aws::Utils::Xml::XmlNode &xmlNode)
bool UserNameHasBeenSet() const
AWS_IAM_API PolicyUser()=default
void SetUserId(UserIdT &&value)
AWS_IAM_API PolicyUser & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetUserName() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PolicyUser & WithUserId(UserIdT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetUserName(UserNameT &&value)
PolicyUser & WithUserName(UserNameT &&value)
const Aws::String & GetUserId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream