7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/ObjectLockRetentionMode.h>
9#include <aws/core/utils/DateTime.h>
67 bool m_modeHasBeenSet =
false;
70 bool m_retainUntilDateHasBeenSet =
false;
bool RetainUntilDateHasBeenSet() const
ObjectLockRetention & WithRetainUntilDate(Aws::Utils::DateTime &&value)
void SetRetainUntilDate(const Aws::Utils::DateTime &value)
void SetRetainUntilDate(Aws::Utils::DateTime &&value)
ObjectLockRetention & WithRetainUntilDate(const Aws::Utils::DateTime &value)
AWS_S3_API ObjectLockRetention(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API ObjectLockRetention & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ObjectLockRetention & WithMode(const ObjectLockRetentionMode &value)
const ObjectLockRetentionMode & GetMode() const
AWS_S3_API ObjectLockRetention()
bool ModeHasBeenSet() const
ObjectLockRetention & WithMode(ObjectLockRetentionMode &&value)
void SetMode(ObjectLockRetentionMode &&value)
void SetMode(const ObjectLockRetentionMode &value)
const Aws::Utils::DateTime & GetRetainUntilDate() const