AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrefixLevel.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/PrefixLevelStorageMetrics.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_S3CONTROL_API PrefixLevel();
34 AWS_S3CONTROL_API PrefixLevel(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_S3CONTROL_API PrefixLevel& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
44 inline const PrefixLevelStorageMetrics& GetStorageMetrics() const{ return m_storageMetrics; }
45 inline bool StorageMetricsHasBeenSet() const { return m_storageMetricsHasBeenSet; }
46 inline void SetStorageMetrics(const PrefixLevelStorageMetrics& value) { m_storageMetricsHasBeenSet = true; m_storageMetrics = value; }
47 inline void SetStorageMetrics(PrefixLevelStorageMetrics&& value) { m_storageMetricsHasBeenSet = true; m_storageMetrics = std::move(value); }
48 inline PrefixLevel& WithStorageMetrics(const PrefixLevelStorageMetrics& value) { SetStorageMetrics(value); return *this;}
49 inline PrefixLevel& WithStorageMetrics(PrefixLevelStorageMetrics&& value) { SetStorageMetrics(std::move(value)); return *this;}
51 private:
52
53 PrefixLevelStorageMetrics m_storageMetrics;
54 bool m_storageMetricsHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace S3Control
59} // namespace Aws
PrefixLevel & WithStorageMetrics(PrefixLevelStorageMetrics &&value)
Definition PrefixLevel.h:49
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetStorageMetrics(const PrefixLevelStorageMetrics &value)
Definition PrefixLevel.h:46
const PrefixLevelStorageMetrics & GetStorageMetrics() const
Definition PrefixLevel.h:44
PrefixLevel & WithStorageMetrics(const PrefixLevelStorageMetrics &value)
Definition PrefixLevel.h:48
AWS_S3CONTROL_API PrefixLevel & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API PrefixLevel(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStorageMetrics(PrefixLevelStorageMetrics &&value)
Definition PrefixLevel.h:47