AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BucketLevel.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/ActivityMetrics.h>
9#include <aws/s3control/model/PrefixLevel.h>
10#include <aws/s3control/model/AdvancedCostOptimizationMetrics.h>
11#include <aws/s3control/model/AdvancedDataProtectionMetrics.h>
12#include <aws/s3control/model/DetailedStatusCodesMetrics.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_S3CONTROL_API BucketLevel();
42 AWS_S3CONTROL_API BucketLevel(const Aws::Utils::Xml::XmlNode& xmlNode);
43 AWS_S3CONTROL_API BucketLevel& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
46
47
49
52 inline const ActivityMetrics& GetActivityMetrics() const{ return m_activityMetrics; }
53 inline bool ActivityMetricsHasBeenSet() const { return m_activityMetricsHasBeenSet; }
54 inline void SetActivityMetrics(const ActivityMetrics& value) { m_activityMetricsHasBeenSet = true; m_activityMetrics = value; }
55 inline void SetActivityMetrics(ActivityMetrics&& value) { m_activityMetricsHasBeenSet = true; m_activityMetrics = std::move(value); }
56 inline BucketLevel& WithActivityMetrics(const ActivityMetrics& value) { SetActivityMetrics(value); return *this;}
57 inline BucketLevel& WithActivityMetrics(ActivityMetrics&& value) { SetActivityMetrics(std::move(value)); return *this;}
59
61
64 inline const PrefixLevel& GetPrefixLevel() const{ return m_prefixLevel; }
65 inline bool PrefixLevelHasBeenSet() const { return m_prefixLevelHasBeenSet; }
66 inline void SetPrefixLevel(const PrefixLevel& value) { m_prefixLevelHasBeenSet = true; m_prefixLevel = value; }
67 inline void SetPrefixLevel(PrefixLevel&& value) { m_prefixLevelHasBeenSet = true; m_prefixLevel = std::move(value); }
68 inline BucketLevel& WithPrefixLevel(const PrefixLevel& value) { SetPrefixLevel(value); return *this;}
69 inline BucketLevel& WithPrefixLevel(PrefixLevel&& value) { SetPrefixLevel(std::move(value)); return *this;}
71
73
77 inline const AdvancedCostOptimizationMetrics& GetAdvancedCostOptimizationMetrics() const{ return m_advancedCostOptimizationMetrics; }
78 inline bool AdvancedCostOptimizationMetricsHasBeenSet() const { return m_advancedCostOptimizationMetricsHasBeenSet; }
79 inline void SetAdvancedCostOptimizationMetrics(const AdvancedCostOptimizationMetrics& value) { m_advancedCostOptimizationMetricsHasBeenSet = true; m_advancedCostOptimizationMetrics = value; }
80 inline void SetAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics&& value) { m_advancedCostOptimizationMetricsHasBeenSet = true; m_advancedCostOptimizationMetrics = std::move(value); }
84
86
90 inline const AdvancedDataProtectionMetrics& GetAdvancedDataProtectionMetrics() const{ return m_advancedDataProtectionMetrics; }
91 inline bool AdvancedDataProtectionMetricsHasBeenSet() const { return m_advancedDataProtectionMetricsHasBeenSet; }
92 inline void SetAdvancedDataProtectionMetrics(const AdvancedDataProtectionMetrics& value) { m_advancedDataProtectionMetricsHasBeenSet = true; m_advancedDataProtectionMetrics = value; }
93 inline void SetAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics&& value) { m_advancedDataProtectionMetricsHasBeenSet = true; m_advancedDataProtectionMetrics = std::move(value); }
97
99
103 inline const DetailedStatusCodesMetrics& GetDetailedStatusCodesMetrics() const{ return m_detailedStatusCodesMetrics; }
104 inline bool DetailedStatusCodesMetricsHasBeenSet() const { return m_detailedStatusCodesMetricsHasBeenSet; }
105 inline void SetDetailedStatusCodesMetrics(const DetailedStatusCodesMetrics& value) { m_detailedStatusCodesMetricsHasBeenSet = true; m_detailedStatusCodesMetrics = value; }
106 inline void SetDetailedStatusCodesMetrics(DetailedStatusCodesMetrics&& value) { m_detailedStatusCodesMetricsHasBeenSet = true; m_detailedStatusCodesMetrics = std::move(value); }
110 private:
111
112 ActivityMetrics m_activityMetrics;
113 bool m_activityMetricsHasBeenSet = false;
114
115 PrefixLevel m_prefixLevel;
116 bool m_prefixLevelHasBeenSet = false;
117
118 AdvancedCostOptimizationMetrics m_advancedCostOptimizationMetrics;
119 bool m_advancedCostOptimizationMetricsHasBeenSet = false;
120
121 AdvancedDataProtectionMetrics m_advancedDataProtectionMetrics;
122 bool m_advancedDataProtectionMetricsHasBeenSet = false;
123
124 DetailedStatusCodesMetrics m_detailedStatusCodesMetrics;
125 bool m_detailedStatusCodesMetricsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace S3Control
130} // namespace Aws
const AdvancedCostOptimizationMetrics & GetAdvancedCostOptimizationMetrics() const
Definition BucketLevel.h:77
BucketLevel & WithAdvancedCostOptimizationMetrics(const AdvancedCostOptimizationMetrics &value)
Definition BucketLevel.h:81
void SetActivityMetrics(ActivityMetrics &&value)
Definition BucketLevel.h:55
bool AdvancedCostOptimizationMetricsHasBeenSet() const
Definition BucketLevel.h:78
void SetAdvancedCostOptimizationMetrics(const AdvancedCostOptimizationMetrics &value)
Definition BucketLevel.h:79
BucketLevel & WithAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics &&value)
Definition BucketLevel.h:95
BucketLevel & WithPrefixLevel(PrefixLevel &&value)
Definition BucketLevel.h:69
AWS_S3CONTROL_API BucketLevel & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics &&value)
Definition BucketLevel.h:80
BucketLevel & WithDetailedStatusCodesMetrics(DetailedStatusCodesMetrics &&value)
void SetActivityMetrics(const ActivityMetrics &value)
Definition BucketLevel.h:54
const PrefixLevel & GetPrefixLevel() const
Definition BucketLevel.h:64
void SetDetailedStatusCodesMetrics(const DetailedStatusCodesMetrics &value)
const DetailedStatusCodesMetrics & GetDetailedStatusCodesMetrics() const
void SetAdvancedDataProtectionMetrics(const AdvancedDataProtectionMetrics &value)
Definition BucketLevel.h:92
const ActivityMetrics & GetActivityMetrics() const
Definition BucketLevel.h:52
BucketLevel & WithActivityMetrics(ActivityMetrics &&value)
Definition BucketLevel.h:57
BucketLevel & WithAdvancedDataProtectionMetrics(const AdvancedDataProtectionMetrics &value)
Definition BucketLevel.h:94
BucketLevel & WithActivityMetrics(const ActivityMetrics &value)
Definition BucketLevel.h:56
BucketLevel & WithDetailedStatusCodesMetrics(const DetailedStatusCodesMetrics &value)
BucketLevel & WithAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics &&value)
Definition BucketLevel.h:82
AWS_S3CONTROL_API BucketLevel(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDetailedStatusCodesMetrics(DetailedStatusCodesMetrics &&value)
void SetPrefixLevel(const PrefixLevel &value)
Definition BucketLevel.h:66
bool DetailedStatusCodesMetricsHasBeenSet() const
void SetPrefixLevel(PrefixLevel &&value)
Definition BucketLevel.h:67
bool AdvancedDataProtectionMetricsHasBeenSet() const
Definition BucketLevel.h:91
BucketLevel & WithPrefixLevel(const PrefixLevel &value)
Definition BucketLevel.h:68
const AdvancedDataProtectionMetrics & GetAdvancedDataProtectionMetrics() const
Definition BucketLevel.h:90
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics &&value)
Definition BucketLevel.h:93