AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NoncurrentVersionExpiration.h
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
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
51 inline int GetNoncurrentDays() const{ return m_noncurrentDays; }
52 inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; }
53 inline void SetNoncurrentDays(int value) { m_noncurrentDaysHasBeenSet = true; m_noncurrentDays = value; }
54 inline NoncurrentVersionExpiration& WithNoncurrentDays(int value) { SetNoncurrentDays(value); return *this;}
56
58
66 inline int GetNewerNoncurrentVersions() const{ return m_newerNoncurrentVersions; }
67 inline bool NewerNoncurrentVersionsHasBeenSet() const { return m_newerNoncurrentVersionsHasBeenSet; }
68 inline void SetNewerNoncurrentVersions(int value) { m_newerNoncurrentVersionsHasBeenSet = true; m_newerNoncurrentVersions = value; }
71 private:
72
73 int m_noncurrentDays;
74 bool m_noncurrentDaysHasBeenSet = false;
75
76 int m_newerNoncurrentVersions;
77 bool m_newerNoncurrentVersionsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace S3
82} // namespace Aws
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