7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
48 template<
typename DateT = Aws::Utils::DateTime>
49 void SetDate(DateT&& value) { m_dateHasBeenSet =
true; m_date = std::forward<DateT>(value); }
50 template<
typename DateT = Aws::Utils::DateTime>
59 inline int GetDays()
const {
return m_days; }
61 inline void SetDays(
int value) { m_daysHasBeenSet =
true; m_days = value; }
82 bool m_dateHasBeenSet =
false;
85 bool m_daysHasBeenSet =
false;
87 bool m_expiredObjectDeleteMarker{
false};
88 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