AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountLevel.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/ActivityMetrics.h>
9#include <aws/s3control/model/BucketLevel.h>
10#include <aws/s3control/model/AdvancedCostOptimizationMetrics.h>
11#include <aws/s3control/model/AdvancedDataProtectionMetrics.h>
12#include <aws/s3control/model/DetailedStatusCodesMetrics.h>
13#include <aws/s3control/model/StorageLensGroupLevel.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace S3Control
26{
27namespace Model
28{
29
43 {
44 public:
45 AWS_S3CONTROL_API AccountLevel();
46 AWS_S3CONTROL_API AccountLevel(const Aws::Utils::Xml::XmlNode& xmlNode);
47 AWS_S3CONTROL_API AccountLevel& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
48
49 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
50
51
53
56 inline const ActivityMetrics& GetActivityMetrics() const{ return m_activityMetrics; }
57 inline bool ActivityMetricsHasBeenSet() const { return m_activityMetricsHasBeenSet; }
58 inline void SetActivityMetrics(const ActivityMetrics& value) { m_activityMetricsHasBeenSet = true; m_activityMetrics = value; }
59 inline void SetActivityMetrics(ActivityMetrics&& value) { m_activityMetricsHasBeenSet = true; m_activityMetrics = std::move(value); }
60 inline AccountLevel& WithActivityMetrics(const ActivityMetrics& value) { SetActivityMetrics(value); return *this;}
61 inline AccountLevel& WithActivityMetrics(ActivityMetrics&& value) { SetActivityMetrics(std::move(value)); return *this;}
63
65
68 inline const BucketLevel& GetBucketLevel() const{ return m_bucketLevel; }
69 inline bool BucketLevelHasBeenSet() const { return m_bucketLevelHasBeenSet; }
70 inline void SetBucketLevel(const BucketLevel& value) { m_bucketLevelHasBeenSet = true; m_bucketLevel = value; }
71 inline void SetBucketLevel(BucketLevel&& value) { m_bucketLevelHasBeenSet = true; m_bucketLevel = std::move(value); }
72 inline AccountLevel& WithBucketLevel(const BucketLevel& value) { SetBucketLevel(value); return *this;}
73 inline AccountLevel& WithBucketLevel(BucketLevel&& value) { SetBucketLevel(std::move(value)); return *this;}
75
77
81 inline const AdvancedCostOptimizationMetrics& GetAdvancedCostOptimizationMetrics() const{ return m_advancedCostOptimizationMetrics; }
82 inline bool AdvancedCostOptimizationMetricsHasBeenSet() const { return m_advancedCostOptimizationMetricsHasBeenSet; }
83 inline void SetAdvancedCostOptimizationMetrics(const AdvancedCostOptimizationMetrics& value) { m_advancedCostOptimizationMetricsHasBeenSet = true; m_advancedCostOptimizationMetrics = value; }
84 inline void SetAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics&& value) { m_advancedCostOptimizationMetricsHasBeenSet = true; m_advancedCostOptimizationMetrics = std::move(value); }
88
90
93 inline const AdvancedDataProtectionMetrics& GetAdvancedDataProtectionMetrics() const{ return m_advancedDataProtectionMetrics; }
94 inline bool AdvancedDataProtectionMetricsHasBeenSet() const { return m_advancedDataProtectionMetricsHasBeenSet; }
95 inline void SetAdvancedDataProtectionMetrics(const AdvancedDataProtectionMetrics& value) { m_advancedDataProtectionMetricsHasBeenSet = true; m_advancedDataProtectionMetrics = value; }
96 inline void SetAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics&& value) { m_advancedDataProtectionMetricsHasBeenSet = true; m_advancedDataProtectionMetrics = std::move(value); }
100
102
105 inline const DetailedStatusCodesMetrics& GetDetailedStatusCodesMetrics() const{ return m_detailedStatusCodesMetrics; }
106 inline bool DetailedStatusCodesMetricsHasBeenSet() const { return m_detailedStatusCodesMetricsHasBeenSet; }
107 inline void SetDetailedStatusCodesMetrics(const DetailedStatusCodesMetrics& value) { m_detailedStatusCodesMetricsHasBeenSet = true; m_detailedStatusCodesMetrics = value; }
108 inline void SetDetailedStatusCodesMetrics(DetailedStatusCodesMetrics&& value) { m_detailedStatusCodesMetricsHasBeenSet = true; m_detailedStatusCodesMetrics = std::move(value); }
112
114
117 inline const StorageLensGroupLevel& GetStorageLensGroupLevel() const{ return m_storageLensGroupLevel; }
118 inline bool StorageLensGroupLevelHasBeenSet() const { return m_storageLensGroupLevelHasBeenSet; }
119 inline void SetStorageLensGroupLevel(const StorageLensGroupLevel& value) { m_storageLensGroupLevelHasBeenSet = true; m_storageLensGroupLevel = value; }
120 inline void SetStorageLensGroupLevel(StorageLensGroupLevel&& value) { m_storageLensGroupLevelHasBeenSet = true; m_storageLensGroupLevel = std::move(value); }
124 private:
125
126 ActivityMetrics m_activityMetrics;
127 bool m_activityMetricsHasBeenSet = false;
128
129 BucketLevel m_bucketLevel;
130 bool m_bucketLevelHasBeenSet = false;
131
132 AdvancedCostOptimizationMetrics m_advancedCostOptimizationMetrics;
133 bool m_advancedCostOptimizationMetricsHasBeenSet = false;
134
135 AdvancedDataProtectionMetrics m_advancedDataProtectionMetrics;
136 bool m_advancedDataProtectionMetricsHasBeenSet = false;
137
138 DetailedStatusCodesMetrics m_detailedStatusCodesMetrics;
139 bool m_detailedStatusCodesMetricsHasBeenSet = false;
140
141 StorageLensGroupLevel m_storageLensGroupLevel;
142 bool m_storageLensGroupLevelHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace S3Control
147} // namespace Aws
void SetStorageLensGroupLevel(StorageLensGroupLevel &&value)
AccountLevel & WithStorageLensGroupLevel(const StorageLensGroupLevel &value)
void SetDetailedStatusCodesMetrics(const DetailedStatusCodesMetrics &value)
AccountLevel & WithStorageLensGroupLevel(StorageLensGroupLevel &&value)
AccountLevel & WithBucketLevel(const BucketLevel &value)
void SetAdvancedDataProtectionMetrics(const AdvancedDataProtectionMetrics &value)
void SetDetailedStatusCodesMetrics(DetailedStatusCodesMetrics &&value)
AccountLevel & WithAdvancedCostOptimizationMetrics(const AdvancedCostOptimizationMetrics &value)
const AdvancedCostOptimizationMetrics & GetAdvancedCostOptimizationMetrics() const
void SetBucketLevel(BucketLevel &&value)
void SetAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics &&value)
AccountLevel & WithAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics &&value)
void SetActivityMetrics(ActivityMetrics &&value)
AccountLevel & WithAdvancedDataProtectionMetrics(const AdvancedDataProtectionMetrics &value)
AccountLevel & WithActivityMetrics(ActivityMetrics &&value)
const BucketLevel & GetBucketLevel() const
AccountLevel & WithAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics &&value)
AccountLevel & WithActivityMetrics(const ActivityMetrics &value)
void SetAdvancedCostOptimizationMetrics(const AdvancedCostOptimizationMetrics &value)
bool AdvancedCostOptimizationMetricsHasBeenSet() const
AccountLevel & WithDetailedStatusCodesMetrics(DetailedStatusCodesMetrics &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const DetailedStatusCodesMetrics & GetDetailedStatusCodesMetrics() const
void SetStorageLensGroupLevel(const StorageLensGroupLevel &value)
bool AdvancedDataProtectionMetricsHasBeenSet() const
void SetActivityMetrics(const ActivityMetrics &value)
void SetBucketLevel(const BucketLevel &value)
AccountLevel & WithBucketLevel(BucketLevel &&value)
const StorageLensGroupLevel & GetStorageLensGroupLevel() const
const AdvancedDataProtectionMetrics & GetAdvancedDataProtectionMetrics() const
AWS_S3CONTROL_API AccountLevel & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAdvancedCostOptimizationMetrics(AdvancedCostOptimizationMetrics &&value)
const ActivityMetrics & GetActivityMetrics() const
AccountLevel & WithDetailedStatusCodesMetrics(const DetailedStatusCodesMetrics &value)
AWS_S3CONTROL_API AccountLevel(const Aws::Utils::Xml::XmlNode &xmlNode)