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

#include <PolicyRole.h>

Public Member Functions

 PolicyRole ()
 
 PolicyRole (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PolicyRoleoperator= (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::StringGetRoleName () const
 
bool RoleNameHasBeenSet () const
 
void SetRoleName (const Aws::String &value)
 
void SetRoleName (Aws::String &&value)
 
void SetRoleName (const char *value)
 
PolicyRoleWithRoleName (const Aws::String &value)
 
PolicyRoleWithRoleName (Aws::String &&value)
 
PolicyRoleWithRoleName (const char *value)
 
const Aws::StringGetRoleId () const
 
bool RoleIdHasBeenSet () const
 
void SetRoleId (const Aws::String &value)
 
void SetRoleId (Aws::String &&value)
 
void SetRoleId (const char *value)
 
PolicyRoleWithRoleId (const Aws::String &value)
 
PolicyRoleWithRoleId (Aws::String &&value)
 
PolicyRoleWithRoleId (const char *value)
 

Detailed Description

Contains information about a role 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 PolicyRole.h.

Constructor & Destructor Documentation

◆ PolicyRole() [1/2]

Aws::IAM::Model::PolicyRole::PolicyRole ( )

◆ PolicyRole() [2/2]

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

Member Function Documentation

◆ GetRoleId()

const Aws::String& Aws::IAM::Model::PolicyRole::GetRoleId ( ) const
inline

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

Definition at line 95 of file PolicyRole.h.

◆ GetRoleName()

const Aws::String& Aws::IAM::Model::PolicyRole::GetRoleName ( ) const
inline

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

Definition at line 51 of file PolicyRole.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ RoleIdHasBeenSet()

bool Aws::IAM::Model::PolicyRole::RoleIdHasBeenSet ( ) const
inline

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

Definition at line 103 of file PolicyRole.h.

◆ RoleNameHasBeenSet()

bool Aws::IAM::Model::PolicyRole::RoleNameHasBeenSet ( ) const
inline

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

Definition at line 56 of file PolicyRole.h.

◆ SetRoleId() [1/3]

void Aws::IAM::Model::PolicyRole::SetRoleId ( const Aws::String value)
inline

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

Definition at line 111 of file PolicyRole.h.

◆ SetRoleId() [2/3]

void Aws::IAM::Model::PolicyRole::SetRoleId ( Aws::String &&  value)
inline

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

Definition at line 119 of file PolicyRole.h.

◆ SetRoleId() [3/3]

void Aws::IAM::Model::PolicyRole::SetRoleId ( const char *  value)
inline

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

Definition at line 127 of file PolicyRole.h.

◆ SetRoleName() [1/3]

void Aws::IAM::Model::PolicyRole::SetRoleName ( const Aws::String value)
inline

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

Definition at line 61 of file PolicyRole.h.

◆ SetRoleName() [2/3]

void Aws::IAM::Model::PolicyRole::SetRoleName ( Aws::String &&  value)
inline

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

Definition at line 66 of file PolicyRole.h.

◆ SetRoleName() [3/3]

void Aws::IAM::Model::PolicyRole::SetRoleName ( const char *  value)
inline

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

Definition at line 71 of file PolicyRole.h.

◆ WithRoleId() [1/3]

PolicyRole& Aws::IAM::Model::PolicyRole::WithRoleId ( const Aws::String value)
inline

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

Definition at line 135 of file PolicyRole.h.

◆ WithRoleId() [2/3]

PolicyRole& Aws::IAM::Model::PolicyRole::WithRoleId ( Aws::String &&  value)
inline

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

Definition at line 143 of file PolicyRole.h.

◆ WithRoleId() [3/3]

PolicyRole& Aws::IAM::Model::PolicyRole::WithRoleId ( const char *  value)
inline

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

Definition at line 151 of file PolicyRole.h.

◆ WithRoleName() [1/3]

PolicyRole& Aws::IAM::Model::PolicyRole::WithRoleName ( const Aws::String value)
inline

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

Definition at line 76 of file PolicyRole.h.

◆ WithRoleName() [2/3]

PolicyRole& Aws::IAM::Model::PolicyRole::WithRoleName ( Aws::String &&  value)
inline

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

Definition at line 81 of file PolicyRole.h.

◆ WithRoleName() [3/3]

PolicyRole& Aws::IAM::Model::PolicyRole::WithRoleName ( const char *  value)
inline

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

Definition at line 86 of file PolicyRole.h.


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