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

#include <ManagedPolicyDetail.h>

Public Member Functions

 ManagedPolicyDetail ()
 
 ManagedPolicyDetail (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ManagedPolicyDetailoperator= (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::StringGetPolicyName () const
 
bool PolicyNameHasBeenSet () const
 
void SetPolicyName (const Aws::String &value)
 
void SetPolicyName (Aws::String &&value)
 
void SetPolicyName (const char *value)
 
ManagedPolicyDetailWithPolicyName (const Aws::String &value)
 
ManagedPolicyDetailWithPolicyName (Aws::String &&value)
 
ManagedPolicyDetailWithPolicyName (const char *value)
 
const Aws::StringGetPolicyId () const
 
bool PolicyIdHasBeenSet () const
 
void SetPolicyId (const Aws::String &value)
 
void SetPolicyId (Aws::String &&value)
 
void SetPolicyId (const char *value)
 
ManagedPolicyDetailWithPolicyId (const Aws::String &value)
 
ManagedPolicyDetailWithPolicyId (Aws::String &&value)
 
ManagedPolicyDetailWithPolicyId (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)
 
ManagedPolicyDetailWithArn (const Aws::String &value)
 
ManagedPolicyDetailWithArn (Aws::String &&value)
 
ManagedPolicyDetailWithArn (const char *value)
 
const Aws::StringGetPath () const
 
bool PathHasBeenSet () const
 
void SetPath (const Aws::String &value)
 
void SetPath (Aws::String &&value)
 
void SetPath (const char *value)
 
ManagedPolicyDetailWithPath (const Aws::String &value)
 
ManagedPolicyDetailWithPath (Aws::String &&value)
 
ManagedPolicyDetailWithPath (const char *value)
 
const Aws::StringGetDefaultVersionId () const
 
bool DefaultVersionIdHasBeenSet () const
 
void SetDefaultVersionId (const Aws::String &value)
 
void SetDefaultVersionId (Aws::String &&value)
 
void SetDefaultVersionId (const char *value)
 
ManagedPolicyDetailWithDefaultVersionId (const Aws::String &value)
 
ManagedPolicyDetailWithDefaultVersionId (Aws::String &&value)
 
ManagedPolicyDetailWithDefaultVersionId (const char *value)
 
int GetAttachmentCount () const
 
bool AttachmentCountHasBeenSet () const
 
void SetAttachmentCount (int value)
 
ManagedPolicyDetailWithAttachmentCount (int value)
 
int GetPermissionsBoundaryUsageCount () const
 
bool PermissionsBoundaryUsageCountHasBeenSet () const
 
void SetPermissionsBoundaryUsageCount (int value)
 
ManagedPolicyDetailWithPermissionsBoundaryUsageCount (int value)
 
bool GetIsAttachable () const
 
bool IsAttachableHasBeenSet () const
 
void SetIsAttachable (bool value)
 
ManagedPolicyDetailWithIsAttachable (bool value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
ManagedPolicyDetailWithDescription (const Aws::String &value)
 
ManagedPolicyDetailWithDescription (Aws::String &&value)
 
ManagedPolicyDetailWithDescription (const char *value)
 
const Aws::Utils::DateTimeGetCreateDate () const
 
bool CreateDateHasBeenSet () const
 
void SetCreateDate (const Aws::Utils::DateTime &value)
 
void SetCreateDate (Aws::Utils::DateTime &&value)
 
ManagedPolicyDetailWithCreateDate (const Aws::Utils::DateTime &value)
 
ManagedPolicyDetailWithCreateDate (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetUpdateDate () const
 
bool UpdateDateHasBeenSet () const
 
void SetUpdateDate (const Aws::Utils::DateTime &value)
 
void SetUpdateDate (Aws::Utils::DateTime &&value)
 
ManagedPolicyDetailWithUpdateDate (const Aws::Utils::DateTime &value)
 
ManagedPolicyDetailWithUpdateDate (Aws::Utils::DateTime &&value)
 
const Aws::Vector< PolicyVersion > & GetPolicyVersionList () const
 
bool PolicyVersionListHasBeenSet () const
 
void SetPolicyVersionList (const Aws::Vector< PolicyVersion > &value)
 
void SetPolicyVersionList (Aws::Vector< PolicyVersion > &&value)
 
ManagedPolicyDetailWithPolicyVersionList (const Aws::Vector< PolicyVersion > &value)
 
ManagedPolicyDetailWithPolicyVersionList (Aws::Vector< PolicyVersion > &&value)
 
ManagedPolicyDetailAddPolicyVersionList (const PolicyVersion &value)
 
ManagedPolicyDetailAddPolicyVersionList (PolicyVersion &&value)
 

Detailed Description

Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.

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

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

See Also:

AWS API Reference

Definition at line 41 of file ManagedPolicyDetail.h.

Constructor & Destructor Documentation

◆ ManagedPolicyDetail() [1/2]

Aws::IAM::Model::ManagedPolicyDetail::ManagedPolicyDetail ( )

◆ ManagedPolicyDetail() [2/2]

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

Member Function Documentation

◆ AddPolicyVersionList() [1/2]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::AddPolicyVersionList ( const PolicyVersion value)
inline

A list containing information about the versions of the policy.

Definition at line 558 of file ManagedPolicyDetail.h.

◆ AddPolicyVersionList() [2/2]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::AddPolicyVersionList ( PolicyVersion &&  value)
inline

A list containing information about the versions of the policy.

Definition at line 563 of file ManagedPolicyDetail.h.

◆ ArnHasBeenSet()

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

Definition at line 162 of file ManagedPolicyDetail.h.

◆ AttachmentCountHasBeenSet()

bool Aws::IAM::Model::ManagedPolicyDetail::AttachmentCountHasBeenSet ( ) const
inline

The number of principal entities (users, groups, and roles) that the policy is attached to.

Definition at line 315 of file ManagedPolicyDetail.h.

◆ CreateDateHasBeenSet()

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

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

Definition at line 443 of file ManagedPolicyDetail.h.

◆ DefaultVersionIdHasBeenSet()

bool Aws::IAM::Model::ManagedPolicyDetail::DefaultVersionIdHasBeenSet ( ) const
inline

The identifier for the version of the policy that is set as the default (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

Definition at line 254 of file ManagedPolicyDetail.h.

◆ DescriptionHasBeenSet()

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

A friendly description of the policy.

Definition at line 400 of file ManagedPolicyDetail.h.

◆ GetArn()

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

Definition at line 159 of file ManagedPolicyDetail.h.

◆ GetAttachmentCount()

int Aws::IAM::Model::ManagedPolicyDetail::GetAttachmentCount ( ) const
inline

The number of principal entities (users, groups, and roles) that the policy is attached to.

Definition at line 309 of file ManagedPolicyDetail.h.

◆ GetCreateDate()

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

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

Definition at line 437 of file ManagedPolicyDetail.h.

◆ GetDefaultVersionId()

const Aws::String& Aws::IAM::Model::ManagedPolicyDetail::GetDefaultVersionId ( ) const
inline

The identifier for the version of the policy that is set as the default (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

Definition at line 246 of file ManagedPolicyDetail.h.

◆ GetDescription()

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

A friendly description of the policy.

Definition at line 395 of file ManagedPolicyDetail.h.

◆ GetIsAttachable()

bool Aws::IAM::Model::ManagedPolicyDetail::GetIsAttachable ( ) const
inline

Specifies whether the policy can be attached to an IAM user, group, or role.

Definition at line 371 of file ManagedPolicyDetail.h.

◆ GetPath()

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

The path to the policy.

For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 188 of file ManagedPolicyDetail.h.

◆ GetPermissionsBoundaryUsageCount()

int Aws::IAM::Model::ManagedPolicyDetail::GetPermissionsBoundaryUsageCount ( ) const
inline

The number of entities (users and roles) for which the policy is used as the permissions boundary.

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

Definition at line 337 of file ManagedPolicyDetail.h.

◆ GetPolicyId()

const Aws::String& Aws::IAM::Model::ManagedPolicyDetail::GetPolicyId ( ) const
inline

The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 99 of file ManagedPolicyDetail.h.

◆ GetPolicyName()

const Aws::String& Aws::IAM::Model::ManagedPolicyDetail::GetPolicyName ( ) const
inline

The friendly name (not ARN) identifying the policy.

Definition at line 55 of file ManagedPolicyDetail.h.

◆ GetPolicyVersionList()

const Aws::Vector<PolicyVersion>& Aws::IAM::Model::ManagedPolicyDetail::GetPolicyVersionList ( ) const
inline

A list containing information about the versions of the policy.

Definition at line 528 of file ManagedPolicyDetail.h.

◆ GetUpdateDate()

const Aws::Utils::DateTime& Aws::IAM::Model::ManagedPolicyDetail::GetUpdateDate ( ) const
inline

The date and time, in ISO 8601 date-time format, when the policy was last updated.

When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.

Definition at line 477 of file ManagedPolicyDetail.h.

◆ IsAttachableHasBeenSet()

bool Aws::IAM::Model::ManagedPolicyDetail::IsAttachableHasBeenSet ( ) const
inline

Specifies whether the policy can be attached to an IAM user, group, or role.

Definition at line 377 of file ManagedPolicyDetail.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PathHasBeenSet()

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

The path to the policy.

For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 195 of file ManagedPolicyDetail.h.

◆ PermissionsBoundaryUsageCountHasBeenSet()

bool Aws::IAM::Model::ManagedPolicyDetail::PermissionsBoundaryUsageCountHasBeenSet ( ) const
inline

The number of entities (users and roles) for which the policy is used as the permissions boundary.

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

Definition at line 346 of file ManagedPolicyDetail.h.

◆ PolicyIdHasBeenSet()

bool Aws::IAM::Model::ManagedPolicyDetail::PolicyIdHasBeenSet ( ) const
inline

The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 107 of file ManagedPolicyDetail.h.

◆ PolicyNameHasBeenSet()

bool Aws::IAM::Model::ManagedPolicyDetail::PolicyNameHasBeenSet ( ) const
inline

The friendly name (not ARN) identifying the policy.

Definition at line 60 of file ManagedPolicyDetail.h.

◆ PolicyVersionListHasBeenSet()

bool Aws::IAM::Model::ManagedPolicyDetail::PolicyVersionListHasBeenSet ( ) const
inline

A list containing information about the versions of the policy.

Definition at line 533 of file ManagedPolicyDetail.h.

◆ SetArn() [1/3]

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

Definition at line 165 of file ManagedPolicyDetail.h.

◆ SetArn() [2/3]

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

Definition at line 168 of file ManagedPolicyDetail.h.

◆ SetArn() [3/3]

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

Definition at line 171 of file ManagedPolicyDetail.h.

◆ SetAttachmentCount()

void Aws::IAM::Model::ManagedPolicyDetail::SetAttachmentCount ( int  value)
inline

The number of principal entities (users, groups, and roles) that the policy is attached to.

Definition at line 321 of file ManagedPolicyDetail.h.

◆ SetCreateDate() [1/2]

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

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

Definition at line 449 of file ManagedPolicyDetail.h.

◆ SetCreateDate() [2/2]

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

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

Definition at line 455 of file ManagedPolicyDetail.h.

◆ SetDefaultVersionId() [1/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetDefaultVersionId ( const Aws::String value)
inline

The identifier for the version of the policy that is set as the default (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

Definition at line 262 of file ManagedPolicyDetail.h.

◆ SetDefaultVersionId() [2/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetDefaultVersionId ( Aws::String &&  value)
inline

The identifier for the version of the policy that is set as the default (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

Definition at line 270 of file ManagedPolicyDetail.h.

◆ SetDefaultVersionId() [3/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetDefaultVersionId ( const char *  value)
inline

The identifier for the version of the policy that is set as the default (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

Definition at line 278 of file ManagedPolicyDetail.h.

◆ SetDescription() [1/3]

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

A friendly description of the policy.

Definition at line 405 of file ManagedPolicyDetail.h.

◆ SetDescription() [2/3]

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

A friendly description of the policy.

Definition at line 410 of file ManagedPolicyDetail.h.

◆ SetDescription() [3/3]

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

A friendly description of the policy.

Definition at line 415 of file ManagedPolicyDetail.h.

◆ SetIsAttachable()

void Aws::IAM::Model::ManagedPolicyDetail::SetIsAttachable ( bool  value)
inline

Specifies whether the policy can be attached to an IAM user, group, or role.

Definition at line 383 of file ManagedPolicyDetail.h.

◆ SetPath() [1/3]

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

The path to the policy.

For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 202 of file ManagedPolicyDetail.h.

◆ SetPath() [2/3]

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

The path to the policy.

For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 209 of file ManagedPolicyDetail.h.

◆ SetPath() [3/3]

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

The path to the policy.

For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 216 of file ManagedPolicyDetail.h.

◆ SetPermissionsBoundaryUsageCount()

void Aws::IAM::Model::ManagedPolicyDetail::SetPermissionsBoundaryUsageCount ( int  value)
inline

The number of entities (users and roles) for which the policy is used as the permissions boundary.

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

Definition at line 355 of file ManagedPolicyDetail.h.

◆ SetPolicyId() [1/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetPolicyId ( const Aws::String value)
inline

The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 115 of file ManagedPolicyDetail.h.

◆ SetPolicyId() [2/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetPolicyId ( Aws::String &&  value)
inline

The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 123 of file ManagedPolicyDetail.h.

◆ SetPolicyId() [3/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetPolicyId ( const char *  value)
inline

The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 131 of file ManagedPolicyDetail.h.

◆ SetPolicyName() [1/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetPolicyName ( const Aws::String value)
inline

The friendly name (not ARN) identifying the policy.

Definition at line 65 of file ManagedPolicyDetail.h.

◆ SetPolicyName() [2/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetPolicyName ( Aws::String &&  value)
inline

The friendly name (not ARN) identifying the policy.

Definition at line 70 of file ManagedPolicyDetail.h.

◆ SetPolicyName() [3/3]

void Aws::IAM::Model::ManagedPolicyDetail::SetPolicyName ( const char *  value)
inline

The friendly name (not ARN) identifying the policy.

Definition at line 75 of file ManagedPolicyDetail.h.

◆ SetPolicyVersionList() [1/2]

void Aws::IAM::Model::ManagedPolicyDetail::SetPolicyVersionList ( const Aws::Vector< PolicyVersion > &  value)
inline

A list containing information about the versions of the policy.

Definition at line 538 of file ManagedPolicyDetail.h.

◆ SetPolicyVersionList() [2/2]

void Aws::IAM::Model::ManagedPolicyDetail::SetPolicyVersionList ( Aws::Vector< PolicyVersion > &&  value)
inline

A list containing information about the versions of the policy.

Definition at line 543 of file ManagedPolicyDetail.h.

◆ SetUpdateDate() [1/2]

void Aws::IAM::Model::ManagedPolicyDetail::SetUpdateDate ( const Aws::Utils::DateTime value)
inline

The date and time, in ISO 8601 date-time format, when the policy was last updated.

When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.

Definition at line 495 of file ManagedPolicyDetail.h.

◆ SetUpdateDate() [2/2]

void Aws::IAM::Model::ManagedPolicyDetail::SetUpdateDate ( Aws::Utils::DateTime &&  value)
inline

The date and time, in ISO 8601 date-time format, when the policy was last updated.

When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.

Definition at line 504 of file ManagedPolicyDetail.h.

◆ UpdateDateHasBeenSet()

bool Aws::IAM::Model::ManagedPolicyDetail::UpdateDateHasBeenSet ( ) const
inline

The date and time, in ISO 8601 date-time format, when the policy was last updated.

When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.

Definition at line 486 of file ManagedPolicyDetail.h.

◆ WithArn() [1/3]

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

Definition at line 174 of file ManagedPolicyDetail.h.

◆ WithArn() [2/3]

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

Definition at line 177 of file ManagedPolicyDetail.h.

◆ WithArn() [3/3]

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

Definition at line 180 of file ManagedPolicyDetail.h.

◆ WithAttachmentCount()

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithAttachmentCount ( int  value)
inline

The number of principal entities (users, groups, and roles) that the policy is attached to.

Definition at line 327 of file ManagedPolicyDetail.h.

◆ WithCreateDate() [1/2]

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

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

Definition at line 461 of file ManagedPolicyDetail.h.

◆ WithCreateDate() [2/2]

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

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

Definition at line 467 of file ManagedPolicyDetail.h.

◆ WithDefaultVersionId() [1/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithDefaultVersionId ( const Aws::String value)
inline

The identifier for the version of the policy that is set as the default (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

Definition at line 286 of file ManagedPolicyDetail.h.

◆ WithDefaultVersionId() [2/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithDefaultVersionId ( Aws::String &&  value)
inline

The identifier for the version of the policy that is set as the default (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

Definition at line 294 of file ManagedPolicyDetail.h.

◆ WithDefaultVersionId() [3/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithDefaultVersionId ( const char *  value)
inline

The identifier for the version of the policy that is set as the default (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the IAM User Guide.

Definition at line 302 of file ManagedPolicyDetail.h.

◆ WithDescription() [1/3]

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

A friendly description of the policy.

Definition at line 420 of file ManagedPolicyDetail.h.

◆ WithDescription() [2/3]

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

A friendly description of the policy.

Definition at line 425 of file ManagedPolicyDetail.h.

◆ WithDescription() [3/3]

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

A friendly description of the policy.

Definition at line 430 of file ManagedPolicyDetail.h.

◆ WithIsAttachable()

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithIsAttachable ( bool  value)
inline

Specifies whether the policy can be attached to an IAM user, group, or role.

Definition at line 389 of file ManagedPolicyDetail.h.

◆ WithPath() [1/3]

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

The path to the policy.

For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 223 of file ManagedPolicyDetail.h.

◆ WithPath() [2/3]

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

The path to the policy.

For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 230 of file ManagedPolicyDetail.h.

◆ WithPath() [3/3]

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

The path to the policy.

For more information about paths, see IAM Identifiers in the IAM User Guide.

Definition at line 237 of file ManagedPolicyDetail.h.

◆ WithPermissionsBoundaryUsageCount()

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPermissionsBoundaryUsageCount ( int  value)
inline

The number of entities (users and roles) for which the policy is used as the permissions boundary.

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

Definition at line 364 of file ManagedPolicyDetail.h.

◆ WithPolicyId() [1/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPolicyId ( const Aws::String value)
inline

The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 139 of file ManagedPolicyDetail.h.

◆ WithPolicyId() [2/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPolicyId ( Aws::String &&  value)
inline

The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 147 of file ManagedPolicyDetail.h.

◆ WithPolicyId() [3/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPolicyId ( const char *  value)
inline

The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers in the IAM User Guide.

Definition at line 155 of file ManagedPolicyDetail.h.

◆ WithPolicyName() [1/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPolicyName ( const Aws::String value)
inline

The friendly name (not ARN) identifying the policy.

Definition at line 80 of file ManagedPolicyDetail.h.

◆ WithPolicyName() [2/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPolicyName ( Aws::String &&  value)
inline

The friendly name (not ARN) identifying the policy.

Definition at line 85 of file ManagedPolicyDetail.h.

◆ WithPolicyName() [3/3]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPolicyName ( const char *  value)
inline

The friendly name (not ARN) identifying the policy.

Definition at line 90 of file ManagedPolicyDetail.h.

◆ WithPolicyVersionList() [1/2]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPolicyVersionList ( const Aws::Vector< PolicyVersion > &  value)
inline

A list containing information about the versions of the policy.

Definition at line 548 of file ManagedPolicyDetail.h.

◆ WithPolicyVersionList() [2/2]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithPolicyVersionList ( Aws::Vector< PolicyVersion > &&  value)
inline

A list containing information about the versions of the policy.

Definition at line 553 of file ManagedPolicyDetail.h.

◆ WithUpdateDate() [1/2]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithUpdateDate ( const Aws::Utils::DateTime value)
inline

The date and time, in ISO 8601 date-time format, when the policy was last updated.

When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.

Definition at line 513 of file ManagedPolicyDetail.h.

◆ WithUpdateDate() [2/2]

ManagedPolicyDetail& Aws::IAM::Model::ManagedPolicyDetail::WithUpdateDate ( Aws::Utils::DateTime &&  value)
inline

The date and time, in ISO 8601 date-time format, when the policy was last updated.

When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.

Definition at line 522 of file ManagedPolicyDetail.h.


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