AWS SDK for C++  1.8.154
AWS SDK for C++
AccountLevel.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 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const ActivityMetrics& GetActivityMetrics() const{ return m_activityMetrics; }
46 
50  inline bool ActivityMetricsHasBeenSet() const { return m_activityMetricsHasBeenSet; }
51 
55  inline void SetActivityMetrics(const ActivityMetrics& value) { m_activityMetricsHasBeenSet = true; m_activityMetrics = value; }
56 
60  inline void SetActivityMetrics(ActivityMetrics&& value) { m_activityMetricsHasBeenSet = true; m_activityMetrics = std::move(value); }
61 
65  inline AccountLevel& WithActivityMetrics(const ActivityMetrics& value) { SetActivityMetrics(value); return *this;}
66 
70  inline AccountLevel& WithActivityMetrics(ActivityMetrics&& value) { SetActivityMetrics(std::move(value)); return *this;}
71 
72 
76  inline const BucketLevel& GetBucketLevel() const{ return m_bucketLevel; }
77 
81  inline bool BucketLevelHasBeenSet() const { return m_bucketLevelHasBeenSet; }
82 
86  inline void SetBucketLevel(const BucketLevel& value) { m_bucketLevelHasBeenSet = true; m_bucketLevel = value; }
87 
91  inline void SetBucketLevel(BucketLevel&& value) { m_bucketLevelHasBeenSet = true; m_bucketLevel = std::move(value); }
92 
96  inline AccountLevel& WithBucketLevel(const BucketLevel& value) { SetBucketLevel(value); return *this;}
97 
101  inline AccountLevel& WithBucketLevel(BucketLevel&& value) { SetBucketLevel(std::move(value)); return *this;}
102 
103  private:
104 
105  ActivityMetrics m_activityMetrics;
106  bool m_activityMetricsHasBeenSet;
107 
108  BucketLevel m_bucketLevel;
109  bool m_bucketLevelHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace S3Control
114 } // namespace Aws
Aws::S3Control::Model::AccountLevel::operator=
AccountLevel & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::AccountLevel::SetActivityMetrics
void SetActivityMetrics(ActivityMetrics &&value)
Definition: AccountLevel.h:60
Aws::S3Control::Model::AccountLevel::GetBucketLevel
const BucketLevel & GetBucketLevel() const
Definition: AccountLevel.h:76
ActivityMetrics.h
Aws::S3Control::Model::AccountLevel
Definition: AccountLevel.h:33
S3Control_EXPORTS.h
Aws::S3Control::Model::ActivityMetrics
Definition: ActivityMetrics.h:29
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::AccountLevel::SetBucketLevel
void SetBucketLevel(const BucketLevel &value)
Definition: AccountLevel.h:86
Aws::S3Control::Model::AccountLevel::WithActivityMetrics
AccountLevel & WithActivityMetrics(ActivityMetrics &&value)
Definition: AccountLevel.h:70
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::AccountLevel::SetBucketLevel
void SetBucketLevel(BucketLevel &&value)
Definition: AccountLevel.h:91
Aws::S3Control::Model::AccountLevel::AccountLevel
AccountLevel()
Aws::S3Control::Model::AccountLevel::SetActivityMetrics
void SetActivityMetrics(const ActivityMetrics &value)
Definition: AccountLevel.h:55
Aws::S3Control::Model::AccountLevel::WithActivityMetrics
AccountLevel & WithActivityMetrics(const ActivityMetrics &value)
Definition: AccountLevel.h:65
Aws::S3Control::Model::AccountLevel::WithBucketLevel
AccountLevel & WithBucketLevel(const BucketLevel &value)
Definition: AccountLevel.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::AccountLevel::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::AccountLevel::ActivityMetricsHasBeenSet
bool ActivityMetricsHasBeenSet() const
Definition: AccountLevel.h:50
Aws::S3Control::Model::AccountLevel::GetActivityMetrics
const ActivityMetrics & GetActivityMetrics() const
Definition: AccountLevel.h:45
Aws::S3Control::Model::BucketLevel
Definition: BucketLevel.h:32
Aws::S3Control::Model::AccountLevel::WithBucketLevel
AccountLevel & WithBucketLevel(BucketLevel &&value)
Definition: AccountLevel.h:101
BucketLevel.h
Aws::S3Control::Model::AccountLevel::AccountLevel
AccountLevel(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::AccountLevel::BucketLevelHasBeenSet
bool BucketLevelHasBeenSet() const
Definition: AccountLevel.h:81