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>
56 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
73 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
81 bool m_userNameHasBeenSet =
false;
84 bool m_userIdHasBeenSet =
false;
bool UserIdHasBeenSet() const
AWS_IAM_API PolicyUser(const Aws::Utils::Xml::XmlNode &xmlNode)
bool UserNameHasBeenSet() const
void SetUserId(const Aws::String &value)
PolicyUser & WithUserId(const Aws::String &value)
PolicyUser & WithUserName(const char *value)
PolicyUser & WithUserId(const char *value)
PolicyUser & WithUserId(Aws::String &&value)
PolicyUser & WithUserName(Aws::String &&value)
AWS_IAM_API PolicyUser & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetUserId(const char *value)
const Aws::String & GetUserName() const
void SetUserName(const Aws::String &value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PolicyUser & WithUserName(const Aws::String &value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetUserName(const char *value)
void SetUserName(Aws::String &&value)
const Aws::String & GetUserId() const
void SetUserId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream