/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The container element for Amazon S3 Storage Lens activity metrics. Activity
* metrics show details about how your storage is requested, such as requests (for
* example, All requests, Get requests, Put requests), bytes uploaded or
* downloaded, and errors. 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
A container that indicates whether activity metrics are enabled.
*/ inline bool GetIsEnabled() const{ return m_isEnabled; } /** *A container that indicates whether activity metrics are enabled.
*/ inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; } /** *A container that indicates whether activity metrics are enabled.
*/ inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; } /** *A container that indicates whether activity metrics are enabled.
*/ inline ActivityMetrics& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;} private: bool m_isEnabled; bool m_isEnabledHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws