AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StorageLensGroupLevel.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/StorageLensGroupLevelSelectionCriteria.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Control {
19namespace Model {
20
28 public:
29 AWS_S3CONTROL_API StorageLensGroupLevel() = default;
30 AWS_S3CONTROL_API StorageLensGroupLevel(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_S3CONTROL_API StorageLensGroupLevel& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
34
36
41 inline const StorageLensGroupLevelSelectionCriteria& GetSelectionCriteria() const { return m_selectionCriteria; }
42 inline bool SelectionCriteriaHasBeenSet() const { return m_selectionCriteriaHasBeenSet; }
43 template <typename SelectionCriteriaT = StorageLensGroupLevelSelectionCriteria>
44 void SetSelectionCriteria(SelectionCriteriaT&& value) {
45 m_selectionCriteriaHasBeenSet = true;
46 m_selectionCriteria = std::forward<SelectionCriteriaT>(value);
47 }
48 template <typename SelectionCriteriaT = StorageLensGroupLevelSelectionCriteria>
49 StorageLensGroupLevel& WithSelectionCriteria(SelectionCriteriaT&& value) {
50 SetSelectionCriteria(std::forward<SelectionCriteriaT>(value));
51 return *this;
52 }
54 private:
56 bool m_selectionCriteriaHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace S3Control
61} // namespace Aws
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API StorageLensGroupLevel()=default
StorageLensGroupLevel & WithSelectionCriteria(SelectionCriteriaT &&value)
AWS_S3CONTROL_API StorageLensGroupLevel & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API StorageLensGroupLevel(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSelectionCriteria(SelectionCriteriaT &&value)
const StorageLensGroupLevelSelectionCriteria & GetSelectionCriteria() const