/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { /** *

The container element for Amazon S3 Storage Lens advanced data-protection * metrics. Advanced data-protection metrics provide insights that you can use to * perform audits and protect your data, for example replication rule counts within * and across Regions.

For more information about S3 Storage Lens, see Assessing * your storage activity and usage with S3 Storage Lens in the Amazon S3 * User Guide. For a complete list of S3 Storage Lens metrics, see S3 * Storage Lens metrics glossary in the Amazon S3 User * Guide.

See Also:

AWS * API Reference

*/ class AdvancedDataProtectionMetrics { public: AWS_S3CONTROL_API AdvancedDataProtectionMetrics(); AWS_S3CONTROL_API AdvancedDataProtectionMetrics(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API AdvancedDataProtectionMetrics& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

A container that indicates whether advanced data-protection metrics are * enabled.

*/ inline bool GetIsEnabled() const{ return m_isEnabled; } /** *

A container that indicates whether advanced data-protection metrics are * enabled.

*/ inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; } /** *

A container that indicates whether advanced data-protection metrics are * enabled.

*/ inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; } /** *

A container that indicates whether advanced data-protection metrics are * enabled.

*/ inline AdvancedDataProtectionMetrics& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;} private: bool m_isEnabled; bool m_isEnabledHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws