AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SelectionCriteria.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 SelectionCriteria() = default;
34 AWS_S3CONTROL_API SelectionCriteria(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_S3CONTROL_API SelectionCriteria& 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 Aws::String& GetDelimiter() const { return m_delimiter; }
45 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
46 template<typename DelimiterT = Aws::String>
47 void SetDelimiter(DelimiterT&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::forward<DelimiterT>(value); }
48 template<typename DelimiterT = Aws::String>
49 SelectionCriteria& WithDelimiter(DelimiterT&& value) { SetDelimiter(std::forward<DelimiterT>(value)); return *this;}
51
53
56 inline int GetMaxDepth() const { return m_maxDepth; }
57 inline bool MaxDepthHasBeenSet() const { return m_maxDepthHasBeenSet; }
58 inline void SetMaxDepth(int value) { m_maxDepthHasBeenSet = true; m_maxDepth = value; }
59 inline SelectionCriteria& WithMaxDepth(int value) { SetMaxDepth(value); return *this;}
61
63
68 inline double GetMinStorageBytesPercentage() const { return m_minStorageBytesPercentage; }
69 inline bool MinStorageBytesPercentageHasBeenSet() const { return m_minStorageBytesPercentageHasBeenSet; }
70 inline void SetMinStorageBytesPercentage(double value) { m_minStorageBytesPercentageHasBeenSet = true; m_minStorageBytesPercentage = value; }
73 private:
74
75 Aws::String m_delimiter;
76 bool m_delimiterHasBeenSet = false;
77
78 int m_maxDepth{0};
79 bool m_maxDepthHasBeenSet = false;
80
81 double m_minStorageBytesPercentage{0.0};
82 bool m_minStorageBytesPercentageHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace S3Control
87} // namespace Aws
AWS_S3CONTROL_API SelectionCriteria(const Aws::Utils::Xml::XmlNode &xmlNode)
SelectionCriteria & WithDelimiter(DelimiterT &&value)
AWS_S3CONTROL_API SelectionCriteria & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDelimiter() const
SelectionCriteria & WithMinStorageBytesPercentage(double value)
AWS_S3CONTROL_API SelectionCriteria()=default
SelectionCriteria & WithMaxDepth(int value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String