AWS SDK for C++  1.9.16
AWS SDK for C++
Public Member Functions | List of all members
Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest Class Reference

#include <UpdateFirewallPolicyRequest.h>

+ Inheritance diagram for Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest:

Public Member Functions

 UpdateFirewallPolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetUpdateToken () const
 
bool UpdateTokenHasBeenSet () const
 
void SetUpdateToken (const Aws::String &value)
 
void SetUpdateToken (Aws::String &&value)
 
void SetUpdateToken (const char *value)
 
UpdateFirewallPolicyRequestWithUpdateToken (const Aws::String &value)
 
UpdateFirewallPolicyRequestWithUpdateToken (Aws::String &&value)
 
UpdateFirewallPolicyRequestWithUpdateToken (const char *value)
 
const Aws::StringGetFirewallPolicyArn () const
 
bool FirewallPolicyArnHasBeenSet () const
 
void SetFirewallPolicyArn (const Aws::String &value)
 
void SetFirewallPolicyArn (Aws::String &&value)
 
void SetFirewallPolicyArn (const char *value)
 
UpdateFirewallPolicyRequestWithFirewallPolicyArn (const Aws::String &value)
 
UpdateFirewallPolicyRequestWithFirewallPolicyArn (Aws::String &&value)
 
UpdateFirewallPolicyRequestWithFirewallPolicyArn (const char *value)
 
const Aws::StringGetFirewallPolicyName () const
 
bool FirewallPolicyNameHasBeenSet () const
 
void SetFirewallPolicyName (const Aws::String &value)
 
void SetFirewallPolicyName (Aws::String &&value)
 
void SetFirewallPolicyName (const char *value)
 
UpdateFirewallPolicyRequestWithFirewallPolicyName (const Aws::String &value)
 
UpdateFirewallPolicyRequestWithFirewallPolicyName (Aws::String &&value)
 
UpdateFirewallPolicyRequestWithFirewallPolicyName (const char *value)
 
const FirewallPolicyGetFirewallPolicy () const
 
bool FirewallPolicyHasBeenSet () const
 
void SetFirewallPolicy (const FirewallPolicy &value)
 
void SetFirewallPolicy (FirewallPolicy &&value)
 
UpdateFirewallPolicyRequestWithFirewallPolicy (const FirewallPolicy &value)
 
