/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The Legal Hold status to be applied to all objects in the Batch Operations * job.
*/ inline const S3ObjectLockLegalHoldStatus& GetStatus() const{ return m_status; } /** *The Legal Hold status to be applied to all objects in the Batch Operations * job.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The Legal Hold status to be applied to all objects in the Batch Operations * job.
*/ inline void SetStatus(const S3ObjectLockLegalHoldStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The Legal Hold status to be applied to all objects in the Batch Operations * job.
*/ inline void SetStatus(S3ObjectLockLegalHoldStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The Legal Hold status to be applied to all objects in the Batch Operations * job.
*/ inline S3ObjectLockLegalHold& WithStatus(const S3ObjectLockLegalHoldStatus& value) { SetStatus(value); return *this;} /** *The Legal Hold status to be applied to all objects in the Batch Operations * job.
*/ inline S3ObjectLockLegalHold& WithStatus(S3ObjectLockLegalHoldStatus&& value) { SetStatus(std::move(value)); return *this;} private: S3ObjectLockLegalHoldStatus m_status; bool m_statusHasBeenSet; }; } // namespace Model } // namespace S3Control } // namespace Aws