/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WAFV2 { namespace Model { class AWS_WAFV2_API UpdateRuleGroupResult { public: UpdateRuleGroupResult(); UpdateRuleGroupResult(const Aws::AmazonWebServiceResult& result); UpdateRuleGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A token used for optimistic locking. AWS WAF returns this token to your * update requests. You use NextLockToken in the same manner as you * use LockToken.

*/ inline const Aws::String& GetNextLockToken() const{ return m_nextLockToken; } /** *

A token used for optimistic locking. AWS WAF returns this token to your * update requests. You use NextLockToken in the same manner as you * use LockToken.

*/ inline void SetNextLockToken(const Aws::String& value) { m_nextLockToken = value; } /** *

A token used for optimistic locking. AWS WAF returns this token to your * update requests. You use NextLockToken in the same manner as you * use LockToken.

*/ inline void SetNextLockToken(Aws::String&& value) { m_nextLockToken = std::move(value); } /** *

A token used for optimistic locking. AWS WAF returns this token to your * update requests. You use NextLockToken in the same manner as you * use LockToken.

*/ inline void SetNextLockToken(const char* value) { m_nextLockToken.assign(value); } /** *

A token used for optimistic locking. AWS WAF returns this token to your * update requests. You use NextLockToken in the same manner as you * use LockToken.

*/ inline UpdateRuleGroupResult& WithNextLockToken(const Aws::String& value) { SetNextLockToken(value); return *this;} /** *

A token used for optimistic locking. AWS WAF returns this token to your * update requests. You use NextLockToken in the same manner as you * use LockToken.

*/ inline UpdateRuleGroupResult& WithNextLockToken(Aws::String&& value) { SetNextLockToken(std::move(value)); return *this;} /** *

A token used for optimistic locking. AWS WAF returns this token to your * update requests. You use NextLockToken in the same manner as you * use LockToken.

*/ inline UpdateRuleGroupResult& WithNextLockToken(const char* value) { SetNextLockToken(value); return *this;} private: Aws::String m_nextLockToken; }; } // namespace Model } // namespace WAFV2 } // namespace Aws