7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/MetricsStatus.h>
9#include <aws/s3/model/ReplicationTimeValue.h>
43 m_statusHasBeenSet =
true;
59 template <
typename EventThresholdT = ReplicationTimeValue>
61 m_eventThresholdHasBeenSet =
true;
62 m_eventThreshold = std::forward<EventThresholdT>(value);
64 template <
typename EventThresholdT = ReplicationTimeValue>
73 ReplicationTimeValue m_eventThreshold;
74 bool m_statusHasBeenSet =
false;
75 bool m_eventThresholdHasBeenSet =
false;
void SetEventThreshold(EventThresholdT &&value)
void SetStatus(MetricsStatus value)
Metrics & WithEventThreshold(EventThresholdT &&value)
bool StatusHasBeenSet() const
AWS_S3_API Metrics & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool EventThresholdHasBeenSet() const
AWS_S3_API Metrics(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API Metrics()=default
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const ReplicationTimeValue & GetEventThreshold() const
Metrics & WithStatus(MetricsStatus value)
MetricsStatus GetStatus() const