AWS SDK for C++  1.8.154
AWS SDK for C++
BucketLevel.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace S3Control
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
45  inline const ActivityMetrics& GetActivityMetrics() const{ return m_activityMetrics; }
46 
51  inline bool ActivityMetricsHasBeenSet() const { return m_activityMetricsHasBeenSet; }
52 
57  inline void SetActivityMetrics(const ActivityMetrics& value) { m_activityMetricsHasBeenSet = true; m_activityMetrics = value; }
58 
63  inline void SetActivityMetrics(ActivityMetrics&& value) { m_activityMetricsHasBeenSet = true; m_activityMetrics = std::move(value); }
64 
69  inline BucketLevel& WithActivityMetrics(const ActivityMetrics& value) { SetActivityMetrics(value); return *this;}
70 
75  inline BucketLevel& WithActivityMetrics(ActivityMetrics&& value) { SetActivityMetrics(std::move(value)); return *this;}
76 
77 
81  inline const PrefixLevel& GetPrefixLevel() const{ return m_prefixLevel; }
82 
86  inline bool PrefixLevelHasBeenSet() const { return m_prefixLevelHasBeenSet; }
87 
91  inline void SetPrefixLevel(const PrefixLevel& value) { m_prefixLevelHasBeenSet = true; m_prefixLevel = value; }
92 
96  inline void SetPrefixLevel(PrefixLevel&& value) { m_prefixLevelHasBeenSet = true; m_prefixLevel = std::move(value); }
97 
101  inline BucketLevel& WithPrefixLevel(const PrefixLevel& value) { SetPrefixLevel(value); return *this;}
102 
106  inline BucketLevel& WithPrefixLevel(PrefixLevel&& value) { SetPrefixLevel(std::move(value)); return *this;}
107 
108  private:
109 
110  ActivityMetrics m_activityMetrics;
111  bool m_activityMetricsHasBeenSet;
112 
113  PrefixLevel m_prefixLevel;
114  bool m_prefixLevelHasBeenSet;
115  };
116 
117 } // namespace Model
118 } // namespace S3Control
119 } // namespace Aws
Aws::S3Control::Model::BucketLevel::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::BucketLevel::SetActivityMetrics
void SetActivityMetrics(const ActivityMetrics &value)
Definition: BucketLevel.h:57
Aws::S3Control::Model::BucketLevel::ActivityMetricsHasBeenSet
bool ActivityMetricsHasBeenSet() const
Definition: BucketLevel.h:51
Aws::S3Control::Model::BucketLevel::WithPrefixLevel
BucketLevel & WithPrefixLevel(const PrefixLevel &value)
Definition: BucketLevel.h:101
Aws::S3Control::Model::BucketLevel::SetPrefixLevel
void SetPrefixLevel(PrefixLevel &&value)
Definition: BucketLevel.h:96
ActivityMetrics.h
S3Control_EXPORTS.h
Aws::S3Control::Model::ActivityMetrics
Definition: ActivityMetrics.h:29
Aws::S3Control::Model::BucketLevel::WithActivityMetrics
BucketLevel & WithActivityMetrics(ActivityMetrics &&value)
Definition: BucketLevel.h:75
Aws::S3Control::Model::BucketLevel::GetActivityMetrics
const ActivityMetrics & GetActivityMetrics() const
Definition: BucketLevel.h:45
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::BucketLevel::BucketLevel
BucketLevel(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::BucketLevel::SetPrefixLevel
void SetPrefixLevel(const PrefixLevel &value)
Definition: BucketLevel.h:91
Aws::S3Control::Model::BucketLevel::WithActivityMetrics
BucketLevel & WithActivityMetrics(const ActivityMetrics &value)
Definition: BucketLevel.h:69
Aws::S3Control::Model::BucketLevel::BucketLevel
BucketLevel()
Aws::S3Control::Model::BucketLevel::WithPrefixLevel
BucketLevel & WithPrefixLevel(PrefixLevel &&value)
Definition: BucketLevel.h:106
Aws::S3Control::Model::BucketLevel::GetPrefixLevel
const PrefixLevel & GetPrefixLevel() const
Definition: BucketLevel.h:81
Aws::S3Control::Model::BucketLevel::PrefixLevelHasBeenSet
bool PrefixLevelHasBeenSet() const
Definition: BucketLevel.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::PrefixLevel
Definition: PrefixLevel.h:31
Aws::S3Control::Model::BucketLevel
Definition: BucketLevel.h:32
PrefixLevel.h
Aws::S3Control::Model::BucketLevel::SetActivityMetrics
void SetActivityMetrics(ActivityMetrics &&value)
Definition: BucketLevel.h:63
Aws::S3Control::Model::BucketLevel::operator=
BucketLevel & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)