7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
53 template<
typename DateT = Aws::Utils::DateTime>
54 void SetDate(DateT&& value) { m_dateHasBeenSet =
true; m_date = std::forward<DateT>(value); }
55 template<
typename DateT = Aws::Utils::DateTime>
64 inline int GetDays()
const {
return m_days; }
66 inline void SetDays(
int value) { m_daysHasBeenSet =
true; m_days = value; }
87 bool m_dateHasBeenSet =
false;
90 bool m_daysHasBeenSet =
false;
92 bool m_expiredObjectDeleteMarker{
false};
93 bool m_expiredObjectDeleteMarkerHasBeenSet =
false;
void SetDate(DateT &&value)
LifecycleExpiration & WithExpiredObjectDeleteMarker(bool value)
bool DaysHasBeenSet() const
bool GetExpiredObjectDeleteMarker() const
const Aws::Utils::DateTime & GetDate() const
LifecycleExpiration & WithDate(DateT &&value)
AWS_S3CRT_API LifecycleExpiration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ExpiredObjectDeleteMarkerHasBeenSet() const
AWS_S3CRT_API LifecycleExpiration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API LifecycleExpiration()=default
void SetExpiredObjectDeleteMarker(bool value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
LifecycleExpiration & WithDays(int value)
bool DateHasBeenSet() const