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-crt/S3Crt_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Xml
14{
15 class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Crt
19{
20namespace Model
21{
22
33 {
34 public:
38
39 AWS_S3CRT_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 S3Crt
82} // namespace Aws
NoncurrentVersionExpiration & WithNoncurrentDays(int value)
AWS_S3CRT_API NoncurrentVersionExpiration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API NoncurrentVersionExpiration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
NoncurrentVersionExpiration & WithNewerNoncurrentVersions(int value)