This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-wafv2/include/aws/wafv2/model/DeleteFirewallManagerRuleGroupsResult.h

127 lines
6.1 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/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace WAFV2
{
namespace Model
{
class AWS_WAFV2_API DeleteFirewallManagerRuleGroupsResult
{
public:
DeleteFirewallManagerRuleGroupsResult();
DeleteFirewallManagerRuleGroupsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteFirewallManagerRuleGroupsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <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& GetNextWebACLLockToken() const{ return m_nextWebACLLockToken; }
/**
* <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 SetNextWebACLLockToken(const Aws::String& value) { m_nextWebACLLockToken = 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 SetNextWebACLLockToken(Aws::String&& value) { m_nextWebACLLockToken = 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 SetNextWebACLLockToken(const char* value) { m_nextWebACLLockToken.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 DeleteFirewallManagerRuleGroupsResult& WithNextWebACLLockToken(const Aws::String& value) { SetNextWebACLLockToken(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 DeleteFirewallManagerRuleGroupsResult& WithNextWebACLLockToken(Aws::String&& value) { SetNextWebACLLockToken(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 DeleteFirewallManagerRuleGroupsResult& WithNextWebACLLockToken(const char* value) { SetNextWebACLLockToken(value); return *this;}
private:
Aws::String m_nextWebACLLockToken;
};
} // namespace Model
} // namespace WAFV2
} // namespace Aws