7#include <aws/core/utils/DateTime.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
47 template <
typename DateT = Aws::Utils::DateTime>
49 m_dateHasBeenSet =
true;
50 m_date = std::forward<DateT>(value);
52 template <
typename DateT = Aws::Utils::DateTime>
54 SetDate(std::forward<DateT>(value));
64 inline int GetDays()
const {
return m_days; }
67 m_daysHasBeenSet =
true;
88 m_expiredObjectDeleteMarkerHasBeenSet =
true;
89 m_expiredObjectDeleteMarker = value;
101 bool m_expiredObjectDeleteMarker{
false};
102 bool m_dateHasBeenSet =
false;
103 bool m_daysHasBeenSet =
false;
104 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