/** * 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 Glacier { namespace Model { /** *

Contains the Amazon S3 Glacier response to your request.

See * Also:

AWS * API Reference

*/ class InitiateVaultLockResult { public: AWS_GLACIER_API InitiateVaultLockResult(); AWS_GLACIER_API InitiateVaultLockResult(const Aws::AmazonWebServiceResult& result); AWS_GLACIER_API InitiateVaultLockResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The lock ID, which is used to complete the vault locking process.

*/ inline const Aws::String& GetLockId() const{ return m_lockId; } /** *

The lock ID, which is used to complete the vault locking process.

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

The lock ID, which is used to complete the vault locking process.

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

The lock ID, which is used to complete the vault locking process.

*/ inline void SetLockId(const char* value) { m_lockId.assign(value); } /** *

The lock ID, which is used to complete the vault locking process.

*/ inline InitiateVaultLockResult& WithLockId(const Aws::String& value) { SetLockId(value); return *this;} /** *

The lock ID, which is used to complete the vault locking process.

*/ inline InitiateVaultLockResult& WithLockId(Aws::String&& value) { SetLockId(std::move(value)); return *this;} /** *

The lock ID, which is used to complete the vault locking process.

*/ inline InitiateVaultLockResult& WithLockId(const char* value) { SetLockId(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 InitiateVaultLockResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline InitiateVaultLockResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline InitiateVaultLockResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_lockId; Aws::String m_requestId; }; } // namespace Model } // namespace Glacier } // namespace Aws