AWS SDK for C++  1.8.157
AWS SDK for C++
SelectionCriteria.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 
31  {
32  public:
36 
37  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38 
39 
43  inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
44 
48  inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
49 
53  inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
54 
58  inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
59 
63  inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
64 
68  inline SelectionCriteria& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
69 
73  inline SelectionCriteria& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
74 
78  inline SelectionCriteria& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
79 
80 
84  inline int GetMaxDepth() const{ return m_maxDepth; }
85 
89  inline bool MaxDepthHasBeenSet() const { return m_maxDepthHasBeenSet; }
90 
94  inline void SetMaxDepth(int value) { m_maxDepthHasBeenSet = true; m_maxDepth = value; }
95 
99  inline SelectionCriteria& WithMaxDepth(int value) { SetMaxDepth(value); return *this;}
100 
101 
107  inline double GetMinStorageBytesPercentage() const{ return m_minStorageBytesPercentage; }
108 
114  inline bool MinStorageBytesPercentageHasBeenSet() const { return m_minStorageBytesPercentageHasBeenSet; }
115 
121  inline void SetMinStorageBytesPercentage(double value) { m_minStorageBytesPercentageHasBeenSet = true; m_minStorageBytesPercentage = value; }
122 
128  inline SelectionCriteria& WithMinStorageBytesPercentage(double value) { SetMinStorageBytesPercentage(value); return *this;}
129 
130  private:
131 
132  Aws::String m_delimiter;
133  bool m_delimiterHasBeenSet;
134 
135  int m_maxDepth;
136  bool m_maxDepthHasBeenSet;
137 
138  double m_minStorageBytesPercentage;
139  bool m_minStorageBytesPercentageHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace S3Control
144 } // namespace Aws
Aws::S3Control::Model::SelectionCriteria::GetDelimiter
const Aws::String & GetDelimiter() const
Definition: SelectionCriteria.h:43
Aws::S3Control::Model::SelectionCriteria::SetDelimiter
void SetDelimiter(Aws::String &&value)
Definition: SelectionCriteria.h:58
Aws::S3Control::Model::SelectionCriteria::MinStorageBytesPercentageHasBeenSet
bool MinStorageBytesPercentageHasBeenSet() const
Definition: SelectionCriteria.h:114
Aws::S3Control::Model::SelectionCriteria::MaxDepthHasBeenSet
bool MaxDepthHasBeenSet() const
Definition: SelectionCriteria.h:89
Aws::S3Control::Model::SelectionCriteria::GetMinStorageBytesPercentage
double GetMinStorageBytesPercentage() const
Definition: SelectionCriteria.h:107
Aws::S3Control::Model::SelectionCriteria::WithDelimiter
SelectionCriteria & WithDelimiter(Aws::String &&value)
Definition: SelectionCriteria.h:73
S3Control_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::SelectionCriteria::SelectionCriteria
SelectionCriteria()
Aws::S3Control::Model::SelectionCriteria::SetMinStorageBytesPercentage
void SetMinStorageBytesPercentage(double value)
Definition: SelectionCriteria.h:121
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
AWSString.h
Aws::S3Control::Model::SelectionCriteria::SetDelimiter
void SetDelimiter(const Aws::String &value)
Definition: SelectionCriteria.h:53
Aws::S3Control::Model::SelectionCriteria::WithDelimiter
SelectionCriteria & WithDelimiter(const Aws::String &value)
Definition: SelectionCriteria.h:68
Aws::S3Control::Model::SelectionCriteria::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::SelectionCriteria::WithMinStorageBytesPercentage
SelectionCriteria & WithMinStorageBytesPercentage(double value)
Definition: SelectionCriteria.h:128
Aws::S3Control::Model::SelectionCriteria::SelectionCriteria
SelectionCriteria(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::SelectionCriteria::DelimiterHasBeenSet
bool DelimiterHasBeenSet() const
Definition: SelectionCriteria.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::SelectionCriteria::GetMaxDepth
int GetMaxDepth() const
Definition: SelectionCriteria.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::SelectionCriteria::WithMaxDepth
SelectionCriteria & WithMaxDepth(int value)
Definition: SelectionCriteria.h:99
Aws::S3Control::Model::SelectionCriteria::operator=
SelectionCriteria & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::SelectionCriteria::SetDelimiter
void SetDelimiter(const char *value)
Definition: SelectionCriteria.h:63
Aws::S3Control::Model::SelectionCriteria::SetMaxDepth
void SetMaxDepth(int value)
Definition: SelectionCriteria.h:94
Aws::S3Control::Model::SelectionCriteria::WithDelimiter
SelectionCriteria & WithDelimiter(const char *value)
Definition: SelectionCriteria.h:78
Aws::S3Control::Model::SelectionCriteria
Definition: SelectionCriteria.h:31