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/UpdateIPSetResult.h

92 lines
3.0 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 UpdateIPSetResult
{
public:
UpdateIPSetResult();
UpdateIPSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateIPSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A token used for optimistic locking. AWS WAF returns this token to your
* update requests. You use <code>NextLockToken</code> in the same manner as you
* use <code>LockToken</code>. </p>
*/
inline const Aws::String& GetNextLockToken() const{ return m_nextLockToken; }
/**
* <p>A token used for optimistic locking. AWS WAF returns this token to your
* update requests. You use <code>NextLockToken</code> in the same manner as you
* use <code>LockToken</code>. </p>
*/
inline void SetNextLockToken(const Aws::String& value) { m_nextLockToken = value; }
/**
* <p>A token used for optimistic locking. AWS WAF returns this token to your
* update requests. You use <code>NextLockToken</code> in the same manner as you
* use <code>LockToken</code>. </p>
*/
inline void SetNextLockToken(Aws::String&& value) { m_nextLockToken = std::move(value); }
/**
* <p>A token used for optimistic locking. AWS WAF returns this token to your
* update requests. You use <code>NextLockToken</code> in the same manner as you
* use <code>LockToken</code>. </p>
*/
inline void SetNextLockToken(const char* value) { m_nextLockToken.assign(value); }
/**
* <p>A token used for optimistic locking. AWS WAF returns this token to your
* update requests. You use <code>NextLockToken</code> in the same manner as you
* use <code>LockToken</code>. </p>
*/
inline UpdateIPSetResult& WithNextLockToken(const Aws::String& value) { SetNextLockToken(value); return *this;}
/**
* <p>A token used for optimistic locking. AWS WAF returns this token to your
* update requests. You use <code>NextLockToken</code> in the same manner as you
* use <code>LockToken</code>. </p>
*/
inline UpdateIPSetResult& WithNextLockToken(Aws::String&& value) { SetNextLockToken(std::move(value)); return *this;}
/**
* <p>A token used for optimistic locking. AWS WAF returns this token to your
* update requests. You use <code>NextLockToken</code> in the same manner as you
* use <code>LockToken</code>. </p>
*/
inline UpdateIPSetResult& WithNextLockToken(const char* value) { SetNextLockToken(value); return *this;}
private:
Aws::String m_nextLockToken;
};
} // namespace Model
} // namespace WAFV2
} // namespace Aws