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