/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace WAFV2 { namespace Model { /** */ class DeleteFirewallManagerRuleGroupsRequest : public WAFV2Request { public: AWS_WAFV2_API DeleteFirewallManagerRuleGroupsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteFirewallManagerRuleGroups"; } AWS_WAFV2_API Aws::String SerializePayload() const override; AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline const Aws::String& GetWebACLArn() const{ return m_webACLArn; } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline bool WebACLArnHasBeenSet() const { return m_webACLArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline void SetWebACLArn(const Aws::String& value) { m_webACLArnHasBeenSet = true; m_webACLArn = value; } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline void SetWebACLArn(Aws::String&& value) { m_webACLArnHasBeenSet = true; m_webACLArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline void SetWebACLArn(const char* value) { m_webACLArnHasBeenSet = true; m_webACLArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLArn(const Aws::String& value) { SetWebACLArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLArn(Aws::String&& value) { SetWebACLArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the web ACL.

*/ inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLArn(const char* value) { SetWebACLArn(value); return *this;} /** *

A token used for optimistic locking. WAF returns a token to your * get and list requests, to mark the state of the entity * at the time of the request. To make changes to the entity associated with the * token, you provide the token to operations like update and * delete. WAF uses the token to ensure that no changes have been made * to the entity since you last retrieved it. If a change has been made, the update * fails with a WAFOptimisticLockException. If this happens, perform * another get, and use the new token returned by that operation.

*/ inline const Aws::String& GetWebACLLockToken() const{ return m_webACLLockToken; } /** *

A token used for optimistic locking. WAF returns a token to your * get and list requests, to mark the state of the entity * at the time of the request. To make changes to the entity associated with the * token, you provide the token to operations like update and * delete. WAF uses the token to ensure that no changes have been made * to the entity since you last retrieved it. If a change has been made, the update * fails with a WAFOptimisticLockException. If this happens, perform * another get, and use the new token returned by that operation.

*/ inline bool WebACLLockTokenHasBeenSet() const { return m_webACLLockTokenHasBeenSet; } /** *

A token used for optimistic locking. WAF returns a token to your * get and list requests, to mark the state of the entity * at the time of the request. To make changes to the entity associated with the * token, you provide the token to operations like update and * delete. WAF uses the token to ensure that no changes have been made * to the entity since you last retrieved it. If a change has been made, the update * fails with a WAFOptimisticLockException. If this happens, perform * another get, and use the new token returned by that operation.

*/ inline void SetWebACLLockToken(const Aws::String& value) { m_webACLLockTokenHasBeenSet = true; m_webACLLockToken = value; } /** *

A token used for optimistic locking. WAF returns a token to your * get and list requests, to mark the state of the entity * at the time of the request. To make changes to the entity associated with the * token, you provide the token to operations like update and * delete. WAF uses the token to ensure that no changes have been made * to the entity since you last retrieved it. If a change has been made, the update * fails with a WAFOptimisticLockException. If this happens, perform * another get, and use the new token returned by that operation.

*/ inline void SetWebACLLockToken(Aws::String&& value) { m_webACLLockTokenHasBeenSet = true; m_webACLLockToken = std::move(value); } /** *

A token used for optimistic locking. WAF returns a token to your * get and list requests, to mark the state of the entity * at the time of the request. To make changes to the entity associated with the * token, you provide the token to operations like update and * delete. WAF uses the token to ensure that no changes have been made * to the entity since you last retrieved it. If a change has been made, the update * fails with a WAFOptimisticLockException. If this happens, perform * another get, and use the new token returned by that operation.

*/ inline void SetWebACLLockToken(const char* value) { m_webACLLockTokenHasBeenSet = true; m_webACLLockToken.assign(value); } /** *

A token used for optimistic locking. WAF returns a token to your * get and list requests, to mark the state of the entity * at the time of the request. To make changes to the entity associated with the * token, you provide the token to operations like update and * delete. WAF uses the token to ensure that no changes have been made * to the entity since you last retrieved it. If a change has been made, the update * fails with a WAFOptimisticLockException. If this happens, perform * another get, and use the new token returned by that operation.

*/ inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLLockToken(const Aws::String& value) { SetWebACLLockToken(value); return *this;} /** *

A token used for optimistic locking. WAF returns a token to your * get and list requests, to mark the state of the entity * at the time of the request. To make changes to the entity associated with the * token, you provide the token to operations like update and * delete. WAF uses the token to ensure that no changes have been made * to the entity since you last retrieved it. If a change has been made, the update * fails with a WAFOptimisticLockException. If this happens, perform * another get, and use the new token returned by that operation.

*/ inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLLockToken(Aws::String&& value) { SetWebACLLockToken(std::move(value)); return *this;} /** *

A token used for optimistic locking. WAF returns a token to your * get and list requests, to mark the state of the entity * at the time of the request. To make changes to the entity associated with the * token, you provide the token to operations like update and * delete. WAF uses the token to ensure that no changes have been made * to the entity since you last retrieved it. If a change has been made, the update * fails with a WAFOptimisticLockException. If this happens, perform * another get, and use the new token returned by that operation.

*/ inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLLockToken(const char* value) { SetWebACLLockToken(value); return *this;} private: Aws::String m_webACLArn; bool m_webACLArnHasBeenSet = false; Aws::String m_webACLLockToken; bool m_webACLLockTokenHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws