7#include <aws/core/utils/DateTime.h>
8#include <aws/s3/S3_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;
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)