AWS SDK for C++  1.8.52
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::IAM::Model::PutRolePolicyRequest Class Reference

#include <PutRolePolicyRequest.h>

+ Inheritance diagram for Aws::IAM::Model::PutRolePolicyRequest:

Public Member Functions

 PutRolePolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetRoleName () const
 
bool RoleNameHasBeenSet () const
 
void SetRoleName (const Aws::String &value)
 
void SetRoleName (Aws::String &&value)
 
void SetRoleName (const char *value)
 
PutRolePolicyRequestWithRoleName (const Aws::String &value)
 
PutRolePolicyRequestWithRoleName (Aws::String &&value)
 
PutRolePolicyRequestWithRoleName (const char *value)
 
const Aws::StringGetPolicyName () const
 
bool PolicyNameHasBeenSet () const
 
void SetPolicyName (const Aws::String &value)
 
void SetPolicyName (Aws::String &&value)
 
void SetPolicyName (const char *value)
 
PutRolePolicyRequestWithPolicyName (const Aws::String &value)
 
PutRolePolicyRequestWithPolicyName (Aws::String &&value)
 
PutRolePolicyRequestWithPolicyName (const char *value)
 
const Aws::StringGetPolicyDocument () const
 
bool PolicyDocumentHasBeenSet () const
 
void SetPolicyDocument (const Aws::String &value)
 
void SetPolicyDocument (Aws::String &&value)
 
void SetPolicyDocument (const char *value)
 
PutRolePolicyRequestWithPolicyDocument (const Aws::String &value)
 
PutRolePolicyRequestWithPolicyDocument (Aws::String &&value)
 
PutRolePolicyRequestWithPolicyDocument (const char *value)
 
- Public Member Functions inherited from Aws::IAM::IAMRequest
virtual ~IAMRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::IAM::IAMRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 21 of file PutRolePolicyRequest.h.

Constructor & Destructor Documentation

◆ PutRolePolicyRequest()

Aws::IAM::Model::PutRolePolicyRequest::PutRolePolicyRequest ( )

Member Function Documentation

◆ DumpBodyToUrl()

void Aws::IAM::Model::PutRolePolicyRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetPolicyDocument()

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

The policy document.

You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 191 of file PutRolePolicyRequest.h.

◆ GetPolicyName()

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

The name of the policy document.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 118 of file PutRolePolicyRequest.h.

◆ GetRoleName()

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

The name of the role to associate the policy with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 46 of file PutRolePolicyRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::IAM::Model::PutRolePolicyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file PutRolePolicyRequest.h.

◆ PolicyDocumentHasBeenSet()

bool Aws::IAM::Model::PutRolePolicyRequest::PolicyDocumentHasBeenSet ( ) const
inline

The policy document.

You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 207 of file PutRolePolicyRequest.h.

◆ PolicyNameHasBeenSet()

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

The name of the policy document.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 126 of file PutRolePolicyRequest.h.

◆ RoleNameHasBeenSet()

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

The name of the role to associate the policy with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 55 of file PutRolePolicyRequest.h.

◆ SerializePayload()

Aws::String Aws::IAM::Model::PutRolePolicyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetPolicyDocument() [1/3]

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

The policy document.

You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 223 of file PutRolePolicyRequest.h.

◆ SetPolicyDocument() [2/3]

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

The policy document.

You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 239 of file PutRolePolicyRequest.h.

◆ SetPolicyDocument() [3/3]

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

The policy document.

You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 255 of file PutRolePolicyRequest.h.

◆ SetPolicyName() [1/3]

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

The name of the policy document.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 134 of file PutRolePolicyRequest.h.

◆ SetPolicyName() [2/3]

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

The name of the policy document.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 142 of file PutRolePolicyRequest.h.

◆ SetPolicyName() [3/3]

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

The name of the policy document.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 150 of file PutRolePolicyRequest.h.

◆ SetRoleName() [1/3]

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

The name of the role to associate the policy with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 64 of file PutRolePolicyRequest.h.

◆ SetRoleName() [2/3]

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

The name of the role to associate the policy with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 73 of file PutRolePolicyRequest.h.

◆ SetRoleName() [3/3]

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

The name of the role to associate the policy with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 82 of file PutRolePolicyRequest.h.

◆ WithPolicyDocument() [1/3]

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

The policy document.

You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 271 of file PutRolePolicyRequest.h.

◆ WithPolicyDocument() [2/3]

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

The policy document.

You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 287 of file PutRolePolicyRequest.h.

◆ WithPolicyDocument() [3/3]

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

The policy document.

You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

The regex pattern used to validate this parameter is a string of characters consisting of the following:

  • Any printable ASCII character ranging from the space character () through the end of the ASCII character range

  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through )

  • The special characters tab (), line feed (), and carriage return ()

Definition at line 303 of file PutRolePolicyRequest.h.

◆ WithPolicyName() [1/3]

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

The name of the policy document.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 158 of file PutRolePolicyRequest.h.

◆ WithPolicyName() [2/3]

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

The name of the policy document.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 166 of file PutRolePolicyRequest.h.

◆ WithPolicyName() [3/3]

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

The name of the policy document.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 174 of file PutRolePolicyRequest.h.

◆ WithRoleName() [1/3]

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

The name of the role to associate the policy with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 91 of file PutRolePolicyRequest.h.

◆ WithRoleName() [2/3]

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

The name of the role to associate the policy with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 100 of file PutRolePolicyRequest.h.

◆ WithRoleName() [3/3]

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

The name of the role to associate the policy with.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.-

Definition at line 109 of file PutRolePolicyRequest.h.


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