7#include <aws/s3/S3_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;
const Aws::Utils::DateTime & GetDate() const
bool GetExpiredObjectDeleteMarker() const
AWS_S3_API LifecycleExpiration()=default
bool DaysHasBeenSet() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool ExpiredObjectDeleteMarkerHasBeenSet() const
LifecycleExpiration & WithExpiredObjectDeleteMarker(bool value)
void SetDate(DateT &&value)
AWS_S3_API LifecycleExpiration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExpiredObjectDeleteMarker(bool value)
bool DateHasBeenSet() const
AWS_S3_API LifecycleExpiration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LifecycleExpiration & WithDate(DateT &&value)
LifecycleExpiration & WithDays(int value)