/**
* 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 advanced cost-optimization
* metrics. Advanced cost-optimization metrics provide insights that you can use to
* manage and optimize your storage costs, for example, lifecycle rule counts for
* transitions, expirations, and incomplete multipart uploads. 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 advanced cost-optimization metrics are * enabled.
*/ inline bool GetIsEnabled() const{ return m_isEnabled; } /** *A container that indicates whether advanced cost-optimization metrics are * enabled.
*/ inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; } /** *A container that indicates whether advanced cost-optimization metrics are * enabled.
*/ inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; } /** *A container that indicates whether advanced cost-optimization metrics are * enabled.
*/ inline AdvancedCostOptimizationMetrics& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;} private: bool m_isEnabled; bool m_isEnabledHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws