AWS SDK for C++  1.8.99
AWS SDK for C++
Public Member Functions | List of all members
Aws::WAFV2::Model::PutPermissionPolicyRequest Class Reference

#include <PutPermissionPolicyRequest.h>

+ Inheritance diagram for Aws::WAFV2::Model::PutPermissionPolicyRequest:

Public Member Functions

 PutPermissionPolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetResourceArn () const
 
bool ResourceArnHasBeenSet () const
 
void SetResourceArn (const Aws::String &value)
 
void SetResourceArn (Aws::String &&value)
 
void SetResourceArn (const char *value)
 
PutPermissionPolicyRequestWithResourceArn (const Aws::String &value)
 
PutPermissionPolicyRequestWithResourceArn (Aws::String &&value)
 
PutPermissionPolicyRequestWithResourceArn (const char *value)
 
const Aws::StringGetPolicy () const
 
bool PolicyHasBeenSet () const
 
void SetPolicy (const Aws::String &value)
 
void SetPolicy (Aws::String &&value)
 
void SetPolicy (const char *value)
 
PutPermissionPolicyRequestWithPolicy (const Aws::String &value)
 
PutPermissionPolicyRequestWithPolicy (Aws::String &&value)
 
PutPermissionPolicyRequestWithPolicy (const char *value)
 
- Public Member Functions inherited from Aws::WAFV2::WAFV2Request
virtual ~WAFV2Request ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 21 of file PutPermissionPolicyRequest.h.

Constructor & Destructor Documentation

◆ PutPermissionPolicyRequest()

Aws::WAFV2::Model::PutPermissionPolicyRequest::PutPermissionPolicyRequest ( )

Member Function Documentation

◆ GetPolicy()

const Aws::String& Aws::WAFV2::Model::PutPermissionPolicyRequest::GetPolicy ( ) const
inline

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

  • The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.

  • The policy must include specifications for Effect, Action, and Principal.

  • Effect must specify Allow.

  • Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups. AWS WAF rejects any extra actions or wildcard actions in the policy.

  • The policy must not include a Resource parameter.

For more information, see IAM Policies.

Definition at line 102 of file PutPermissionPolicyRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::WAFV2::Model::PutPermissionPolicyRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::WAFV2::WAFV2Request.

◆ GetResourceArn()

const Aws::String& Aws::WAFV2::Model::PutPermissionPolicyRequest::GetResourceArn ( ) const
inline

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Definition at line 41 of file PutPermissionPolicyRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::WAFV2::Model::PutPermissionPolicyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file PutPermissionPolicyRequest.h.

◆ PolicyHasBeenSet()

bool Aws::WAFV2::Model::PutPermissionPolicyRequest::PolicyHasBeenSet ( ) const
inline

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

  • The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.

  • The policy must include specifications for Effect, Action, and Principal.

  • Effect must specify Allow.

  • Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups. AWS WAF rejects any extra actions or wildcard actions in the policy.

  • The policy must not include a Resource parameter.

For more information, see IAM Policies.

Definition at line 120 of file PutPermissionPolicyRequest.h.

◆ ResourceArnHasBeenSet()

bool Aws::WAFV2::Model::PutPermissionPolicyRequest::ResourceArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Definition at line 47 of file PutPermissionPolicyRequest.h.

◆ SerializePayload()

Aws::String Aws::WAFV2::Model::PutPermissionPolicyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetPolicy() [1/3]

void Aws::WAFV2::Model::PutPermissionPolicyRequest::SetPolicy ( const Aws::String value)
inline

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

  • The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.

  • The policy must include specifications for Effect, Action, and Principal.

  • Effect must specify Allow.

  • Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups. AWS WAF rejects any extra actions or wildcard actions in the policy.

  • The policy must not include a Resource parameter.

For more information, see IAM Policies.

Definition at line 138 of file PutPermissionPolicyRequest.h.

◆ SetPolicy() [2/3]

