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-glacier/include/aws/glacier/model/InitiateVaultLockResult.h

84 lines
2.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/glacier/Glacier_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 Glacier
{
namespace Model
{
/**
* <p>Contains the Amazon S3 Glacier response to your request.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/glacier-2012-06-01/InitiateVaultLockOutput">AWS
* API Reference</a></p>
*/
class AWS_GLACIER_API InitiateVaultLockResult
{
public:
InitiateVaultLockResult();
InitiateVaultLockResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
InitiateVaultLockResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The lock ID, which is used to complete the vault locking process.</p>
*/
inline const Aws::String& GetLockId() const{ return m_lockId; }
/**
* <p>The lock ID, which is used to complete the vault locking process.</p>
*/
inline void SetLockId(const Aws::String& value) { m_lockId = value; }
/**
* <p>The lock ID, which is used to complete the vault locking process.</p>
*/
inline void SetLockId(Aws::String&& value) { m_lockId = std::move(value); }
/**
* <p>The lock ID, which is used to complete the vault locking process.</p>
*/
inline void SetLockId(const char* value) { m_lockId.assign(value); }
/**
* <p>The lock ID, which is used to complete the vault locking process.</p>
*/
inline InitiateVaultLockResult& WithLockId(const Aws::String& value) { SetLockId(value); return *this;}
/**
* <p>The lock ID, which is used to complete the vault locking process.</p>
*/
inline InitiateVaultLockResult& WithLockId(Aws::String&& value) { SetLockId(std::move(value)); return *this;}
/**
* <p>The lock ID, which is used to complete the vault locking process.</p>
*/
inline InitiateVaultLockResult& WithLockId(const char* value) { SetLockId(value); return *this;}
private:
Aws::String m_lockId;
};
} // namespace Model
} // namespace Glacier
} // namespace Aws