105 bool m_modeHasBeenSet =
false;
108 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