AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MatchObjectAge.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Xml
14{
15 class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Control
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_S3CONTROL_API MatchObjectAge();
33 AWS_S3CONTROL_API MatchObjectAge(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_S3CONTROL_API MatchObjectAge& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
38
40
45 inline int GetDaysGreaterThan() const{ return m_daysGreaterThan; }
46 inline bool DaysGreaterThanHasBeenSet() const { return m_daysGreaterThanHasBeenSet; }
47 inline void SetDaysGreaterThan(int value) { m_daysGreaterThanHasBeenSet = true; m_daysGreaterThan = value; }
48 inline MatchObjectAge& WithDaysGreaterThan(int value) { SetDaysGreaterThan(value); return *this;}
50
52
56 inline int GetDaysLessThan() const{ return m_daysLessThan; }
57 inline bool DaysLessThanHasBeenSet() const { return m_daysLessThanHasBeenSet; }
58 inline void SetDaysLessThan(int value) { m_daysLessThanHasBeenSet = true; m_daysLessThan = value; }
59 inline MatchObjectAge& WithDaysLessThan(int value) { SetDaysLessThan(value); return *this;}
61 private:
62
63 int m_daysGreaterThan;
64 bool m_daysGreaterThanHasBeenSet = false;
65
66 int m_daysLessThan;
67 bool m_daysLessThanHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace S3Control
72} // namespace Aws
MatchObjectAge & WithDaysGreaterThan(int value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API MatchObjectAge(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API MatchObjectAge & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MatchObjectAge & WithDaysLessThan(int value)