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

#include <AttachedPolicy.h>

Public Member Functions

 AttachedPolicy ()
 
 AttachedPolicy (const Aws::Utils::Xml::XmlNode &xmlNode)
 
AttachedPolicyoperator= (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)
 
AttachedPolicyWithPolicyName (const Aws::String &value)
 
AttachedPolicyWithPolicyName (Aws::String &&value)
 
AttachedPolicyWithPolicyName (const char *value)
 
const Aws::StringGetPolicyArn () const
 
bool PolicyArnHasBeenSet () const
 
void SetPolicyArn (const Aws::String &value)
 
void SetPolicyArn (Aws::String &&value)
 
void SetPolicyArn (const char *value)
 
AttachedPolicyWithPolicyArn (const Aws::String &value)
 
AttachedPolicyWithPolicyArn (Aws::String &&value)
 
AttachedPolicyWithPolicyArn (const char *value)
 

Detailed Description

Contains information about an attached policy.

An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies, ListAttachedRolePolicies, ListAttachedUserPolicies, and GetAccountAuthorizationDetails operations.

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 39 of file AttachedPolicy.h.

Constructor & Destructor Documentation

◆ AttachedPolicy() [1/2]

Aws::IAM::Model::AttachedPolicy::AttachedPolicy ( )

◆ AttachedPolicy() [2/2]

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

Member Function Documentation

◆ GetPolicyArn()

const Aws::String& Aws::IAM::Model::AttachedPolicy::GetPolicyArn ( ) const
inline

Definition at line 92 of file AttachedPolicy.h.

◆ GetPolicyName()

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

The friendly name of the attached policy.

Definition at line 53 of file AttachedPolicy.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PolicyArnHasBeenSet()

bool Aws::IAM::Model::AttachedPolicy::PolicyArnHasBeenSet ( ) const
inline

Definition at line 95 of file AttachedPolicy.h.

◆ PolicyNameHasBeenSet()

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

The friendly name of the attached policy.

Definition at line 58 of file AttachedPolicy.h.

◆ SetPolicyArn() [1/3]

void Aws::IAM::Model::AttachedPolicy::SetPolicyArn ( const Aws::String value)
inline

Definition at line 98 of file AttachedPolicy.h.

◆ SetPolicyArn() [2/3]

void Aws::IAM::Model::AttachedPolicy::SetPolicyArn ( Aws::String &&  value)
inline

Definition at line 101 of file AttachedPolicy.h.

◆ SetPolicyArn() [3/3]

void Aws::IAM::Model::AttachedPolicy::SetPolicyArn ( const char *  value)
inline

Definition at line 104 of file AttachedPolicy.h.

◆ SetPolicyName() [1/3]

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

The friendly name of the attached policy.

Definition at line 63 of file AttachedPolicy.h.

◆ SetPolicyName() [2/3]

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

The friendly name of the attached policy.

Definition at line 68 of file AttachedPolicy.h.

◆ SetPolicyName() [3/3]

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

The friendly name of the attached policy.

Definition at line 73 of file AttachedPolicy.h.

◆ WithPolicyArn() [1/3]

AttachedPolicy& Aws::IAM::Model::AttachedPolicy::WithPolicyArn ( const Aws::String value)
inline

Definition at line 107 of file AttachedPolicy.h.

◆ WithPolicyArn() [2/3]

AttachedPolicy& Aws::IAM::Model::AttachedPolicy::WithPolicyArn ( Aws::String &&  value)
inline

Definition at line 110 of file AttachedPolicy.h.

◆ WithPolicyArn() [3/3]

AttachedPolicy& Aws::IAM::Model::AttachedPolicy::WithPolicyArn ( const char *  value)
inline

Definition at line 113 of file AttachedPolicy.h.

◆ WithPolicyName() [1/3]

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

The friendly name of the attached policy.

Definition at line 78 of file AttachedPolicy.h.

◆ WithPolicyName() [2/3]

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

The friendly name of the attached policy.

Definition at line 83 of file AttachedPolicy.h.

◆ WithPolicyName() [3/3]

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

The friendly name of the attached policy.

Definition at line 88 of file AttachedPolicy.h.


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