7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/s3control/model/S3ObjectLockRetentionMode.h>
75 bool m_retainUntilDateHasBeenSet =
false;
78 bool m_modeHasBeenSet =
false;
bool ModeHasBeenSet() const
void SetRetainUntilDate(Aws::Utils::DateTime &&value)
void SetRetainUntilDate(const Aws::Utils::DateTime &value)
S3Retention & WithRetainUntilDate(const Aws::Utils::DateTime &value)
S3Retention & WithMode(const S3ObjectLockRetentionMode &value)
void SetMode(S3ObjectLockRetentionMode &&value)
S3Retention & WithRetainUntilDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetRetainUntilDate() const
const S3ObjectLockRetentionMode & GetMode() const
AWS_S3CONTROL_API S3Retention(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Retention & WithMode(S3ObjectLockRetentionMode &&value)
void SetMode(const S3ObjectLockRetentionMode &value)
bool RetainUntilDateHasBeenSet() const
AWS_S3CONTROL_API S3Retention()
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API S3Retention & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3ObjectLockRetentionMode