AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ObjectLockLegalHold.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Crt {
19namespace Model {
20
27 public:
28 AWS_S3CRT_API ObjectLockLegalHold() = default;
29 AWS_S3CRT_API ObjectLockLegalHold(const Aws::Utils::Xml::XmlNode& xmlNode);
31
32 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
33
35
38 inline ObjectLockLegalHoldStatus GetStatus() const { return m_status; }
39 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
41 m_statusHasBeenSet = true;
42 m_status = value;
43 }
45 SetStatus(value);
46 return *this;
47 }
49 private:
51 bool m_statusHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace S3Crt
56} // namespace Aws