7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/MetricsStatus.h>
9#include <aws/s3-crt/model/ReplicationTimeValue.h>
59 template<
typename EventThresholdT = ReplicationTimeValue>
60 void SetEventThreshold(EventThresholdT&& value) { m_eventThresholdHasBeenSet =
true; m_eventThreshold = std::forward<EventThresholdT>(value); }
61 template<
typename EventThresholdT = ReplicationTimeValue>
67 bool m_statusHasBeenSet =
false;
69 ReplicationTimeValue m_eventThreshold;
70 bool m_eventThresholdHasBeenSet =
false;
const ReplicationTimeValue & GetEventThreshold() const
bool EventThresholdHasBeenSet() const
AWS_S3CRT_API Metrics & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MetricsStatus GetStatus() const
bool StatusHasBeenSet() const
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Metrics & WithEventThreshold(EventThresholdT &&value)
void SetStatus(MetricsStatus value)
AWS_S3CRT_API Metrics()=default
AWS_S3CRT_API Metrics(const Aws::Utils::Xml::XmlNode &xmlNode)
Metrics & WithStatus(MetricsStatus value)
void SetEventThreshold(EventThresholdT &&value)