AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
NoncurrentVersionExpiration.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Xml
14{
15 class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3
19{
20namespace Model
21{
22
33 {
34 public:
38
40
41
50 inline int GetNoncurrentDays() const{ return m_noncurrentDays; }
51
60 inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; }
61
70 inline void SetNoncurrentDays(int value) { m_noncurrentDaysHasBeenSet = true; m_noncurrentDays = value; }
71
80 inline NoncurrentVersionExpiration& WithNoncurrentDays(int value) { SetNoncurrentDays(value); return *this;}
81
82
90 inline int GetNewerNoncurrentVersions() const{ return m_newerNoncurrentVersions; }
91
99 inline bool NewerNoncurrentVersionsHasBeenSet() const { return m_newerNoncurrentVersionsHasBeenSet; }
100
108 inline void SetNewerNoncurrentVersions(int value) { m_newerNoncurrentVersionsHasBeenSet = true; m_newerNoncurrentVersions = value; }
109
118
119 private:
120
121 int m_noncurrentDays;
122 bool m_noncurrentDaysHasBeenSet = false;
123
124 int m_newerNoncurrentVersions;
125 bool m_newerNoncurrentVersionsHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace S3
130} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
NoncurrentVersionExpiration & WithNoncurrentDays(int value)
NoncurrentVersionExpiration & WithNewerNoncurrentVersions(int value)
AWS_S3_API NoncurrentVersionExpiration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API NoncurrentVersionExpiration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const