7#include <aws/core/utils/DateTime.h>
8#include <aws/s3control/S3Control_EXPORTS.h>
42 template <
typename DateT = Aws::Utils::DateTime>
44 m_dateHasBeenSet =
true;
45 m_date = std::forward<DateT>(value);
47 template <
typename DateT = Aws::Utils::DateTime>
49 SetDate(std::forward<DateT>(value));
59 inline int GetDays()
const {
return m_days; }
62 m_daysHasBeenSet =
true;
83 m_expiredObjectDeleteMarkerHasBeenSet =
true;
84 m_expiredObjectDeleteMarker = value;
96 bool m_expiredObjectDeleteMarker{
false};
97 bool m_dateHasBeenSet =
false;
98 bool m_daysHasBeenSet =
false;
99 bool m_expiredObjectDeleteMarkerHasBeenSet =
false;
const Aws::Utils::DateTime & GetDate() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
LifecycleExpiration & WithDate(DateT &&value)
bool DateHasBeenSet() const
AWS_S3CONTROL_API LifecycleExpiration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExpiredObjectDeleteMarker(bool value)
AWS_S3CONTROL_API LifecycleExpiration()=default
AWS_S3CONTROL_API LifecycleExpiration(const Aws::Utils::Xml::XmlNode &xmlNode)
LifecycleExpiration & WithDays(int value)
LifecycleExpiration & WithExpiredObjectDeleteMarker(bool value)
void SetDate(DateT &&value)
bool ExpiredObjectDeleteMarkerHasBeenSet() const
bool DaysHasBeenSet() const
bool GetExpiredObjectDeleteMarker() const