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

Specifies data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes for an Amazon S3 * bucket.

See Also:

AWS * API Reference

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

Specifies how data related to the storage class analysis for an Amazon S3 * bucket should be exported.

*/ inline const StorageClassAnalysisDataExport& GetDataExport() const{ return m_dataExport; } /** *

Specifies how data related to the storage class analysis for an Amazon S3 * bucket should be exported.

*/ inline bool DataExportHasBeenSet() const { return m_dataExportHasBeenSet; } /** *

Specifies how data related to the storage class analysis for an Amazon S3 * bucket should be exported.

*/ inline void SetDataExport(const StorageClassAnalysisDataExport& value) { m_dataExportHasBeenSet = true; m_dataExport = value; } /** *

Specifies how data related to the storage class analysis for an Amazon S3 * bucket should be exported.

*/ inline void SetDataExport(StorageClassAnalysisDataExport&& value) { m_dataExportHasBeenSet = true; m_dataExport = std::move(value); } /** *

Specifies how data related to the storage class analysis for an Amazon S3 * bucket should be exported.

*/ inline StorageClassAnalysis& WithDataExport(const StorageClassAnalysisDataExport& value) { SetDataExport(value); return *this;} /** *

Specifies how data related to the storage class analysis for an Amazon S3 * bucket should be exported.

*/ inline StorageClassAnalysis& WithDataExport(StorageClassAnalysisDataExport&& value) { SetDataExport(std::move(value)); return *this;} private: StorageClassAnalysisDataExport m_dataExport; bool m_dataExportHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws