AWS SDK for C++  1.8.24
AWS SDK for C++
Public Member Functions | List of all members
Aws::IAM::Model::PolicyUser Class Reference

#include <PolicyUser.h>

Public Member Functions

 PolicyUser ()
 
 PolicyUser (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PolicyUseroperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetUserName () const
 
bool UserNameHasBeenSet () const
 
void SetUserName (const Aws::String &value)
 
void SetUserName (Aws::String &&value)
 
void SetUserName (const char *value)
 
PolicyUserWithUserName (const Aws::String &value)
 
PolicyUserWithUserName (Aws::String &&value)
 
PolicyUserWithUserName (const char *value)
 
const Aws::StringGetUserId () const
 
bool UserIdHasBeenSet () const
 
void SetUserId (const Aws::String &value)
 
void SetUserId (Aws::String &&value)
 
void SetUserId (const char *value)
 
PolicyUserWithUserId (const Aws::String &value)
 
PolicyUserWithUserId (Aws::String &&value)
 
PolicyUserWithUserId (const char *value)
 

Detailed Description

Contains information about a user that a managed policy is attached to.

This data type is used as a response element in the ListEntitiesForPolicy operation.

For more information about managed policies, refer to Managed Policies and Inline Policies in the IAM User Guide.

See Also:

AWS API Reference

Definition at line 37 of file PolicyUser.h.

Constructor & Destructor Documentation

◆ PolicyUser() [1/2]

Aws::IAM::Model::PolicyUser::PolicyUser ( )

◆ PolicyUser() [2/2]

Aws::IAM::Model::PolicyUser::PolicyUser ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetUserId()

const Aws::String& Aws::IAM::Model::PolicyUser::GetUserId ( ) const
inline

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 95 of file PolicyUser.h.

◆ GetUserName()

const Aws::String& Aws::IAM::Model::PolicyUser::GetUserName ( ) const
inline

The name (friendly name, not ARN) identifying the user.

Definition at line 51 of file PolicyUser.h.

◆ operator=()

PolicyUser& Aws::IAM::Model::PolicyUser::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::IAM::Model::PolicyUser::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ OutputToStream() [2/2]

void Aws::IAM::Model::PolicyUser::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ SetUserId() [1/3]

void Aws::IAM::Model::PolicyUser::SetUserId ( const Aws::String value)
inline

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 111 of file PolicyUser.h.

◆ SetUserId() [2/3]

void Aws::IAM::Model::PolicyUser::SetUserId ( Aws::String &&  value)
inline

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 119 of file PolicyUser.h.

◆ SetUserId() [3/3]

void Aws::IAM::Model::PolicyUser::SetUserId ( const char *  value)
inline

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 127 of file PolicyUser.h.

◆ SetUserName() [1/3]

void Aws::IAM::Model::PolicyUser::SetUserName ( const Aws::String value)
inline

The name (friendly name, not ARN) identifying the user.

Definition at line 61 of file PolicyUser.h.

◆ SetUserName() [2/3]

void Aws::IAM::Model::PolicyUser::SetUserName ( Aws::String &&  value)
inline

The name (friendly name, not ARN) identifying the user.

Definition at line 66 of file PolicyUser.h.

◆ SetUserName() [3/3]

void Aws::IAM::Model::PolicyUser::SetUserName ( const char *  value)
inline

The name (friendly name, not ARN) identifying the user.

Definition at line 71 of file PolicyUser.h.

◆ UserIdHasBeenSet()

bool Aws::IAM::Model::PolicyUser::UserIdHasBeenSet ( ) const
inline

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 103 of file PolicyUser.h.

◆ UserNameHasBeenSet()

bool Aws::IAM::Model::PolicyUser::UserNameHasBeenSet ( ) const
inline

The name (friendly name, not ARN) identifying the user.

Definition at line 56 of file PolicyUser.h.

◆ WithUserId() [1/3]

PolicyUser& Aws::IAM::Model::PolicyUser::WithUserId ( const Aws::String value)
inline

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 135 of file PolicyUser.h.

◆ WithUserId() [2/3]

PolicyUser& Aws::IAM::Model::PolicyUser::WithUserId ( Aws::String &&  value)
inline

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 143 of file PolicyUser.h.

◆ WithUserId() [3/3]

PolicyUser& Aws::IAM::Model::PolicyUser::WithUserId ( const char *  value)
inline

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 151 of file PolicyUser.h.

◆ WithUserName() [1/3]

PolicyUser& Aws::IAM::Model::PolicyUser::WithUserName ( const Aws::String value)
inline

The name (friendly name, not ARN) identifying the user.

Definition at line 76 of file PolicyUser.h.

◆ WithUserName() [2/3]

PolicyUser& Aws::IAM::Model::PolicyUser::WithUserName ( Aws::String &&  value)
inline

The name (friendly name, not ARN) identifying the user.

Definition at line 81 of file PolicyUser.h.

◆ WithUserName() [3/3]

PolicyUser& Aws::IAM::Model::PolicyUser::WithUserName ( const char *  value)
inline

The name (friendly name, not ARN) identifying the user.

Definition at line 86 of file PolicyUser.h.


The documentation for this class was generated from the following file: