/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Whether S3 Object Lock legal hold will be applied to objects in an S3 Batch
* Operations job.See Also:
AWS
* API Reference
The Object Lock legal hold status to be applied to all objects in the Batch * Operations job.
*/ inline const S3ObjectLockLegalHoldStatus& GetStatus() const{ return m_status; } /** *The Object Lock legal hold status to be applied to all objects in the Batch * Operations job.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The Object Lock 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 Object Lock 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 Object Lock 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 Object Lock 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 = false; }; } // namespace Model } // namespace S3Control } // namespace Aws