void Aws::WAFV2::Model::PutPermissionPolicyRequest::SetPolicy ( Aws::String &&  value)
inline

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

  • The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.

  • The policy must include specifications for Effect, Action, and Principal.

  • Effect must specify Allow.

  • Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups. AWS WAF rejects any extra actions or wildcard actions in the policy.

  • The policy must not include a Resource parameter.

For more information, see IAM Policies.

Definition at line 156 of file PutPermissionPolicyRequest.h.

◆ SetPolicy() [3/3]

void Aws::WAFV2::Model::PutPermissionPolicyRequest::SetPolicy ( const char *  value)
inline

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

  • The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.

  • The policy must include specifications for Effect, Action, and Principal.

  • Effect must specify Allow.

  • Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups. AWS WAF rejects any extra actions or wildcard actions in the policy.

  • The policy must not include a Resource parameter.

For more information, see IAM Policies.

Definition at line 174 of file PutPermissionPolicyRequest.h.

◆ SetResourceArn() [1/3]

void Aws::WAFV2::Model::PutPermissionPolicyRequest::SetResourceArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Definition at line 53 of file PutPermissionPolicyRequest.h.

◆ SetResourceArn() [2/3]

void Aws::WAFV2::Model::PutPermissionPolicyRequest::SetResourceArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Definition at line 59 of file PutPermissionPolicyRequest.h.

◆ SetResourceArn() [3/3]

void Aws::WAFV2::Model::PutPermissionPolicyRequest::SetResourceArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Definition at line 65 of file PutPermissionPolicyRequest.h.

◆ WithPolicy() [1/3]

PutPermissionPolicyRequest& Aws::WAFV2::Model::PutPermissionPolicyRequest::WithPolicy ( const Aws::String value)
inline

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

  • The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.

  • The policy must include specifications for Effect, Action, and Principal.

  • Effect must specify Allow.

  • Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups. AWS WAF rejects any extra actions or wildcard actions in the policy.

  • The policy must not include a Resource parameter.

For more information, see IAM Policies.

Definition at line 192 of file PutPermissionPolicyRequest.h.

◆ WithPolicy() [2/3]

PutPermissionPolicyRequest& Aws::WAFV2::Model::PutPermissionPolicyRequest::WithPolicy ( Aws::String &&  value)
inline

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

  • The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.

  • The policy must include specifications for Effect, Action, and Principal.

  • Effect must specify Allow.

  • Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups. AWS WAF rejects any extra actions or wildcard actions in the policy.

  • The policy must not include a Resource parameter.

For more information, see IAM Policies.

Definition at line 210 of file PutPermissionPolicyRequest.h.

◆ WithPolicy() [3/3]

PutPermissionPolicyRequest& Aws::WAFV2::Model::PutPermissionPolicyRequest::WithPolicy ( const char *  value)
inline

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

  • The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.

  • The policy must include specifications for Effect, Action, and Principal.

  • Effect must specify Allow.

  • Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups. AWS WAF rejects any extra actions or wildcard actions in the policy.

  • The policy must not include a Resource parameter.

For more information, see IAM Policies.

Definition at line 228 of file PutPermissionPolicyRequest.h.

◆ WithResourceArn() [1/3]

PutPermissionPolicyRequest& Aws::WAFV2::Model::PutPermissionPolicyRequest::WithResourceArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Definition at line 71 of file PutPermissionPolicyRequest.h.

◆ WithResourceArn() [2/3]

PutPermissionPolicyRequest& Aws::WAFV2::Model::PutPermissionPolicyRequest::WithResourceArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Definition at line 77 of file PutPermissionPolicyRequest.h.

◆ WithResourceArn() [3/3]

PutPermissionPolicyRequest& Aws::WAFV2::Model::PutPermissionPolicyRequest::WithResourceArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.

Definition at line 83 of file PutPermissionPolicyRequest.h.


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