Download include/aws/s3/model/AnalyticsConfiguration.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 4.04 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/s3/model/AnalyticsConfiguration.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/s3/model/AnalyticsConfiguration.h
-
curl -L -o AnalyticsConfiguration.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/s3/model/AnalyticsConfiguration.h
4.04 kB
| /** | |
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| * SPDX-License-Identifier: Apache-2.0. | |
| */ | |
| namespace Aws | |
| { | |
| namespace Utils | |
| { | |
| namespace Xml | |
| { | |
| class XmlNode; | |
| } // namespace Xml | |
| } // namespace Utils | |
| namespace S3 | |
| { | |
| namespace Model | |
| { | |
| /** | |
| * <p>Specifies the configuration and any analyses for the analytics filter of an | |
| * Amazon S3 bucket.</p><p><h3>See Also:</h3> <a | |
| * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration">AWS | |
| * API Reference</a></p> | |
| */ | |
| class AnalyticsConfiguration | |
| { | |
| public: | |
| AWS_S3_API AnalyticsConfiguration(); | |
| AWS_S3_API AnalyticsConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); | |
| AWS_S3_API AnalyticsConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); | |
| AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; | |
| ///@{ | |
| /** | |
| * <p>The ID that identifies the analytics configuration.</p> | |
| */ | |
| inline const Aws::String& GetId() const{ return m_id; } | |
| inline bool IdHasBeenSet() const { return m_idHasBeenSet; } | |
| inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } | |
| inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } | |
| inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } | |
| inline AnalyticsConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;} | |
| inline AnalyticsConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} | |
| inline AnalyticsConfiguration& WithId(const char* value) { SetId(value); return *this;} | |
| ///@} | |
| ///@{ | |
| /** | |
| * <p>The filter used to describe a set of objects for analyses. A filter must have | |
| * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no | |
| * filter is provided, all objects will be considered in any analysis.</p> | |
| */ | |
| inline const AnalyticsFilter& GetFilter() const{ return m_filter; } | |
| inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } | |
| inline void SetFilter(const AnalyticsFilter& value) { m_filterHasBeenSet = true; m_filter = value; } | |
| inline void SetFilter(AnalyticsFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } | |
| inline AnalyticsConfiguration& WithFilter(const AnalyticsFilter& value) { SetFilter(value); return *this;} | |
| inline AnalyticsConfiguration& WithFilter(AnalyticsFilter&& value) { SetFilter(std::move(value)); return *this;} | |
| ///@} | |
| ///@{ | |
| /** | |
| * <p> Contains data related to access patterns to be collected and made available | |
| * to analyze the tradeoffs between different storage classes. </p> | |
| */ | |
| inline const StorageClassAnalysis& GetStorageClassAnalysis() const{ return m_storageClassAnalysis; } | |
| inline bool StorageClassAnalysisHasBeenSet() const { return m_storageClassAnalysisHasBeenSet; } | |
| inline void SetStorageClassAnalysis(const StorageClassAnalysis& value) { m_storageClassAnalysisHasBeenSet = true; m_storageClassAnalysis = value; } | |
| inline void SetStorageClassAnalysis(StorageClassAnalysis&& value) { m_storageClassAnalysisHasBeenSet = true; m_storageClassAnalysis = std::move(value); } | |
| inline AnalyticsConfiguration& WithStorageClassAnalysis(const StorageClassAnalysis& value) { SetStorageClassAnalysis(value); return *this;} | |
| inline AnalyticsConfiguration& WithStorageClassAnalysis(StorageClassAnalysis&& value) { SetStorageClassAnalysis(std::move(value)); return *this;} | |
| ///@} | |
| private: | |
| Aws::String m_id; | |
| bool m_idHasBeenSet = false; | |
| AnalyticsFilter m_filter; | |
| bool m_filterHasBeenSet = false; | |
| StorageClassAnalysis m_storageClassAnalysis; | |
| bool m_storageClassAnalysisHasBeenSet = false; | |
| }; | |
| } // namespace Model | |
| } // namespace S3 | |
| } // namespace Aws | |