AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrefixLevelStorageMetrics.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/SelectionCriteria.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
32 {
33 public:
34 AWS_S3CONTROL_API PrefixLevelStorageMetrics();
35 AWS_S3CONTROL_API PrefixLevelStorageMetrics(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline bool GetIsEnabled() const{ return m_isEnabled; }
46 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
47 inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; }
48 inline PrefixLevelStorageMetrics& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;}
50
52
53 inline const SelectionCriteria& GetSelectionCriteria() const{ return m_selectionCriteria; }
54 inline bool SelectionCriteriaHasBeenSet() const { return m_selectionCriteriaHasBeenSet; }
55 inline void SetSelectionCriteria(const SelectionCriteria& value) { m_selectionCriteriaHasBeenSet = true; m_selectionCriteria = value; }
56 inline void SetSelectionCriteria(SelectionCriteria&& value) { m_selectionCriteriaHasBeenSet = true; m_selectionCriteria = std::move(value); }
60 private:
61
62 bool m_isEnabled;
63 bool m_isEnabledHasBeenSet = false;
64
65 SelectionCriteria m_selectionCriteria;
66 bool m_selectionCriteriaHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace S3Control
71} // namespace Aws
PrefixLevelStorageMetrics & WithIsEnabled(bool value)
AWS_S3CONTROL_API PrefixLevelStorageMetrics & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PrefixLevelStorageMetrics & WithSelectionCriteria(const SelectionCriteria &value)
AWS_S3CONTROL_API PrefixLevelStorageMetrics(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
PrefixLevelStorageMetrics & WithSelectionCriteria(SelectionCriteria &&value)
void SetSelectionCriteria(const SelectionCriteria &value)