186 lines
8.7 KiB
C++
186 lines
8.7 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/wafv2/WAFV2_EXPORTS.h>
|
|
#include <aws/wafv2/WAFV2Request.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace WAFV2
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_WAFV2_API DeleteFirewallManagerRuleGroupsRequest : public WAFV2Request
|
|
{
|
|
public:
|
|
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::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the web ACL.</p>
|
|
*/
|
|
inline const Aws::String& GetWebACLArn() const{ return m_webACLArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the web ACL.</p>
|
|
*/
|
|
inline bool WebACLArnHasBeenSet() const { return m_webACLArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the web ACL.</p>
|
|
*/
|
|
inline void SetWebACLArn(const Aws::String& value) { m_webACLArnHasBeenSet = true; m_webACLArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the web ACL.</p>
|
|
*/
|
|
inline void SetWebACLArn(Aws::String&& value) { m_webACLArnHasBeenSet = true; m_webACLArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the web ACL.</p>
|
|
*/
|
|
inline void SetWebACLArn(const char* value) { m_webACLArnHasBeenSet = true; m_webACLArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the web ACL.</p>
|
|
*/
|
|
inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLArn(const Aws::String& value) { SetWebACLArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the web ACL.</p>
|
|
*/
|
|
inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLArn(Aws::String&& value) { SetWebACLArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the web ACL.</p>
|
|
*/
|
|
inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLArn(const char* value) { SetWebACLArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>.
|
|
* If this happens, perform another get, and use the new token returned by that
|
|
* operation. </p>
|
|
*/
|
|
inline const Aws::String& GetWebACLLockToken() const{ return m_webACLLockToken; }
|
|
|
|
/**
|
|
* <p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>.
|
|
* If this happens, perform another get, and use the new token returned by that
|
|
* operation. </p>
|
|
*/
|
|
inline bool WebACLLockTokenHasBeenSet() const { return m_webACLLockTokenHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>.
|
|
* If this happens, perform another get, and use the new token returned by that
|
|
* operation. </p>
|
|
*/
|
|
inline void SetWebACLLockToken(const Aws::String& value) { m_webACLLockTokenHasBeenSet = true; m_webACLLockToken = value; }
|
|
|
|
/**
|
|
* <p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>.
|
|
* If this happens, perform another get, and use the new token returned by that
|
|
* operation. </p>
|
|
*/
|
|
inline void SetWebACLLockToken(Aws::String&& value) { m_webACLLockTokenHasBeenSet = true; m_webACLLockToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>.
|
|
* If this happens, perform another get, and use the new token returned by that
|
|
* operation. </p>
|
|
*/
|
|
inline void SetWebACLLockToken(const char* value) { m_webACLLockTokenHasBeenSet = true; m_webACLLockToken.assign(value); }
|
|
|
|
/**
|
|
* <p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>.
|
|
* If this happens, perform another get, and use the new token returned by that
|
|
* operation. </p>
|
|
*/
|
|
inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLLockToken(const Aws::String& value) { SetWebACLLockToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>.
|
|
* If this happens, perform another get, and use the new token returned by that
|
|
* operation. </p>
|
|
*/
|
|
inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLLockToken(Aws::String&& value) { SetWebACLLockToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A token used for optimistic locking. AWS 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. AWS 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 <code>WAFOptimisticLockException</code>.
|
|
* If this happens, perform another get, and use the new token returned by that
|
|
* operation. </p>
|
|
*/
|
|
inline DeleteFirewallManagerRuleGroupsRequest& WithWebACLLockToken(const char* value) { SetWebACLLockToken(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_webACLArn;
|
|
bool m_webACLArnHasBeenSet;
|
|
|
|
Aws::String m_webACLLockToken;
|
|
bool m_webACLLockTokenHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace WAFV2
|
|
} // namespace Aws
|