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

#include <Role.h>

Public Member Functions

 Role ()
 
 Role (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Roleoperator= (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::StringGetPath () const
 
bool PathHasBeenSet () const
 
void SetPath (const Aws::String &value)
 
void SetPath (Aws::String &&value)
 
void SetPath (const char *value)
 
RoleWithPath (const Aws::String &value)
 
RoleWithPath (Aws::String &&value)
 
RoleWithPath (const char *value)
 
const Aws::StringGetRoleName () const
 
bool RoleNameHasBeenSet () const
 
void SetRoleName (const Aws::String &value)
 
void SetRoleName (Aws::String &&value)
 
void SetRoleName (const char *value)
 
RoleWithRoleName (const Aws::String &value)
 
RoleWithRoleName (Aws::String &&value)
 
RoleWithRoleName (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)
 
RoleWithRoleId (const Aws::String &value)
 
RoleWithRoleId (Aws::String &&value)
 
RoleWithRoleId (const char *value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
RoleWithArn (const Aws::String &value)
 
RoleWithArn (Aws::String &&value)
 
RoleWithArn (const char *value)
 
const Aws::Utils::DateTimeGetCreateDate () const
 
bool CreateDateHasBeenSet () const
 
void SetCreateDate (const Aws::Utils::DateTime &value)
 
void SetCreateDate (Aws::Utils::DateTime &&value)
 
RoleWithCreateDate (const Aws::Utils::DateTime &value)
 
RoleWithCreateDate (Aws::Utils::DateTime &&value)
 
const Aws::StringGetAssumeRolePolicyDocument () const
 
bool AssumeRolePolicyDocumentHasBeenSet () const
 
void SetAssumeRolePolicyDocument (const Aws::String &value)
 
void SetAssumeRolePolicyDocument (Aws::String &&value)
 
void SetAssumeRolePolicyDocument (const char *value)
 
RoleWithAssumeRolePolicyDocument (const Aws::String &value)
 
RoleWithAssumeRolePolicyDocument (Aws::String &&value)
 
RoleWithAssumeRolePolicyDocument (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
RoleWithDescription (const Aws::String &value)
 
RoleWithDescription (Aws::String &&value)
 
RoleWithDescription (const char *value)
 
int GetMaxSessionDuration () const
 
bool MaxSessionDurationHasBeenSet () const
 
void SetMaxSessionDuration (int value)
 
RoleWithMaxSessionDuration (int value)
 
const AttachedPermissionsBoundaryGetPermissionsBoundary () const
 
bool PermissionsBoundaryHasBeenSet () const
 
void SetPermissionsBoundary (const AttachedPermissionsBoundary &value)
 
void SetPermissionsBoundary (AttachedPermissionsBoundary &&value)
 
RoleWithPermissionsBoundary (const AttachedPermissionsBoundary &value)
 
RoleWithPermissionsBoundary (AttachedPermissionsBoundary &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
RoleWithTags (const Aws::Vector< Tag > &value)
 
RoleWithTags (Aws::Vector< Tag > &&value)
 
RoleAddTags (const Tag &value)
 
RoleAddTags (Tag &&value)
 
const RoleLastUsedGetRoleLastUsed () const
 
bool RoleLastUsedHasBeenSet () const
 
void SetRoleLastUsed (const RoleLastUsed &value)
 
void SetRoleLastUsed (RoleLastUsed &&value)
 
RoleWithRoleLastUsed (const RoleLastUsed &value)
 
RoleWithRoleLastUsed (RoleLastUsed &&value)
 

Detailed Description

Contains information about an IAM role. This structure is returned as a response element in several API operations that interact with roles.

See Also:

AWS API Reference

Definition at line 38 of file Role.h.

Constructor & Destructor Documentation

◆ Role() [1/2]

Aws::IAM::Model::Role::Role ( )

◆ Role() [2/2]

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

Member Function Documentation

◆ AddTags() [1/2]

Role& Aws::IAM::Model::Role::AddTags ( const Tag value)
inline

A list of tags that are attached to the specified role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Definition at line 532 of file Role.h.

◆ AddTags() [2/2]

Role& Aws::IAM::Model::Role::AddTags ( Tag &&  value)
inline

A list of tags that are attached to the specified role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Definition at line 540 of file Role.h.

◆ ArnHasBeenSet()

bool Aws::IAM::Model::Role::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.

Definition at line 226 of file Role.h.

◆ AssumeRolePolicyDocumentHasBeenSet()

bool Aws::IAM::Model::Role::AssumeRolePolicyDocumentHasBeenSet ( ) const
inline

The policy that grants an entity permission to assume the role.

Definition at line 322 of file Role.h.

◆ CreateDateHasBeenSet()

bool Aws::IAM::Model::Role::CreateDateHasBeenSet ( ) const
inline

The date and time, in ISO 8601 date-time format, when the role was created.

Definition at line 287 of file Role.h.

◆ DescriptionHasBeenSet()

bool Aws::IAM::Model::Role::DescriptionHasBeenSet ( ) const
inline

A description of the role that you provide.

Definition at line 363 of file Role.h.

◆ GetArn()

const Aws::String& Aws::IAM::Model::Role::GetArn ( ) const
inline

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.

Definition at line 218 of file Role.h.

◆ GetAssumeRolePolicyDocument()

const Aws::String& Aws::IAM::Model::Role::GetAssumeRolePolicyDocument ( ) const
inline

The policy that grants an entity permission to assume the role.

Definition at line 317 of file Role.h.

◆ GetCreateDate()

const Aws::Utils::DateTime& Aws::IAM::Model::Role::GetCreateDate ( ) const
inline

The date and time, in ISO 8601 date-time format, when the role was created.

Definition at line 281 of file Role.h.

◆ GetDescription()

const Aws::String& Aws::IAM::Model::Role::GetDescription ( ) const
inline

A description of the role that you provide.

Definition at line 358 of file Role.h.

◆ GetMaxSessionDuration()

int Aws::IAM::Model::Role::GetMaxSessionDuration ( ) const
inline

The maximum session duration (in seconds) for the specified role. Anyone who uses the AWS CLI, or API to assume the role can specify the duration using the optional DurationSeconds API parameter or duration-seconds CLI parameter.

Definition at line 402 of file Role.h.

◆ GetPath()

const Aws::String& Aws::IAM::Model::Role::GetPath ( ) const
inline

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 54 of file Role.h.

◆ GetPermissionsBoundary()

const AttachedPermissionsBoundary& Aws::IAM::Model::Role::GetPermissionsBoundary ( ) const
inline

The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.

Definition at line 435 of file Role.h.

◆ GetRoleId()

const Aws::String& Aws::IAM::Model::Role::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 153 of file Role.h.

◆ GetRoleLastUsed()

const RoleLastUsed& Aws::IAM::Model::Role::GetRoleLastUsed ( ) const
inline

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions Where Data Is Tracked in the IAM User Guide.

Definition at line 552 of file Role.h.

◆ GetRoleName()

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

The friendly name that identifies the role.

Definition at line 109 of file Role.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::IAM::Model::Role::GetTags ( ) const
inline

A list of tags that are attached to the specified role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Definition at line 484 of file Role.h.

◆ MaxSessionDurationHasBeenSet()

bool Aws::IAM::Model::Role::MaxSessionDurationHasBeenSet ( ) const
inline

The maximum session duration (in seconds) for the specified role. Anyone who uses the AWS CLI, or API to assume the role can specify the duration using the optional DurationSeconds API parameter or duration-seconds CLI parameter.

Definition at line 410 of file Role.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PathHasBeenSet()

bool Aws::IAM::Model::Role::PathHasBeenSet ( ) const
inline

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 61 of file Role.h.

◆ PermissionsBoundaryHasBeenSet()

bool Aws::IAM::Model::Role::PermissionsBoundaryHasBeenSet ( ) const
inline

The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.

Definition at line 443 of file Role.h.

◆ RoleIdHasBeenSet()

bool Aws::IAM::Model::Role::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 161 of file Role.h.

◆ RoleLastUsedHasBeenSet()

bool Aws::IAM::Model::Role::RoleLastUsedHasBeenSet ( ) const
inline

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions Where Data Is Tracked in the IAM User Guide.

Definition at line 563 of file Role.h.

◆ RoleNameHasBeenSet()

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

The friendly name that identifies the role.

Definition at line 114 of file Role.h.

◆ SetArn() [1/3]

void Aws::IAM::Model::Role::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.

Definition at line 234 of file Role.h.

◆ SetArn() [2/3]

void Aws::IAM::Model::Role::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.

Definition at line 242 of file Role.h.

◆ SetArn() [3/3]

void Aws::IAM::Model::Role::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.

Definition at line 250 of file Role.h.

◆ SetAssumeRolePolicyDocument() [1/3]

void Aws::IAM::Model::Role::SetAssumeRolePolicyDocument ( const Aws::String value)
inline

The policy that grants an entity permission to assume the role.

Definition at line 327 of file Role.h.

◆ SetAssumeRolePolicyDocument() [2/3]

void Aws::IAM::Model::Role::SetAssumeRolePolicyDocument ( Aws::String &&  value)
inline

The policy that grants an entity permission to assume the role.

Definition at line 332 of file Role.h.

◆ SetAssumeRolePolicyDocument() [3/3]

void Aws::IAM::Model::Role::SetAssumeRolePolicyDocument ( const char *  value)
inline

The policy that grants an entity permission to assume the role.

Definition at line 337 of file Role.h.

◆ SetCreateDate() [1/2]

void Aws::IAM::Model::Role::SetCreateDate ( const Aws::Utils::DateTime value)
inline

The date and time, in ISO 8601 date-time format, when the role was created.

Definition at line 293 of file Role.h.

◆ SetCreateDate() [2/2]

void Aws::IAM::Model::Role::SetCreateDate ( Aws::Utils::DateTime &&  value)
inline

The date and time, in ISO 8601 date-time format, when the role was created.

Definition at line 299 of file Role.h.

◆ SetDescription() [1/3]

void Aws::IAM::Model::Role::SetDescription ( const Aws::String value)
inline

A description of the role that you provide.

Definition at line 368 of file Role.h.

◆ SetDescription() [2/3]

void Aws::IAM::Model::Role::SetDescription ( Aws::String &&  value)
inline

A description of the role that you provide.

Definition at line 373 of file Role.h.

◆ SetDescription() [3/3]

void Aws::IAM::Model::Role::SetDescription ( const char *  value)
inline

A description of the role that you provide.

Definition at line 378 of file Role.h.

◆ SetMaxSessionDuration()

void Aws::IAM::Model::Role::SetMaxSessionDuration ( int  value)
inline

The maximum session duration (in seconds) for the specified role. Anyone who uses the AWS CLI, or API to assume the role can specify the duration using the optional DurationSeconds API parameter or duration-seconds CLI parameter.

Definition at line 418 of file Role.h.

◆ SetPath() [1/3]

void Aws::IAM::Model::Role::SetPath ( const Aws::String value)
inline

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 68 of file Role.h.

◆ SetPath() [2/3]

void Aws::IAM::Model::Role::SetPath ( Aws::String &&  value)
inline

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 75 of file Role.h.

◆ SetPath() [3/3]

void Aws::IAM::Model::Role::SetPath ( const char *  value)
inline

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 82 of file Role.h.

◆ SetPermissionsBoundary() [1/2]

void Aws::IAM::Model::Role::SetPermissionsBoundary ( const AttachedPermissionsBoundary value)
inline

The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.

Definition at line 451 of file Role.h.

◆ SetPermissionsBoundary() [2/2]

void Aws::IAM::Model::Role::SetPermissionsBoundary ( AttachedPermissionsBoundary &&  value)
inline

The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.

Definition at line 459 of file Role.h.

◆ SetRoleId() [1/3]

void Aws::IAM::Model::Role::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 169 of file Role.h.

◆ SetRoleId() [2/3]

void Aws::IAM::Model::Role::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 177 of file Role.h.

◆ SetRoleId() [3/3]

void Aws::IAM::Model::Role::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 185 of file Role.h.

◆ SetRoleLastUsed() [1/2]

void Aws::IAM::Model::Role::SetRoleLastUsed ( const RoleLastUsed value)
inline

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions Where Data Is Tracked in the IAM User Guide.

Definition at line 574 of file Role.h.

◆ SetRoleLastUsed() [2/2]

void Aws::IAM::Model::Role::SetRoleLastUsed ( RoleLastUsed &&  value)
inline

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions Where Data Is Tracked in the IAM User Guide.

Definition at line 585 of file Role.h.

◆ SetRoleName() [1/3]

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

The friendly name that identifies the role.

Definition at line 119 of file Role.h.

◆ SetRoleName() [2/3]

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

The friendly name that identifies the role.

Definition at line 124 of file Role.h.

◆ SetRoleName() [3/3]

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

The friendly name that identifies the role.

Definition at line 129 of file Role.h.

◆ SetTags() [1/2]

void Aws::IAM::Model::Role::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that are attached to the specified role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Definition at line 500 of file Role.h.

◆ SetTags() [2/2]

void Aws::IAM::Model::Role::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that are attached to the specified role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Definition at line 508 of file Role.h.

◆ TagsHasBeenSet()

bool Aws::IAM::Model::Role::TagsHasBeenSet ( ) const
inline

A list of tags that are attached to the specified role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Definition at line 492 of file Role.h.

◆ WithArn() [1/3]

Role& Aws::IAM::Model::Role::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.

Definition at line 258 of file Role.h.

◆ WithArn() [2/3]

Role& Aws::IAM::Model::Role::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.

Definition at line 266 of file Role.h.

◆ WithArn() [3/3]

Role& Aws::IAM::Model::Role::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide guide.

Definition at line 274 of file Role.h.

◆ WithAssumeRolePolicyDocument() [1/3]

Role& Aws::IAM::Model::Role::WithAssumeRolePolicyDocument ( const Aws::String value)
inline

The policy that grants an entity permission to assume the role.

Definition at line 342 of file Role.h.

◆ WithAssumeRolePolicyDocument() [2/3]

Role& Aws::IAM::Model::Role::WithAssumeRolePolicyDocument ( Aws::String &&  value)
inline

The policy that grants an entity permission to assume the role.

Definition at line 347 of file Role.h.

◆ WithAssumeRolePolicyDocument() [3/3]

Role& Aws::IAM::Model::Role::WithAssumeRolePolicyDocument ( const char *  value)
inline

The policy that grants an entity permission to assume the role.

Definition at line 352 of file Role.h.

◆ WithCreateDate() [1/2]

Role& Aws::IAM::Model::Role::WithCreateDate ( const Aws::Utils::DateTime value)
inline

The date and time, in ISO 8601 date-time format, when the role was created.

Definition at line 305 of file Role.h.

◆ WithCreateDate() [2/2]

Role& Aws::IAM::Model::Role::WithCreateDate ( Aws::Utils::DateTime &&  value)
inline

The date and time, in ISO 8601 date-time format, when the role was created.

Definition at line 311 of file Role.h.

◆ WithDescription() [1/3]

Role& Aws::IAM::Model::Role::WithDescription ( const Aws::String value)
inline

A description of the role that you provide.

Definition at line 383 of file Role.h.

◆ WithDescription() [2/3]

Role& Aws::IAM::Model::Role::WithDescription ( Aws::String &&  value)
inline

A description of the role that you provide.

Definition at line 388 of file Role.h.

◆ WithDescription() [3/3]

Role& Aws::IAM::Model::Role::WithDescription ( const char *  value)
inline

A description of the role that you provide.

Definition at line 393 of file Role.h.

◆ WithMaxSessionDuration()

Role& Aws::IAM::Model::Role::WithMaxSessionDuration ( int  value)
inline

The maximum session duration (in seconds) for the specified role. Anyone who uses the AWS CLI, or API to assume the role can specify the duration using the optional DurationSeconds API parameter or duration-seconds CLI parameter.

Definition at line 426 of file Role.h.

◆ WithPath() [1/3]

Role& Aws::IAM::Model::Role::WithPath ( const Aws::String value)
inline

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 89 of file Role.h.

◆ WithPath() [2/3]

Role& Aws::IAM::Model::Role::WithPath ( Aws::String &&  value)
inline

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 96 of file Role.h.

◆ WithPath() [3/3]

Role& Aws::IAM::Model::Role::WithPath ( const char *  value)
inline

The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 103 of file Role.h.

◆ WithPermissionsBoundary() [1/2]

Role& Aws::IAM::Model::Role::WithPermissionsBoundary ( const AttachedPermissionsBoundary value)
inline

The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.

Definition at line 467 of file Role.h.

◆ WithPermissionsBoundary() [2/2]

Role& Aws::IAM::Model::Role::WithPermissionsBoundary ( AttachedPermissionsBoundary &&  value)
inline

The ARN of the policy used to set the permissions boundary for the role.

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.

Definition at line 475 of file Role.h.

◆ WithRoleId() [1/3]

Role& Aws::IAM::Model::Role::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 193 of file Role.h.

◆ WithRoleId() [2/3]

Role& Aws::IAM::Model::Role::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 201 of file Role.h.

◆ WithRoleId() [3/3]

Role& Aws::IAM::Model::Role::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 209 of file Role.h.

◆ WithRoleLastUsed() [1/2]

Role& Aws::IAM::Model::Role::WithRoleLastUsed ( const RoleLastUsed value)
inline

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions Where Data Is Tracked in the IAM User Guide.

Definition at line 596 of file Role.h.

◆ WithRoleLastUsed() [2/2]

Role& Aws::IAM::Model::Role::WithRoleLastUsed ( RoleLastUsed &&  value)
inline

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions Where Data Is Tracked in the IAM User Guide.

Definition at line 607 of file Role.h.

◆ WithRoleName() [1/3]

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

The friendly name that identifies the role.

Definition at line 134 of file Role.h.

◆ WithRoleName() [2/3]

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

The friendly name that identifies the role.

Definition at line 139 of file Role.h.

◆ WithRoleName() [3/3]

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

The friendly name that identifies the role.

Definition at line 144 of file Role.h.

◆ WithTags() [1/2]

Role& Aws::IAM::Model::Role::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that are attached to the specified role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Definition at line 516 of file Role.h.

◆ WithTags() [2/2]

Role& Aws::IAM::Model::Role::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that are attached to the specified role. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

Definition at line 524 of file Role.h.


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