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

#include <GetUserPolicyResult.h>

Public Member Functions

 GetUserPolicyResult ()
 
 GetUserPolicyResult (const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
 
GetUserPolicyResultoperator= (const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
 
const Aws::StringGetUserName () const
 
void SetUserName (const Aws::String &value)
 
void SetUserName (Aws::String &&value)
 
void SetUserName (const char *value)
 
GetUserPolicyResultWithUserName (const Aws::String &value)
 
GetUserPolicyResultWithUserName (Aws::String &&value)
 
GetUserPolicyResultWithUserName (const char *value)
 
const Aws::StringGetPolicyName () const
 
void SetPolicyName (const Aws::String &value)
 
void SetPolicyName (Aws::String &&value)
 
void SetPolicyName (const char *value)
 
GetUserPolicyResultWithPolicyName (const Aws::String &value)
 
GetUserPolicyResultWithPolicyName (Aws::String &&value)
 
GetUserPolicyResultWithPolicyName (const char *value)
 
const Aws::StringGetPolicyDocument () const
 
void SetPolicyDocument (const Aws::String &value)
 
void SetPolicyDocument (Aws::String &&value)
 
void SetPolicyDocument (const char *value)
 
GetUserPolicyResultWithPolicyDocument (const Aws::String &value)
 
GetUserPolicyResultWithPolicyDocument (Aws::String &&value)
 
GetUserPolicyResultWithPolicyDocument (const char *value)
 
const ResponseMetadataGetResponseMetadata () const
 
void SetResponseMetadata (const ResponseMetadata &value)
 
void SetResponseMetadata (ResponseMetadata &&value)
 
GetUserPolicyResultWithResponseMetadata (const ResponseMetadata &value)
 
GetUserPolicyResultWithResponseMetadata (ResponseMetadata &&value)
 

Detailed Description

Contains the response to a successful GetUserPolicy request.

See Also:

AWS API Reference

Definition at line 34 of file GetUserPolicyResult.h.

Constructor & Destructor Documentation

◆ GetUserPolicyResult() [1/2]

Aws::IAM::Model::GetUserPolicyResult::GetUserPolicyResult ( )

◆ GetUserPolicyResult() [2/2]

Aws::IAM::Model::GetUserPolicyResult::GetUserPolicyResult ( const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &  result)

Member Function Documentation

◆ GetPolicyDocument()

const Aws::String& Aws::IAM::Model::GetUserPolicyResult::GetPolicyDocument ( ) const
inline

The policy document.

IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

Definition at line 120 of file GetUserPolicyResult.h.

◆ GetPolicyName()

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

The name of the policy.

Definition at line 81 of file GetUserPolicyResult.h.

◆ GetResponseMetadata()

const ResponseMetadata& Aws::IAM::Model::GetUserPolicyResult::GetResponseMetadata ( ) const
inline

Definition at line 172 of file GetUserPolicyResult.h.

◆ GetUserName()

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

The user the policy is associated with.

Definition at line 45 of file GetUserPolicyResult.h.

◆ operator=()

GetUserPolicyResult& Aws::IAM::Model::GetUserPolicyResult::operator= ( const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &  result)

◆ SetPolicyDocument() [1/3]

void Aws::IAM::Model::GetUserPolicyResult::SetPolicyDocument ( const Aws::String value)
inline

The policy document.

IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

Definition at line 128 of file GetUserPolicyResult.h.

◆ SetPolicyDocument() [2/3]

void Aws::IAM::Model::GetUserPolicyResult::SetPolicyDocument ( Aws::String &&  value)
inline

The policy document.

IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

Definition at line 136 of file GetUserPolicyResult.h.

◆ SetPolicyDocument() [3/3]

void Aws::IAM::Model::GetUserPolicyResult::SetPolicyDocument ( const char *  value)
inline

The policy document.

IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

Definition at line 144 of file GetUserPolicyResult.h.

◆ SetPolicyName() [1/3]

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

The name of the policy.

Definition at line 86 of file GetUserPolicyResult.h.

◆ SetPolicyName() [2/3]

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

The name of the policy.

Definition at line 91 of file GetUserPolicyResult.h.

◆ SetPolicyName() [3/3]

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

The name of the policy.

Definition at line 96 of file GetUserPolicyResult.h.

◆ SetResponseMetadata() [1/2]

void Aws::IAM::Model::GetUserPolicyResult::SetResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 175 of file GetUserPolicyResult.h.

◆ SetResponseMetadata() [2/2]

void Aws::IAM::Model::GetUserPolicyResult::SetResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 178 of file GetUserPolicyResult.h.

◆ SetUserName() [1/3]

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

The user the policy is associated with.

Definition at line 50 of file GetUserPolicyResult.h.

◆ SetUserName() [2/3]

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

The user the policy is associated with.

Definition at line 55 of file GetUserPolicyResult.h.

◆ SetUserName() [3/3]

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

The user the policy is associated with.

Definition at line 60 of file GetUserPolicyResult.h.

◆ WithPolicyDocument() [1/3]

GetUserPolicyResult& Aws::IAM::Model::GetUserPolicyResult::WithPolicyDocument ( const Aws::String value)
inline

The policy document.

IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

Definition at line 152 of file GetUserPolicyResult.h.

◆ WithPolicyDocument() [2/3]

GetUserPolicyResult& Aws::IAM::Model::GetUserPolicyResult::WithPolicyDocument ( Aws::String &&  value)
inline

The policy document.

IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

Definition at line 160 of file GetUserPolicyResult.h.

◆ WithPolicyDocument() [3/3]

GetUserPolicyResult& Aws::IAM::Model::GetUserPolicyResult::WithPolicyDocument ( const char *  value)
inline

The policy document.

IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

Definition at line 168 of file GetUserPolicyResult.h.

◆ WithPolicyName() [1/3]

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

The name of the policy.

Definition at line 101 of file GetUserPolicyResult.h.

◆ WithPolicyName() [2/3]

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

The name of the policy.

Definition at line 106 of file GetUserPolicyResult.h.

◆ WithPolicyName() [3/3]

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

The name of the policy.

Definition at line 111 of file GetUserPolicyResult.h.

◆ WithResponseMetadata() [1/2]

GetUserPolicyResult& Aws::IAM::Model::GetUserPolicyResult::WithResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 181 of file GetUserPolicyResult.h.

◆ WithResponseMetadata() [2/2]

GetUserPolicyResult& Aws::IAM::Model::GetUserPolicyResult::WithResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 184 of file GetUserPolicyResult.h.

◆ WithUserName() [1/3]

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

The user the policy is associated with.

Definition at line 65 of file GetUserPolicyResult.h.

◆ WithUserName() [2/3]

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

The user the policy is associated with.

Definition at line 70 of file GetUserPolicyResult.h.

◆ WithUserName() [3/3]

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

The user the policy is associated with.

Definition at line 75 of file GetUserPolicyResult.h.


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