UpdateFirewallPolicyRequestWithFirewallPolicy (FirewallPolicy &&value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
UpdateFirewallPolicyRequestWithDescription (const Aws::String &value)
 
UpdateFirewallPolicyRequestWithDescription (Aws::String &&value)
 
UpdateFirewallPolicyRequestWithDescription (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
UpdateFirewallPolicyRequestWithDryRun (bool value)
 
- Public Member Functions inherited from Aws::NetworkFirewall::NetworkFirewallRequest
virtual ~NetworkFirewallRequest ()
 
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 22 of file UpdateFirewallPolicyRequest.h.

Constructor & Destructor Documentation

◆ UpdateFirewallPolicyRequest()

Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::UpdateFirewallPolicyRequest ( )

Member Function Documentation

◆ DescriptionHasBeenSet()

bool Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::DescriptionHasBeenSet ( ) const
inline

A description of the firewall policy.

Definition at line 288 of file UpdateFirewallPolicyRequest.h.

◆ DryRunHasBeenSet()

bool Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::DryRunHasBeenSet ( ) const
inline

Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

If set to FALSE, Network Firewall makes the requested changes to your resources.

Definition at line 345 of file UpdateFirewallPolicyRequest.h.

◆ FirewallPolicyArnHasBeenSet()

bool Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::FirewallPolicyArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the firewall policy.

You must specify the ARN or the name, and you can specify both.

Definition at line 153 of file UpdateFirewallPolicyRequest.h.

◆ FirewallPolicyHasBeenSet()

bool Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::FirewallPolicyHasBeenSet ( ) const
inline

The updated firewall policy to use for the firewall.

Definition at line 257 of file UpdateFirewallPolicyRequest.h.

◆ FirewallPolicyNameHasBeenSet()

bool Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::FirewallPolicyNameHasBeenSet ( ) const
inline

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

You must specify the ARN or the name, and you can specify both.

Definition at line 204 of file UpdateFirewallPolicyRequest.h.

◆ GetDescription()

const Aws::String& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::GetDescription ( ) const
inline

A description of the firewall policy.

Definition at line 283 of file UpdateFirewallPolicyRequest.h.

◆ GetDryRun()

bool Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::GetDryRun ( ) const
inline

Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

If set to FALSE, Network Firewall makes the requested changes to your resources.

Definition at line 332 of file UpdateFirewallPolicyRequest.h.

◆ GetFirewallPolicy()

const FirewallPolicy& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::GetFirewallPolicy ( ) const
inline

The updated firewall policy to use for the firewall.

Definition at line 252 of file UpdateFirewallPolicyRequest.h.

◆ GetFirewallPolicyArn()

const Aws::String& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::GetFirewallPolicyArn ( ) const
inline

The Amazon Resource Name (ARN) of the firewall policy.

You must specify the ARN or the name, and you can specify both.

Definition at line 147 of file UpdateFirewallPolicyRequest.h.

◆ GetFirewallPolicyName()

const Aws::String& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::GetFirewallPolicyName ( ) const
inline

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

You must specify the ARN or the name, and you can specify both.

Definition at line 197 of file UpdateFirewallPolicyRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetServiceRequestName()

virtual const char* Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file UpdateFirewallPolicyRequest.h.

◆ GetUpdateToken()

const Aws::String& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::GetUpdateToken ( ) const
inline

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Definition at line 49 of file UpdateFirewallPolicyRequest.h.

◆ SerializePayload()

Aws::String Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDescription() [1/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetDescription ( Aws::String &&  value)
inline

A description of the firewall policy.

Definition at line 298 of file UpdateFirewallPolicyRequest.h.

◆ SetDescription() [2/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetDescription ( const Aws::String value)
inline

A description of the firewall policy.

Definition at line 293 of file UpdateFirewallPolicyRequest.h.

◆ SetDescription() [3/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetDescription ( const char *  value)
inline

A description of the firewall policy.

Definition at line 303 of file UpdateFirewallPolicyRequest.h.

◆ SetDryRun()

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetDryRun ( bool  value)
inline

Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

If set to FALSE, Network Firewall makes the requested changes to your resources.

Definition at line 358 of file UpdateFirewallPolicyRequest.h.

◆ SetFirewallPolicy() [1/2]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetFirewallPolicy ( const FirewallPolicy value)
inline

The updated firewall policy to use for the firewall.

Definition at line 262 of file UpdateFirewallPolicyRequest.h.

◆ SetFirewallPolicy() [2/2]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetFirewallPolicy ( FirewallPolicy &&  value)
inline

The updated firewall policy to use for the firewall.

Definition at line 267 of file UpdateFirewallPolicyRequest.h.

◆ SetFirewallPolicyArn() [1/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetFirewallPolicyArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the firewall policy.

You must specify the ARN or the name, and you can specify both.

Definition at line 165 of file UpdateFirewallPolicyRequest.h.

◆ SetFirewallPolicyArn() [2/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetFirewallPolicyArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the firewall policy.

You must specify the ARN or the name, and you can specify both.

Definition at line 159 of file UpdateFirewallPolicyRequest.h.

◆ SetFirewallPolicyArn() [3/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetFirewallPolicyArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the firewall policy.

You must specify the ARN or the name, and you can specify both.

Definition at line 171 of file UpdateFirewallPolicyRequest.h.

◆ SetFirewallPolicyName() [1/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetFirewallPolicyName ( Aws::String &&  value)
inline

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

You must specify the ARN or the name, and you can specify both.

Definition at line 218 of file UpdateFirewallPolicyRequest.h.

◆ SetFirewallPolicyName() [2/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetFirewallPolicyName ( const Aws::String value)
inline

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

You must specify the ARN or the name, and you can specify both.

Definition at line 211 of file UpdateFirewallPolicyRequest.h.

◆ SetFirewallPolicyName() [3/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetFirewallPolicyName ( const char *  value)
inline

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

You must specify the ARN or the name, and you can specify both.

Definition at line 225 of file UpdateFirewallPolicyRequest.h.

◆ SetUpdateToken() [1/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetUpdateToken ( Aws::String &&  value)
inline

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Definition at line 88 of file UpdateFirewallPolicyRequest.h.

◆ SetUpdateToken() [2/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetUpdateToken ( const Aws::String value)
inline

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Definition at line 75 of file UpdateFirewallPolicyRequest.h.

◆ SetUpdateToken() [3/3]

void Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::SetUpdateToken ( const char *  value)
inline

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Definition at line 101 of file UpdateFirewallPolicyRequest.h.

◆ UpdateTokenHasBeenSet()

bool Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::UpdateTokenHasBeenSet ( ) const
inline

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Definition at line 62 of file UpdateFirewallPolicyRequest.h.

◆ WithDescription() [1/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithDescription ( Aws::String &&  value)
inline

A description of the firewall policy.

Definition at line 313 of file UpdateFirewallPolicyRequest.h.

◆ WithDescription() [2/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithDescription ( const Aws::String value)
inline

A description of the firewall policy.

Definition at line 308 of file UpdateFirewallPolicyRequest.h.

◆ WithDescription() [3/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithDescription ( const char *  value)
inline

A description of the firewall policy.

Definition at line 318 of file UpdateFirewallPolicyRequest.h.

◆ WithDryRun()

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithDryRun ( bool  value)
inline

Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

If set to FALSE, Network Firewall makes the requested changes to your resources.

Definition at line 371 of file UpdateFirewallPolicyRequest.h.

◆ WithFirewallPolicy() [1/2]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithFirewallPolicy ( const FirewallPolicy value)
inline

The updated firewall policy to use for the firewall.

Definition at line 272 of file UpdateFirewallPolicyRequest.h.

◆ WithFirewallPolicy() [2/2]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithFirewallPolicy ( FirewallPolicy &&  value)
inline

The updated firewall policy to use for the firewall.

Definition at line 277 of file UpdateFirewallPolicyRequest.h.

◆ WithFirewallPolicyArn() [1/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithFirewallPolicyArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the firewall policy.

You must specify the ARN or the name, and you can specify both.

Definition at line 183 of file UpdateFirewallPolicyRequest.h.

◆ WithFirewallPolicyArn() [2/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithFirewallPolicyArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the firewall policy.

You must specify the ARN or the name, and you can specify both.

Definition at line 177 of file UpdateFirewallPolicyRequest.h.

◆ WithFirewallPolicyArn() [3/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithFirewallPolicyArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the firewall policy.

You must specify the ARN or the name, and you can specify both.

Definition at line 189 of file UpdateFirewallPolicyRequest.h.

◆ WithFirewallPolicyName() [1/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithFirewallPolicyName ( Aws::String &&  value)
inline

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

You must specify the ARN or the name, and you can specify both.

Definition at line 239 of file UpdateFirewallPolicyRequest.h.

◆ WithFirewallPolicyName() [2/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithFirewallPolicyName ( const Aws::String value)
inline

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

You must specify the ARN or the name, and you can specify both.

Definition at line 232 of file UpdateFirewallPolicyRequest.h.

◆ WithFirewallPolicyName() [3/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithFirewallPolicyName ( const char *  value)
inline

The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

You must specify the ARN or the name, and you can specify both.

Definition at line 246 of file UpdateFirewallPolicyRequest.h.

◆ WithUpdateToken() [1/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithUpdateToken ( Aws::String &&  value)
inline

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Definition at line 127 of file UpdateFirewallPolicyRequest.h.

◆ WithUpdateToken() [2/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithUpdateToken ( const Aws::String value)
inline

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Definition at line 114 of file UpdateFirewallPolicyRequest.h.

◆ WithUpdateToken() [3/3]

UpdateFirewallPolicyRequest& Aws::NetworkFirewall::Model::UpdateFirewallPolicyRequest::WithUpdateToken ( const char *  value)
inline

A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

Definition at line 140 of file UpdateFirewallPolicyRequest.h.


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