AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
47 inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
48 inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
49 inline SelectionCriteria& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
50 inline SelectionCriteria& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
51 inline SelectionCriteria& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
53
55
58 inline int GetMaxDepth() const{ return m_maxDepth; }
59 inline bool MaxDepthHasBeenSet() const { return m_maxDepthHasBeenSet; }
60 inline void SetMaxDepth(int value) { m_maxDepthHasBeenSet = true; m_maxDepth = value; }
61 inline SelectionCriteria& WithMaxDepth(int value) { SetMaxDepth(value); return *this;}
63
65
70 inline double GetMinStorageBytesPercentage() const{ return m_minStorageBytesPercentage; }
71 inline bool MinStorageBytesPercentageHasBeenSet() const { return m_minStorageBytesPercentageHasBeenSet; }
72 inline void SetMinStorageBytesPercentage(double value) { m_minStorageBytesPercentageHasBeenSet = true; m_minStorageBytesPercentage = value; }
75 private:
76
77 Aws::String m_delimiter;
78 bool m_delimiterHasBeenSet = false;
79
80 int m_maxDepth;
81 bool m_maxDepthHasBeenSet = false;
82
83 double m_minStorageBytesPercentage;
84 bool m_minStorageBytesPercentageHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace S3Control
89} // namespace Aws
SelectionCriteria & WithDelimiter(Aws::String &&value)
SelectionCriteria & WithDelimiter(const Aws::String &value)
AWS_S3CONTROL_API SelectionCriteria(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API SelectionCriteria & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDelimiter() const
SelectionCriteria & WithMinStorageBytesPercentage(double value)
SelectionCriteria & WithMaxDepth(int value)
void SetDelimiter(const Aws::String &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
SelectionCriteria & WithDelimiter(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String