AWS SDK for C++  1.8.157
AWS SDK for C++
PrefixLevel.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace S3Control
21 {
22 namespace Model
23 {
24 
31  {
32  public:
36 
37  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38 
39 
43  inline const PrefixLevelStorageMetrics& GetStorageMetrics() const{ return m_storageMetrics; }
44 
48  inline bool StorageMetricsHasBeenSet() const { return m_storageMetricsHasBeenSet; }
49 
53  inline void SetStorageMetrics(const PrefixLevelStorageMetrics& value) { m_storageMetricsHasBeenSet = true; m_storageMetrics = value; }
54 
58  inline void SetStorageMetrics(PrefixLevelStorageMetrics&& value) { m_storageMetricsHasBeenSet = true; m_storageMetrics = std::move(value); }
59 
63  inline PrefixLevel& WithStorageMetrics(const PrefixLevelStorageMetrics& value) { SetStorageMetrics(value); return *this;}
64 
68  inline PrefixLevel& WithStorageMetrics(PrefixLevelStorageMetrics&& value) { SetStorageMetrics(std::move(value)); return *this;}
69 
70  private:
71 
72  PrefixLevelStorageMetrics m_storageMetrics;
73  bool m_storageMetricsHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace S3Control
78 } // namespace Aws
Aws::S3Control::Model::PrefixLevel::StorageMetricsHasBeenSet
bool StorageMetricsHasBeenSet() const
Definition: PrefixLevel.h:48
Aws::S3Control::Model::PrefixLevel::PrefixLevel
PrefixLevel()
S3Control_EXPORTS.h
Aws::S3Control::Model::PrefixLevel::SetStorageMetrics
void SetStorageMetrics(PrefixLevelStorageMetrics &&value)
Definition: PrefixLevel.h:58
Aws::S3Control::Model::PrefixLevelStorageMetrics
Definition: PrefixLevelStorageMetrics.h:32
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::PrefixLevel::SetStorageMetrics
void SetStorageMetrics(const PrefixLevelStorageMetrics &value)
Definition: PrefixLevel.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::PrefixLevel::WithStorageMetrics
PrefixLevel & WithStorageMetrics(PrefixLevelStorageMetrics &&value)
Definition: PrefixLevel.h:68
Aws::S3Control::Model::PrefixLevel::GetStorageMetrics
const PrefixLevelStorageMetrics & GetStorageMetrics() const
Definition: PrefixLevel.h:43
Aws::S3Control::Model::PrefixLevel::PrefixLevel
PrefixLevel(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::PrefixLevel
Definition: PrefixLevel.h:31
PrefixLevelStorageMetrics.h
Aws::S3Control::Model::PrefixLevel::operator=
PrefixLevel & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::PrefixLevel::WithStorageMetrics
PrefixLevel & WithStorageMetrics(const PrefixLevelStorageMetrics &value)
Definition: PrefixLevel.h:63
Aws::S3Control::Model::PrefixLevel::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const