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>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iam/model/AttachedPermissionsBoundary.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/iam/model/Tag.h>
60 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
74 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
91 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
108 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
180 inline User&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
181 inline User&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
186 bool m_pathHasBeenSet =
false;
189 bool m_userNameHasBeenSet =
false;
192 bool m_userIdHasBeenSet =
false;
195 bool m_arnHasBeenSet =
false;
198 bool m_createDateHasBeenSet =
false;
201 bool m_passwordLastUsedHasBeenSet =
false;
204 bool m_permissionsBoundaryHasBeenSet =
false;
207 bool m_tagsHasBeenSet =
false;
User & WithPath(const char *value)
void SetPasswordLastUsed(const Aws::Utils::DateTime &value)
void SetUserId(const Aws::String &value)
void SetPath(const Aws::String &value)
User & WithUserName(const char *value)
void SetUserName(Aws::String &&value)
const AttachedPermissionsBoundary & GetPermissionsBoundary() const
AWS_IAM_API User & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Tag > & GetTags() const
void SetPath(Aws::String &&value)
void SetUserId(Aws::String &&value)
bool TagsHasBeenSet() const
const Aws::Utils::DateTime & GetPasswordLastUsed() const
User & WithUserName(const Aws::String &value)
User & WithCreateDate(Aws::Utils::DateTime &&value)
User & WithCreateDate(const Aws::Utils::DateTime &value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCreateDate(Aws::Utils::DateTime &&value)
User & WithUserId(const Aws::String &value)
User & WithPath(const Aws::String &value)
void SetPasswordLastUsed(Aws::Utils::DateTime &&value)
User & WithUserId(const char *value)
User & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetUserName() const
User & WithUserName(Aws::String &&value)
void SetPermissionsBoundary(AttachedPermissionsBoundary &&value)
User & WithArn(Aws::String &&value)
void SetPath(const char *value)
void SetArn(Aws::String &&value)
bool UserIdHasBeenSet() const
User & WithArn(const Aws::String &value)
User & WithPermissionsBoundary(AttachedPermissionsBoundary &&value)
void SetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateDate() const
void SetUserName(const char *value)
bool PermissionsBoundaryHasBeenSet() const
const Aws::String & GetPath() const
bool UserNameHasBeenSet() const
void SetUserName(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetUserId() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetPermissionsBoundary(const AttachedPermissionsBoundary &value)
User & WithPath(Aws::String &&value)
bool PathHasBeenSet() const
const Aws::String & GetArn() const
User & WithPasswordLastUsed(Aws::Utils::DateTime &&value)
User & WithTags(const Aws::Vector< Tag > &value)
User & AddTags(Tag &&value)
User & AddTags(const Tag &value)
bool PasswordLastUsedHasBeenSet() const
AWS_IAM_API User(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ArnHasBeenSet() const
void SetCreateDate(const Aws::Utils::DateTime &value)
bool CreateDateHasBeenSet() const
User & WithUserId(Aws::String &&value)
void SetArn(const char *value)
User & WithPermissionsBoundary(const AttachedPermissionsBoundary &value)
User & WithPasswordLastUsed(const Aws::Utils::DateTime &value)
void SetUserId(const char *value)
User & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream