/** * 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 UpdateWebACLResult { public: AWS_WAFV2_API UpdateWebACLResult(); AWS_WAFV2_API UpdateWebACLResult(const Aws::AmazonWebServiceResult& result); AWS_WAFV2_API UpdateWebACLResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A token used for optimistic locking. 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. 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. 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. 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. WAF returns this token to your * update requests. You use NextLockToken in the same * manner as you use LockToken.

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

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

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

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

*/ inline UpdateWebACLResult& WithNextLockToken(const char* value) { SetNextLockToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateWebACLResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateWebACLResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateWebACLResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextLockToken; Aws::String m_requestId; }; } // namespace Model } // namespace WAFV2 } // namespace Aws