7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/ObjectLockEnabled.h>
9#include <aws/s3-crt/model/ObjectLockRule.h>
74 bool m_objectLockEnabledHasBeenSet =
false;
77 bool m_ruleHasBeenSet =
false;
void SetRule(const ObjectLockRule &value)
AWS_S3CRT_API ObjectLockConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
ObjectLockConfiguration & WithObjectLockEnabled(ObjectLockEnabled &&value)
void SetRule(ObjectLockRule &&value)
ObjectLockConfiguration & WithRule(const ObjectLockRule &value)
ObjectLockConfiguration & WithObjectLockEnabled(const ObjectLockEnabled &value)
AWS_S3CRT_API ObjectLockConfiguration()
bool ObjectLockEnabledHasBeenSet() const
void SetObjectLockEnabled(ObjectLockEnabled &&value)
const ObjectLockEnabled & GetObjectLockEnabled() const
ObjectLockConfiguration & WithRule(ObjectLockRule &&value)
void SetObjectLockEnabled(const ObjectLockEnabled &value)
AWS_S3CRT_API ObjectLockConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ObjectLockRule & GetRule() const
bool RuleHasBeenSet() const
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const