AWS SDK for C++  1.8.154
AWS SDK for C++
PrefixLevelStorageMetrics.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 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
44  inline bool GetIsEnabled() const{ return m_isEnabled; }
45 
49  inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
50 
54  inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; }
55 
59  inline PrefixLevelStorageMetrics& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;}
60 
61 
62 
63  inline const SelectionCriteria& GetSelectionCriteria() const{ return m_selectionCriteria; }
64 
65 
66  inline bool SelectionCriteriaHasBeenSet() const { return m_selectionCriteriaHasBeenSet; }
67 
68 
69  inline void SetSelectionCriteria(const SelectionCriteria& value) { m_selectionCriteriaHasBeenSet = true; m_selectionCriteria = value; }
70 
71 
72  inline void SetSelectionCriteria(SelectionCriteria&& value) { m_selectionCriteriaHasBeenSet = true; m_selectionCriteria = std::move(value); }
73 
74 
75  inline PrefixLevelStorageMetrics& WithSelectionCriteria(const SelectionCriteria& value) { SetSelectionCriteria(value); return *this;}
76 
77 
78  inline PrefixLevelStorageMetrics& WithSelectionCriteria(SelectionCriteria&& value) { SetSelectionCriteria(std::move(value)); return *this;}
79 
80  private:
81 
82  bool m_isEnabled;
83  bool m_isEnabledHasBeenSet;
84 
85  SelectionCriteria m_selectionCriteria;
86  bool m_selectionCriteriaHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace S3Control
91 } // namespace Aws
Aws::S3Control::Model::PrefixLevelStorageMetrics::WithSelectionCriteria
PrefixLevelStorageMetrics & WithSelectionCriteria(SelectionCriteria &&value)
Definition: PrefixLevelStorageMetrics.h:78
Aws::S3Control::Model::PrefixLevelStorageMetrics::SetIsEnabled
void SetIsEnabled(bool value)
Definition: PrefixLevelStorageMetrics.h:54
Aws::S3Control::Model::PrefixLevelStorageMetrics::GetSelectionCriteria
const SelectionCriteria & GetSelectionCriteria() const
Definition: PrefixLevelStorageMetrics.h:63
Aws::S3Control::Model::PrefixLevelStorageMetrics::SelectionCriteriaHasBeenSet
bool SelectionCriteriaHasBeenSet() const
Definition: PrefixLevelStorageMetrics.h:66
S3Control_EXPORTS.h
Aws::S3Control::Model::PrefixLevelStorageMetrics
Definition: PrefixLevelStorageMetrics.h:32
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::PrefixLevelStorageMetrics::IsEnabledHasBeenSet
bool IsEnabledHasBeenSet() const
Definition: PrefixLevelStorageMetrics.h:49
Aws::S3Control::Model::PrefixLevelStorageMetrics::operator=
PrefixLevelStorageMetrics & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::PrefixLevelStorageMetrics::PrefixLevelStorageMetrics
PrefixLevelStorageMetrics(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::PrefixLevelStorageMetrics::WithIsEnabled
PrefixLevelStorageMetrics & WithIsEnabled(bool value)
Definition: PrefixLevelStorageMetrics.h:59
Aws::S3Control::Model::PrefixLevelStorageMetrics::PrefixLevelStorageMetrics
PrefixLevelStorageMetrics()
Aws::S3Control::Model::PrefixLevelStorageMetrics::GetIsEnabled
bool GetIsEnabled() const
Definition: PrefixLevelStorageMetrics.h:44
Aws::S3Control::Model::PrefixLevelStorageMetrics::SetSelectionCriteria
void SetSelectionCriteria(SelectionCriteria &&value)
Definition: PrefixLevelStorageMetrics.h:72
Aws
Definition: AccessManagementClient.h:15
SelectionCriteria.h
Aws::S3Control::Model::PrefixLevelStorageMetrics::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::PrefixLevelStorageMetrics::WithSelectionCriteria
PrefixLevelStorageMetrics & WithSelectionCriteria(const SelectionCriteria &value)
Definition: PrefixLevelStorageMetrics.h:75
Aws::S3Control::Model::SelectionCriteria
Definition: SelectionCriteria.h:31
Aws::S3Control::Model::PrefixLevelStorageMetrics::SetSelectionCriteria
void SetSelectionCriteria(const SelectionCriteria &value)
Definition: PrefixLevelStorageMetrics.h:69